Effacer les filtres
Effacer les filtres

how to calculate the entropy of an image?

1 vue (au cours des 30 derniers jours)
Collegue
Collegue le 19 Oct 2017
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 commentaire
Rik
Rik le 19 Oct 2017
Modifié(e) : Rik le 19 Oct 2017
A first search on the FEX turned up this entry, and you can check out this entry as well.

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Images dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by