How to calculate entropy for 1D?

5 vues (au cours des 30 derniers jours)
nur aqila
nur aqila le 20 Avr 2018
Commenté : nur aqila le 20 Avr 2018
Hi, I have 1D data which I got after encoding an image, the data only have value 0 and 1. How can I calculate the entropy of the resulted 1D data? please help me

Réponses (1)

KALYAN ACHARJYA
KALYAN ACHARJYA le 20 Avr 2018
Modifié(e) : KALYAN ACHARJYA le 20 Avr 2018
 % Not for logical data
% Entropy calculation is only for gray or other formats
en=entropy(I);
  1 commentaire
nur aqila
nur aqila le 20 Avr 2018
is that means it is impossible for me to calculate entropy for my data ?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Image Segmentation and Analysis 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