how to get processed image at another location than MATLAB figure window

1 次查看(过去 30 天)
I want to store a processed image at another location(hard drive)rather than displaying on MATLAB figure window

回答(2 个)

Daniell Algar
Daniell Algar 2013-2-2

Image Analyst
Image Analyst 2013-2-2
Use fullfile() to create your fullfilename:
fullFileName = fullfile(yourDesiredFolder, yourBaseImageFileName);
Then use imwrite() to write it out:
imwrite(yourImageArray, fullFileName);

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by