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

Answers (1)

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

Asked:

on 1 Oct 2012

Community Treasure Hunt

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

Start Hunting!