how to calculate entropy of colored image?

42 次查看(过去 30 天)
how to calculate entropy of colored image?

回答(2 个)

A. P. B.
A. P. B. 2017-6-23
编辑:A. P. B. 2017-6-23
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 2018-9-6
Unless you account for the mutual information between channels, the solutions posted here will overestimate the total entropy.
  2 个评论
Francisca Rey
Francisca Rey 2018-10-23
How can you take into consideration the mutual information between channels?
Jordan Rashid
Jordan Rashid 2018-10-23
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Image Processing Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by