This is machine translation

Translated by Microsoft


Texture Analysis



entropy Entropy of grayscale image
entropyfilt Local entropy of grayscale image
rangefilt Local range of image
stdfilt Local standard deviation of image
graycomatrix Create gray-level co-occurrence matrix from image
graycoprops Properties of gray-level co-occurrence matrix

Examples and How To

Detect Regions of Texture in Images


Specify Offset Used in GLCM Calculation

By default, the graycomatrix function creates a single GLCM, with the spatial relationship, or offset, defined as two horizontally adjacent pixels.

Derive Statistics from GLCM and Plot Correlation

This example shows how to create a set of GLCMs and derive statistics from them.


Texture Analysis


Texture Analysis Using the Gray-Level Co-Occurrence Matrix (GLCM)

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.

Create a Gray-Level Co-Occurrence Matrix

To create a GLCM, use the graycomatrix function.

Was this topic helpful?