Unsupervised evaluation of image segmentation
Show older comments
Good evening, do you can give me a program that the evaluation of unsupervised image segmentation (region)? THANK YOU GREETING
Accepted Answer
More Answers (1)
Image Analyst
on 17 Aug 2011
1 vote
Often this is done by constructing an ROC Curve. ROC means "Receiver Operating Characteristic" http://en.wikipedia.org/wiki/Receiver_operating_characteristic. Basically it's the plot of the true positive rate against the false positive rate. If you have various segmentation algorithms that you want to evaluate, you need to know the "ground truth" - in other words the "right" answer or what a perfect segmentation would give. This could simply be your expert opinion as to what's right. Then you see how many pixels the algorithms got right and how many they got wrong and plot them. This will let you evaluate/compare the different algorithms you used to do your segmentation. Do some internet research for more info on ROC curves. There are ROC files in the File Exchange http://www.mathworks.com/matlabcentral/fileexchange/?term=ROC
14 Comments
hamaimi sarah
on 29 Aug 2011
Walter Roberson
on 29 Aug 2011
Everything from the line "function" onwards must be moved to a file named Inter_LN.m and then deleted from your original file. That will solve the problem about "function definitions not permitted in this context".
Image Analyst
on 30 Aug 2011
I didn't follow the code exactly (my French being somewhat weak) but it looks like it computes some kind of normalized count of the number of correct or incorrect pixel classifications. This could work for one image but to evaluate your algorithm over multiple images you should still do an ROC analysis.
hamaimi sarah
on 6 Sep 2011
Walter Roberson
on 6 Sep 2011
Sorry, explaining a program line by line takes a lot of time anyhow, and as you are obviously a beginning MATLAB user, explaining the program line by line would involve having to write tutorials about how each of the MATLAB features work.
If you look at the comments, you will find a reference to a specific paper in Journal on Applied Signal Processing. Please read that paper; please also read through the MATLAB "Getting Started" documentation.
hamaimi sarah
on 7 Sep 2011
Walter Roberson
on 7 Sep 2011
All of those commands are well described in the documentation, except that the reason why one would want to use im2double() is usually not obvious to beginners. That one is a bit drawn out to describe the reasoning for.
hamaimi sarah
on 7 Sep 2011
Walter Roberson
on 7 Sep 2011
Based upon the information you have provided so far, your existing code
Imdep= imread('imdep.bmp');
i=im2double(Imdep);
figure(1),imshow(i);
Imseg= imread('imseg.bmp');
i2=im2double(Imseg);
figure(2),imshow(i2);
*is* the GUI for the program.
Perhaps it would help to be more descriptive of what you are looking for.
hamaimi sarah
on 7 Sep 2011
Walter Roberson
on 7 Sep 2011
What does the GUI need to do?
For example:
"The GUI should have a single black button in the center on an all-black screen, and on the button there should be big black letters that say 'Please do not push this'. And if the button is ever pushed, the screen should light up black on black, with the message, 'I asked you not to push this!'"
hamaimi sarah
on 8 Sep 2011
hamaimi sarah
on 8 Sep 2011
Walter Roberson
on 8 Sep 2011
In general terms, the program you gave the code for reads in two images and displays them on the screen, and then stops.
I not understand the Levine and Nazif reference. Are you now asking that someone give you an overview of how a different program works? If so then you would need to post the code or a link to it.
If you are hoping for an explanation of the theory behind a published paper, then that is something you should probably talk about with a professor, or at least raise the matter in a forum dedicated to image processing theory. This forum is dedicated to answering questions about MATLAB.
Categories
Find more on Contrast Adjustment 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!