Hi,I'm doing my project about image processing, using the co-occurrence matrix but I don't know the algorithm of the co-occurrence(glcm) matrix can any one help me to get this algorithm and to get results like this. thank you a lot
Show older comments
Answers (2)
Walter Roberson
on 26 Apr 2016
0 votes
Image Analyst
on 27 Apr 2016
0 votes
It basically tells you how often each gray level occurs next to each of the other gray levels.
8 Comments
rouh 238
on 28 Apr 2016
Edited: Walter Roberson
on 28 Apr 2016
Walter Roberson
on 28 Apr 2016
If you are getting an error message, you need to post it.
If the values are not useful for your purpose, then it could be that you need to pass different Offset or different options.
rouh 238
on 28 Apr 2016
Edited: Walter Roberson
on 28 Apr 2016
Walter Roberson
on 28 Apr 2016
It is not obvious that that calculation has anything to do with glcm .
What is class(m1), class(data{K}) ?
rouh 238
on 28 Apr 2016
Edited: Walter Roberson
on 28 Apr 2016
Walter Roberson
on 28 Apr 2016
You do not show any definition for m1, but whatever it is, it is not changing with the results of glcm .
We cannot tell from your code what class(m1) or class(storedStructure.t) are.
rouh 238
on 28 Apr 2016
Edited: Walter Roberson
on 28 Apr 2016
rouh 238
on 28 Apr 2016
Edited: Walter Roberson
on 28 Apr 2016
Categories
Find more on Installing Products 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!