MATLAB Implementation for Computing Gray-Level Co-occurrence Matrix (GLCM)
- Login to Download
- 1 Credits
Resource Overview
A MATLAB program for calculating Gray-Level Co-occurrence Matrix (GLCM) with eight-dimensional texture feature extraction, referenced from "Image Retrieval Based on Color Space and Texture Features." This implementation processes input image data and returns an 8D texture feature row vector suitable for image analysis and retrieval systems.
Detailed Documentation
This MATLAB program computes the Gray-Level Co-occurrence Matrix (GLCM) for texture analysis, implementing algorithms referenced from the technical publication "Image Retrieval Based on Color Space and Texture Features." The core functionality involves calculating GLCM for multiple orientations (typically 0°, 45°, 90°, 135°) using specified pixel pair distances, then extracting statistical features including contrast, correlation, energy, and homogeneity. Key functions utilized include graycomatrix() for matrix generation and graycoprops() for feature calculation. Upon receiving input image data, the program returns an eight-dimensional texture feature row vector containing: 1) Contrast, 2) Correlation, 3) Energy, 4) Homogeneity, with each metric calculated for both horizontal and vertical directions. This implementation enables effective texture-based analysis and comparison for image retrieval applications, supporting parameters customization for distance and orientation settings through modifiable input arguments.
- Login to Download
- 1 Credits