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 CenterFile Exchange에서 Image Processing Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by