how to calculate entropy of colored image?

조회 수: 43 (최근 30일)
sweta arya
sweta arya 2015년 12월 29일
댓글: Jordan Rashid 2018년 10월 23일
how to calculate entropy of colored image?
  댓글 수: 1
Htet Yamin Ko Ko
Htet Yamin Ko Ko 2017년 1월 2일
You can calculate entropy for each color channel separately.

댓글을 달려면 로그인하십시오.

답변 (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