Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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.

回答(1 个)

Sean de Wolski
Sean de Wolski 2014-12-16
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!

Translated by