フィルターのクリア

How to call the images in pushbutton2 ?

1 回表示 (過去 30 日間)
Sara
Sara 2017 年 4 月 30 日
コメント済み: Sara 2017 年 5 月 1 日
Hi. i want to ask,lets say i have 10 images in folder. i want to set at pushbutton1, first load image1 . at pushbutton2 i want to process(my coding) the image1 that i load . pushbutton3 , i set reset. so then after finished the process, i reset and want to load image 2 also at pushbutton1 . how can i call the process of the images 2 ,3 and so on at pushbutton2 ?

採用された回答

Image Analyst
Image Analyst 2017 年 4 月 30 日
Why not just read it in and process it all in one button press? Otherwise you'll have to follow the methods in the FAQ if you want to do your more cumbersome, user-unfriendly method: http://matlab.wikia.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
  3 件のコメント
Image Analyst
Image Analyst 2017 年 4 月 30 日
Why not use MAGIC? http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component Simply put all your code into the AnalyzeSingleImage function.
Otherwise, just don't have pushbuttons 2 and 3 and take all the code from those buttons' callback functions and transfer them to the callback of pushbutton 1.
Sara
Sara 2017 年 5 月 1 日
thanks for helping me :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInteractive Control and Callbacks についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by