GLCM image segmentation

2 views (last 30 days)
warinthorn Kiadti
warinthorn Kiadti on 2 Apr 2012
Answered: Sofiane Sofiane on 9 Feb 2014
I learn to use GLCM for image segmentation. If I have this image http://i43.tinypic.com/anzrmc.jpg and I want to separate between grass and sand. How can I use GLCM value and separate. What is the code look like? Please show me how to write the code. Please help.
Warin

Answers (1)

Sofiane Sofiane
Sofiane Sofiane on 9 Feb 2014
i think u must divide the image of each texture serparetly divide the image in blocks windows [8x8] and make some learning in order to classy the texture do you wnat. also, the glcm depend on some factors:
distance D angle = 0° 45° 90° 135° (offset in matlab) and radius equal to 0 or 1 qunatization level (Numlevel in matlab)
i hope my answer can help you. good luck

Community Treasure Hunt

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

Start Hunting!