필터 지우기
필터 지우기

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

조회 수: 2 (최근 30일)
Laura Providência
Laura Providência 2020년 11월 17일
답변: Rohit Pappu 2020년 11월 24일
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

채택된 답변

Rohit Pappu
Rohit Pappu 2020년 11월 24일
To find the local maxima for the given histogram, FPEAK can be used.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Histograms에 대해 자세히 알아보기

제품


릴리스

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by