Introduction - If you have any usage issues, please Google them yourself
A statistical method of examining texture that considers the spatial relationship of
pixels is the gray-level co-occurrence matrix (GLCM), also known as the gray-level
spatial dependence matrix. The GLCM functions characterize the texture of an image
by calculating how often pairs of pixel with specific values and in a specified spatial
relationship occur in an image, creating a GLCM, and then extracting statistical
measures from this matrix.