Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
please help me i need it immedaitely

Akzeptierte Antwort

Image Analyst
Image Analyst am 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.

Weitere Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by