Read and display images all the images from the folder with only single click on a PUSH BUTTON by user
1 view (last 30 days)
Show older comments
Hello ,
I have the following requirement:
i)I need to read image from a folder display it on the axes in MATLAB GUI. ii)Apply some image processing algorithm(Erode the image) and display the eroded image in different axes in the GUI.
The above action has to be performed with only one click on a PUSH BUTTON by the user for all the images in the folder.
Example : I click on a Push_button (Display and Process) in the GUI.Once i do this my program has to read the first image from the specified path (c:\Stored Images) and display the image on the axes. After this i apply some image processing algorithm and erode the image. The eroded image has to be displayed in the axes. After completion of this the same steps have to be followed for the other images in the folder.I need it to work like a loop.
Please let me the solution for my requirement.
Looking forward to hear from you at the earliest
Thanks Pankaja
1 Comment
B.k Sumedha
on 4 Jul 2015
Did you try anything? Just posting questions without trying anything is waste of time for both of us.:(
Answers (1)
Image Analyst
on 4 Jul 2015
See this framework to make batch processing images easy: http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component
Otherwise if you want to build the batch processing code yourself, see the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F
0 Comments
See Also
Categories
Find more on Startup and Shutdown 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!