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

Réponses (2)

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

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by