How to calculate five features in Gray Level Difference Method?

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

回答 (1 件)

Image Analyst
Image Analyst 2021 年 10 月 29 日

0 投票

I thiink you mean GLCM. So look at graycomatrix() or graycoprops(). See attached demo.

7 件のコメント

Nilna Almumtazah
Nilna Almumtazah 2021 年 10 月 29 日
No, I mean GLDM (gray level difference method), not GLCM (gray level co-occurrence matrix). If GLCM, I know I can use these two syntaxes but can GLDM also use these syntaxes?
Image Analyst
Image Analyst 2021 年 10 月 29 日
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
Nilna Almumtazah 2021 年 10 月 30 日
Thank you for your response, I hope someone has experienced a similar case and can provide the information I need
Image Analyst
Image Analyst 2021 年 10 月 30 日
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
Nilna Almumtazah 2021 年 10 月 30 日
I've tried twice to contact the author, the first time before I posted this question. But still no response
Image Analyst
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.
Nilna Almumtazah
Nilna Almumtazah 2021 年 10 月 30 日
Ok, thank you very much for the advice, because it's my first time so I didn't think about it

サインインしてコメントする。

質問済み:

2021 年 10 月 28 日

コメント済み:

2021 年 10 月 30 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by