what is the tolerance factor of entropy function used in matlab program to find entropy of image?

2 views (last 30 days)
e = entropy(I) , which calculates the entropy of the image in matlab. What is the tolerance factor used in this function, and is there any way to varry it?
  1 Comment
Abhishek Kolla
Abhishek Kolla on 3 Nov 2021
Entropy is calculated using the formula -sum(p.*log2(p)) where p contains the normalised histogram counts taken from the input image. There is no tolerance factor involved in this calculation

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by