how to calculate entropy of colored image?

41 visualizaciones (últimos 30 días)
sweta arya
sweta arya el 29 de Dic. de 2015
Comentada: Jordan Rashid el 23 de Oct. de 2018
how to calculate entropy of colored image?
  1 comentario
Htet Yamin Ko Ko
Htet Yamin Ko Ko el 2 de En. de 2017
You can calculate entropy for each color channel separately.

Iniciar sesión para comentar.

Respuestas (2)

A. P. B.
A. P. B. el 23 de Jun. de 2017
Editada: A. P. B. el 23 de Jun. de 2017
Assuming input_image is the name of the input. Entropy of each channel can be found using : Entropy_Red_Channel=Entropy(input_image(:,:,1)).
For each channel R,G and B you can calculate them separately. You can calculate entropy for multidimensional image but the function entropy will consider each of them as gray scale not RGB. Finally you can average the per channel entropy.

Jordan Rashid
Jordan Rashid el 6 de Sept. de 2018
Unless you account for the mutual information between channels, the solutions posted here will overestimate the total entropy.
  2 comentarios
Francisca Rey
Francisca Rey el 23 de Oct. de 2018
How can you take into consideration the mutual information between channels?
Jordan Rashid
Jordan Rashid el 23 de Oct. de 2018
https://en.wikipedia.org/wiki/Mutual_information#Relation_to_conditional_and_joint_entropy
The calculations include many more terms as you increase the number of channels.

Iniciar sesión para comentar.

Categorías

Más información sobre Image Processing Toolbox en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by