Borrar filtros
Borrar filtros

How to get the value fo the two peaks of a histogram

2 visualizaciones (últimos 30 días)
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

Respuesta aceptada

Image Analyst
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
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.
Twilighter
Twilighter el 1 de Ag. de 2012
Maybe my lack of knowledge to some concepts, I thank you Image Analyst & I'm testing the solutions you gave to me

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by