Borrar filtros
Borrar filtros

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

3 visualizaciones (últimos 30 días)
ATHIRA
ATHIRA el 27 de Mayo de 2014
Respondida: Image Analyst el 27 de Mayo de 2014
How the Peak value of the image histogram can be obtaind?

Respuesta aceptada

Image Analyst
Image Analyst el 27 de Mayo de 2014
[pixelCounts, grayLevels] = imhist(grayImage);
[maxCount, indexOfMax] = max(pixelCounts);
grayLevelAtMax = grayLevels(indexOfMax);

Más respuestas (0)

Categorías

Más información sobre Histograms en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by