how to calculate the entropy of an image?
3 views (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
Categories
Find more on Image Segmentation and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!