How to find the corresponding edges of the minimun value of an histogram ?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
MMSAAH
am 18 Aug. 2018
Kommentiert: MMSAAH
am 20 Aug. 2018
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.
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 18 Aug. 2018
Try this:
r = randi(5, 40)
histObj = histogram(r)
[minCount, indexOfMin] = min(histObj.Values)
edgesOfMin = histObj.BinEdges([indexOfMin, indexOfMin+1])
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Histograms finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!