필터 지우기
필터 지우기

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 CenterFile Exchange에서 Images에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by