フィルターのクリア

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 Center および File ExchangeHistograms についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by