フィルターのクリア

to calculate histogram features

1 回表示 (過去 30 日間)
Elysi Cochin
Elysi Cochin 2013 年 2 月 6 日
to calculate histogram features using the equation in the following link,.....
will it work if i use imhist function..... but how to implement the summation with the values i....... please do reply....

採用された回答

Walter Roberson
Walter Roberson 2013 年 2 月 6 日
Yes, you could use imhist(), but remember you need to break the image up into MxM blocks, and imhist() is a more expensive calculation than hist() or histc() is.
  5 件のコメント
Walter Roberson
Walter Roberson 2013 年 2 月 6 日
"where histo(i) is the value of the histogram with the intensity i"
so you need to be concerned with the output that reflects histogram values, not histogram intensities.
I think that "H = arg i max(histo(i))" is intended to mean that H is the "i" such that histo(i) is the maximum -- that is, the index of the maximum intensity.
And you still need to think more about what bin centers or edges you are going to pass in to the histogram routine you choose.
Elysi Cochin
Elysi Cochin 2013 年 2 月 6 日
sir please could you show me how to write the code for what u explained above for a image as a whole..... please reply sir....

サインインしてコメントする。

その他の回答 (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