how to generate image pixel value in notepad
显示 更早的评论
回答(2 个)
G PRAKASH
2013-12-13
0 个投票
use dlmwrite command
I=imread('rice.png'); dlmwrite('data.txt',I)
Image Analyst
2013-12-13
0 个投票
You can use fprintf() to print any array to a text file. See example in the help.
类别
在 帮助中心 和 File Exchange 中查找有关 Images 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!