How to calculate five features in Gray Level Difference Method?
12 次查看(过去 30 天)
显示 更早的评论
Does anyone know how to calculate five features in GLDM (contrast, angular second moment, entropy, inverse difference moment, and mean)? I found the GLDM function, but I don't know how to calculate its features because it results in 4 PDF (Probability Density Function), and I think it's based on four directions. I will be appreciated if someone guides me. Thank you
This is a link to the GLDM code https://in.mathworks.com/matlabcentral/fileexchange/25057-texture-feature-extraction-gldm .
0 个评论
回答(1 个)
Image Analyst
2021-10-29
I thiink you mean GLCM. So look at graycomatrix() or graycoprops(). See attached demo.
7 个评论
Image Analyst
2021-10-30
编辑:Image Analyst
2021-10-30
I did not see anything posted by you on the discussions tab for that File Exchange entry. Why not? So did you just try the "Contact" link to send an email to him? If that didn't work I think you need to be more assiduous in contacting him. For example did you find his organization/university from the paper and go to the university web site and find his faculty page and get his phone number and call him? If that didn't work, call the department and have them leave a message with him - an actual paper on his desk. If you want something, these are the kinds of things you need to do. Just don't give up if one method fails -- there are other methods. He wants to know people are enjoying the code he uploaded and expects people to contact him. Don't give up.
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!