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

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

Answers (2)

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

Categories

Asked:

on 2 Feb 2013

Community Treasure Hunt

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

Start Hunting!