How to find the corresponding edges of the minimun value of an histogram ?

3 ビュー (過去 30 日間)
MMSAAH
MMSAAH 2018 年 8 月 18 日
コメント済み: MMSAAH 2018 年 8 月 20 日
Hello,
I've an histogram plot of an image and I want to find the corresponding edges of the minimun value of this histogram. Any idea please ?
Here is my histogram. The histogram minimum value is 1335 and the edge I want to extract are 1.5 and 2.5.
Thanks in advance.

採用された回答

Image Analyst
Image Analyst 2018 年 8 月 18 日
Try this:
r = randi(5, 40)
histObj = histogram(r)
[minCount, indexOfMin] = min(histObj.Values)
edgesOfMin = histObj.BinEdges([indexOfMin, indexOfMin+1])

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeHistograms についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by