フィルターのクリア

how to calculate the entropy of an image?

1 回表示 (過去 30 日間)
Collegue
Collegue 2017 年 10 月 19 日
回答済み: Image Analyst 2017 年 10 月 19 日
Sometimes the result that I get is 0 and it is impossible. Is there any code for doing it? with the code entropy() the result is 0
  1 件のコメント
Rik
Rik 2017 年 10 月 19 日
編集済み: Rik 2017 年 10 月 19 日
A first search on the FEX turned up this entry, and you can check out this entry as well.

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

採用された回答

Image Analyst
Image Analyst 2017 年 10 月 19 日
Post your image where you get zero. If it's a uint8 image, try casting to double() before sending it into entropy().

その他の回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by