Clear Filters
Clear Filters

How to find all peaks values in a histogram ??

7 views (last 30 days)
Dear all,
I would like to know how to get all peaks values in a histogram of a gray scale image.
Thank you

Accepted Answer

Image Analyst
Image Analyst on 5 Jun 2011
Edited: John Kelly on 27 May 2014
Call imhist(), then, if you have the signal processing toolbox, use findpeaks
Or, if you don't, here's a method: http://billauer.co.il/peakdet.html
or you can search the File Exchange for peak finding algorithms.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!