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

12 次查看(过去 30 天)
how to store image read values using command 'imread'?

回答(1 个)

Image Analyst
Image Analyst 2012-10-1
编辑:Image Analyst 2012-10-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);

类别

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