Info

This question is closed. Reopen it to edit or answer.

How to design an algorithm to find the peaks of the histogram and implement it in MATLAB???

1 view (last 30 days)
Dear all,
I would like to know how to could I design an algorithm to find the peaks of the histogram and implement it in MATLAB ??
The histogram of an image of gray levels is provided with the following :
Gray level 1 Gray level 2 Gray level 3 Gray level n
Value 1 Value 2 Value 3 Value n
Where "Value k" indicates the number of pixels having gray level k. You are supposed to determine the peaks of this histogram. However, the local maxima due to minor differences in the number of pixels should not be considered.
please help me
Thank you.

Answers (1)

Sean de Wolski
Sean de Wolski on 16 Dec 2014
doc findpeaks
doc histogram
doc imhist

Community Treasure Hunt

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

Start Hunting!