Borrar filtros
Borrar filtros

How to find the gray level of local maxima in an image histogram?

2 visualizaciones (últimos 30 días)
I have several images with an histogram similar to the one I attatched, and I need to know the gray level corresponding to the local maxima. I've tried findpeaks() but it won't work because there are a lot of bins with 0 counts so it is always finding local maxima. I've tried to remove the 0's but then I don't know the original position of the value and I can't find the corresponding gray level

Respuesta aceptada

Rohit Pappu
Rohit Pappu el 24 de Nov. de 2020
To find the local maxima for the given histogram, FPEAK can be used.

Más respuestas (0)

Categorías

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

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by