How the Peak value of the image histogram can be obtaind?
1 view (last 30 days)
Show older comments
How the Peak value of the image histogram can be obtaind?
0 Comments
Accepted Answer
Image Analyst
on 27 May 2014
[pixelCounts, grayLevels] = imhist(grayImage);
[maxCount, indexOfMax] = max(pixelCounts);
grayLevelAtMax = grayLevels(indexOfMax);
0 Comments
More Answers (0)
See Also
Categories
Find more on Histograms in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!