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

1 vue (au cours des 30 derniers jours)
Niraj Rajput
Niraj Rajput le 2 Fév 2013
I want to store a processed image at another location(hard drive)rather than displaying on MATLAB figure window

Réponses (2)

Daniell Algar
Daniell Algar le 2 Fév 2013

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

Catégories

En savoir plus sur Image Processing Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by