saveas doesn't wait until imcontrast is finished
11 ビュー (過去 30 日間)
古いコメントを表示
Harald von der Osten
2020 年 10 月 5 日
コメント済み: Harald von der Osten
2020 年 10 月 5 日
I would like to save the output of imcontrast using saveas like:
imcontrast(gg)
saveas(gcf,'Result.jpg')
but "saveas" doesn't wait until imcontrast is finished, so it saves the original version of image gg. Okay, when imcontast is finished I can use saveas "by hand", but I would like to prefer to do this in this code. Is there any possibilty to do this without using for example
pause(10);
? And how can I save the parameters used in imcontrast?
Thanks a lot
0 件のコメント
採用された回答
Stephen23
2020 年 10 月 5 日
h = imcontrast(gg);
waitfor(h)
Simply close the tool when you are finished, the code will then continue executing.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Get Started with MATLAB についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!