how to find the local maxima and minima of histogram for color image

2 次查看(过去 30 天)
please help me i need it immedaitely

采纳的回答

Image Analyst
Image Analyst 2016-1-18
Like we said in your duplicate question from last month, use findpeaks() in the Signal Processing Toolbox
[peakValues, peakIndexes] = findpeaks(counts);
[~, valleyIndexes] = findpeaks(-counts);
valleyValues = counts(valleyIndexes);
just do that for each histogram from each color channel.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by