Image Analysis from GUI with menu, listbox and pushbutton
1 view (last 30 days)
Show older comments
Muhammad Abir
on 3 Aug 2018
Edited: Walter Roberson
on 4 Aug 2018
Hello,
I would like to create a mainGUI which will have a menu bar and a listbox. I want to perform as follows: Step 1: Open Image from the menu 'Open Image' option. The listbox will show 'Image imported'.
Step 2: 'Median Filtering' from the menu: When 'Median Filter' is clicked, a subGUI for median filtering will pop up for filtering window options. Then I select my suitable filter size. Once 'Done' is clicked on the subGUI of the median filtering, the median filtering option will perform and then the listbox of the mainGUI will show the name of my process as 'Median Filter' with window size (that I selected from subGUI) displayed next to it.
A 'Delete' pushbutton on the bottom of the listbox to delete the 'median filter" if user wants to delete the median filtering. If I select'median filter' from the listbox and click 'Delete' pushbutton, then the median filtering step will be deleted and the image will go back to step 1.
Step 3: I also want to save all the steps that I performed as a text file so in future if I load that text file, I can run the steps that I perform previously. Also, I want to save a log file of all the steps including the values I have chosen.
Thanks in advance
1 Comment
Rik
on 3 Aug 2018
What have you tried so far?
Have a read here (or here for more general advice) and here. It will greatly improve your chances of getting an answer.
Accepted Answer
Muhammad Abir
on 4 Aug 2018
Edited: Walter Roberson
on 4 Aug 2018
1 Comment
Image Analyst
on 4 Aug 2018
Well not right out of the box it won't. You have to adapt it of course, but it will give you a good start.
More Answers (2)
Image Analyst
on 3 Aug 2018
0 Comments
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!