How the Peak value of the image histogram can be obtaind?

1 visualizzazione (ultimi 30 giorni)
How the Peak value of the image histogram can be obtaind?

Risposta accettata

Image Analyst
Image Analyst il 27 Mag 2014
[pixelCounts, grayLevels] = imhist(grayImage);
[maxCount, indexOfMax] = max(pixelCounts);
grayLevelAtMax = grayLevels(indexOfMax);

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by