How to save an image using a push button on MATLAB gui
5 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I have just started working with MATLAB GUI. I can open an image, process the image but unable to save the image to a destination folder.
Any help will be appreciated.
0 件のコメント
採用された回答
Walter Roberson
2015 年 8 月 26 日
[filename, foldername] = uiputfile('Where do you want the file saved?');
complete_name = fullfile(foldername, filename);
imwrite(TheArray, complete_name);
6 件のコメント
Image Analyst
2017 年 3 月 19 日
They are returned from uiputfile() - it's whatever the user chose. You can also use imsave() instead of uiputfile().
Walter Roberson
2017 年 3 月 19 日
In other words they are not constants, they are values returned by the uigetfile routine according what the user chooses.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Image Processing Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!