Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
ATHIRA
ATHIRA am 27 Mai 2014
Beantwortet: Image Analyst am 27 Mai 2014
How the Peak value of the image histogram can be obtaind?

Akzeptierte Antwort

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

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by