how to detect the widest peak of a histogram?
3 views (last 30 days)
Show older comments
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 Comment
Amith Kamath
on 20 May 2013
could you elaborate on 'center of the widest peak'? It is always helpful to know what you have already tried as well.
Answers (1)
Image Analyst
on 21 May 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
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!