how to detect the widest peak of a histogram?
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
Amith Kamath
2013-5-20
could you elaborate on 'center of the widest peak'? It is always helpful to know what you have already tried as well.
回答(1 个)
Image Analyst
2013-5-21
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!