How to find the gray level of local maxima in an image histogram?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Laura Providência
le 17 Nov 2020
Réponse apportée : Rohit Pappu
le 24 Nov 2020
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
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/417483/image.png)
0 commentaires
Réponse acceptée
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Histograms dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!