how to calculate the entropy of an image?
1 次查看(过去 30 天)
显示 更早的评论
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
采纳的回答
Image Analyst
2017-10-19
Post your image where you get zero. If it's a uint8 image, try casting to double() before sending it into entropy().
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!