How to get the value fo the two peaks of a histogram
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuesta aceptada
Image Analyst
el 19 de Jul. de 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 comentarios
Image Analyst
el 21 de Jul. de 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.
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Image Processing Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!