Azzera filtri
Azzera filtri

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

3 visualizzazioni (ultimi 30 giorni)
please help me i need it immedaitely

Risposta accettata

Image Analyst
Image Analyst il 18 Gen 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.

Più risposte (0)

Categorie

Scopri di più su Image Processing Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by