Determine min & max intensity value from histogram.
1 回表示 (過去 30 日間)
古いコメントを表示
How do you determine the minimum and maximum intensity value from looking at the histogram?
0 件のコメント
回答 (1 件)
Walter Roberson
2012 年 10 月 15 日
The minimum intensity value is somewhere in the range covered by the first bin with a non-zero count. The maximum intensity value is somewhere in the range covered by the last bin with a non-zero count. You cannot determine the precise values unless your inputs were quantized and your bins hold only a single quantum (e.g., distinct integers.)
2 件のコメント
Image Analyst
2012 年 10 月 15 日
[counts binValues] = hist(yourArray, numberOfBins);
minBinValue = find(counts>0, 1, 'first');
maxBinValue = find(counts>0, 1, 'last');
参考
カテゴリ
Help Center および File Exchange で Histograms についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!