How can i analyse all images from folder by using GUI?

1 view (last 30 days)
Code i wrote so far: directory_name = uigetdir('c:\data\', 'Please select the directory') for i = 1 : length(directory_name) filename = directory_name(i); I = imread(filename); Intensity = mean(I(:)); xlswrite('views.xls', Intensity, '730', sprintf('C%d',i)) end

Accepted Answer

Image Analyst
Image Analyst on 22 Jul 2014
Uh, that's not a GUI. You want something like this: http://www.mathworks.com/matlabcentral/fileexchange/24224-magic-matlab-generic-imaging-component. It's a framework where all the messy details are handled for you, like selecting folder, displaying an image you clicked on in a listbox, etc.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!