GLCM Entropy Feature Calculation
显示 更早的评论
This is my Entropy calculation from glcm matrix

but the result is

the entropy formula i used here is correct ?
采纳的回答
更多回答(1 个)
Luis Frauca Trasobares
2024-3-4
0 个投票
If you have your GLCM matrix correct ( you can use graycomatrix), next step is to normalized that matrix, and after that you can do your calculus or formula-code that you showed here.
Also take care of the 0 values because if you put them in the log it will be problematic (add eps to the log to solve this or control your grey levels without zero level, for example).
类别
在 帮助中心 和 File Exchange 中查找有关 Texture Analysis 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
