How to calculate five features in Gray Level Difference Method?
Show older comments
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 .
Answers (1)
Image Analyst
on 29 Oct 2021
0 votes
I thiink you mean GLCM. So look at graycomatrix() or graycoprops(). See attached demo.
7 Comments
Nilna Almumtazah
on 29 Oct 2021
Image Analyst
on 29 Oct 2021
I don't know that guy's method (published just this year). You'll have to contact him about his File Exchange submission. Most likely, no one here has downloaded it and run it other than you.
Nilna Almumtazah
on 30 Oct 2021
Image Analyst
on 30 Oct 2021
That someone would be the person who wrote the paper and uploaded code for it. So, how many ways did you try to contact him? More than just one I would think. Is he totally ignoring you? Can you contact someone else in his department? Or did you just give up? Because it's likely no one else here that sees your post will have run that code.
Nilna Almumtazah
on 30 Oct 2021
Image Analyst
on 30 Oct 2021
Edited: Image Analyst
on 30 Oct 2021
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.
Nilna Almumtazah
on 30 Oct 2021
Categories
Find more on Texture Analysis in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!