how to calculate the entropy of an image?
1 view (last 30 days)
Show older comments
Sometimes the result that I get is 0 and it is impossible. Is there any code for doing it? with the code entropy() the result is 0
Accepted Answer
Image Analyst
on 19 Oct 2017
Post your image where you get zero. If it's a uint8 image, try casting to double() before sending it into entropy().
0 Comments
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!