Read and display images all the images from the folder with only single click on a PUSH BUTTON by user
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
B.k Sumedha
2015-7-4
Did you try anything? Just posting questions without trying anything is waste of time for both of us.:(
回答(1 个)
Image Analyst
2015-7-4
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!