how to store image read values using command 'imread'?

12 views (last 30 days)
how to store image read values using command 'imread'?

Answers (1)

Image Analyst
Image Analyst on 1 Oct 2012
Edited: Image Analyst on 1 Oct 2012
You don't. You use imwrite(). See the help.
% Create an image
imageArray = randi(255, [256 256]);
% Or read one in from disk
imageArray = imread('moon.tif');
% Store it in a file.
imwrite(imageArray, filename);

Categories

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

Community Treasure Hunt

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

Start Hunting!