Overview
The Gray Level Dependence Matrix (GLDM) quantifies the spatial dependence of gray levels in medical images by measuring how many neighboring voxels share similar intensity values. This texture analysis method provides powerful descriptors of local homogeneity and heterogeneity patterns that are essential for radiomics feature extraction.
GLDM features capture fine-to-coarse texture patterns by analyzing the size of connected regions with similar intensity values. These features are particularly effective at distinguishing between homogeneous and heterogeneous tissue regions in 3D medical imaging data.
Extracted Features
The following GLDM-based texture features are computed:
Highlights fine textures by emphasizing small dependence regions with few connected neighbors.
Emphasizes coarse textures by highlighting large dependence regions with many connected neighbors.
Measures variability of gray level distributions across dependence regions.
Quantifies variability in the size distribution of dependence regions.
Normalized version of DNU, providing scale-invariant dependence size variability.
Variance of gray level values across the GLDM, measuring intensity dispersion.
Variance of dependence sizes, quantifying the spread of connected region sizes.
Measures randomness of voxel dependencies, quantifying texture complexity.
Emphasizes regions with low intensity values in the dependence matrix.
Emphasizes regions with high intensity values in the dependence matrix.
Joint measure emphasizing small dependence regions with low intensity values.
Joint measure emphasizing small dependence regions with high intensity values.
Joint measure emphasizing large dependence regions with low intensity values.
Joint measure emphasizing large dependence regions with high intensity values.
Notation Legend
The following symbols are used in the GLDM formulas above:
- P(i,j) = normalized probability of dependence of size j at gray level i
- Nz = total number of dependence zones in the image
- i = gray level intensity value
- j = dependence size (number of connected neighboring voxels with the same gray level)
- μi = mean gray level in the GLDM
- μj = mean dependence size in the GLDM
- Σi,j = summation over all i (gray levels) and j (dependence sizes)
- log₂ = base-2 logarithm
Calculation Methodology
- Discretize the image into gray levels using
n_binsorbin_widthparameters to create a quantized intensity representation. - Compute the GLDM matrix using
calculate_gldm_matrix, which counts the number of dependent neighbors for each gray level across all spatial directions. - Calculate coefficients with
calculate_gldm_coefficients, including probability distributionspd,pg, index vectorsivector,jvector, and the total number of zonesNz. - Extract individual features using their corresponding mathematical formulas, including SDE, LDE, GLNU, DV, DE, and all joint emphasis measures.
Clinical Applications
GLDM features are widely used in radiomics to capture texture patterns in 3D medical images, providing quantitative measures of tissue homogeneity, coarseness, and gray level distribution. These features have demonstrated clinical value in tumor characterization, treatment response assessment, and prognostic modeling across various imaging modalities.