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

1 view (last 30 days)
I want to store a processed image at another location(hard drive)rather than displaying on MATLAB figure window

Answers (2)

Daniell Algar
Daniell Algar on 2 Feb 2013
doc imrwrite

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

Categories

Find more on Image Processing Toolbox 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!