Unsupervised evaluation of image segmentation
显示 更早的评论
Good evening, do you can give me a program that the evaluation of unsupervised image segmentation (region)? THANK YOU GREETING
采纳的回答
更多回答(1 个)
Image Analyst
2011-8-17
1 个投票
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 个评论
hamaimi sarah
2011-8-29
Walter Roberson
2011-8-29
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
2011-8-30
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
2011-9-6
Walter Roberson
2011-9-6
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
2011-9-7
Walter Roberson
2011-9-7
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
2011-9-7
Walter Roberson
2011-9-7
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
2011-9-7
Walter Roberson
2011-9-7
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
2011-9-8
hamaimi sarah
2011-9-8
Walter Roberson
2011-9-8
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Contrast Adjustment 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!