how to generate image pixel value in notepad

2 views (last 30 days)
how to generate image pixel value in notepad

Answers (2)

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

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

Categories

Find more on Convert Image Type in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!