how to find the local maxima and minima of histogram for color image
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
venmal devi
le 18 Jan 2016
Commenté : Walter Roberson
le 15 Fév 2016
please help me i need it immedaitely
2 commentaires
John D'Errico
le 18 Jan 2016
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.
Réponse acceptée
Image Analyst
le 18 Jan 2016
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 commentaires
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!