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

3 次查看(过去 30 天)
How the Peak value of the image histogram can be obtaind?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Histograms 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by