how to generate image pixel value in notepad

2 次查看(过去 30 天)
how to generate image pixel value in notepad

回答(2 个)

G PRAKASH
G PRAKASH 2013-12-13
use dlmwrite command
I=imread('rice.png'); dlmwrite('data.txt',I)

Image Analyst
Image Analyst 2013-12-13
You can use fprintf() to print any array to a text file. See example in the help.

类别

Help CenterFile Exchange 中查找有关 Convert Image Type 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by