how to find the local maxima and minima of histogram for color image
2 次查看(过去 30 天)
显示 更早的评论
please help me i need it immedaitely
2 个评论
John D'Errico
2016-1-18
Don't post the same question multiple times every time you want to add some information. Posting multiple times will not get you a faster or better answer.
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Processing Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!