Filter löschen
Filter löschen

how to detect the widest peak of a histogram?

3 Ansichten (letzte 30 Tage)
neda
neda am 20 Mai 2013
dear all, I have a histogram of an image that for detecting a certain point in that image I need to detect the center of the widest peak of this histogram.Can anyone help about this issue?
  1 Kommentar
Amith Kamath
Amith Kamath am 20 Mai 2013
could you elaborate on 'center of the widest peak'? It is always helpful to know what you have already tried as well.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 21 Mai 2013
The definition of a "peak" is not so straightforward, especially when you have noise. Does that little noise peak on the shoulder of a bigger peak mean that that hump is now actually two peaks instead of one big one with a little bit of noise?
Do you have the Signal Processing Toolbox? If so play around with findpeaks(). Or else search the File Exchange - there are several peak detectors in there I believe.
Feel free to post your image or a screenshot of your histogram if you think that would help us help you. You can post here http://snag.gy

Community Treasure Hunt

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

Start Hunting!

Translated by