How to get the value fo the two peaks of a histogram
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How to get the value of the two peaks of a histogram
I have a program which do some calculations on an image by getting the membership value of pixels using fuzzy logic
this is not the part I'm asking about
the program is calculating this between (what it said ) the two peaks after getting the Image histogram
and for the cameraman Image it concidered the two peaks are 20 & 160 from the look at the histogram it seems that it's the value of the two obvious peaks there
what i need to know is how to get the two peaks using matlab ??
the two peaks of a Histogram ? if my interpretation is correct
0 Commenti
Risposta accettata
Image Analyst
il 19 Lug 2012
Look here http://fiji.sc/wiki/index.php/Auto_Threshold for a wide variety of autothresholding methods. There is no one single method that will be best for any and all types of histograms, that's why there are so many. Pick the one that works best for your types of images.
7 Commenti
Image Analyst
il 21 Lug 2012
Well when I referred you to a bunch of auto threshold routines that you could try (to pick a value of p automatically), you acted like I didn't understand you because I was directing you to autothresholding methods when you really wanted the location of the peaks. So I gave you code to find the peaks, assuming you already had a thresholding method. So now I've given you both, but I'm still not sure why neither of those meets your needs.
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!