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

1 回表示 (過去 30 日間)
Niraj Rajput
Niraj Rajput 2013 年 2 月 2 日
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 Center および File ExchangeImage Processing Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by