The GLCM is a mathematical method used for statistical 2D texture analysis proposed by Haralick et al.34 GLCM corresponds to a directional pattern counter with a specific distance d and angle θ between neighboring pixel pairs for the grayscale image. GLCM computation was performed in 4 directions: 0, 90, 180, and 270 with a distance parameter of 1. The corresponding displacement vectors are [0 1], [−1 1], [−1 0], and [−1 −1].35 In the proposed work, an averaged four-direction value was used for feature extraction to avoid dependence on the direction.36 Five different GLCM features were quantified: energy or angular second moment (ASM), entropy (ENT), homogeneity or inverse difference moment (IDM), correlation (COR), and contrast (CON):
Angular second moment (ASM), also known as energy, maybe an indicator of grey level uniformity or homogeneity (i.e., similarity).25 When the image is homogeneous, the ASM will have a high value.32
Entropy (ENT) is a measure of textural disorder within the analyzed structure.25 A homogeneous image will result in a lower entropy value.32
Inverse difference moment (IDM) may be an indirect parameter of textural homogeneity (i.e., similarity) and is associated with pixel pairs.25 Higher values indicate a homogeneous image.32
Correlation (COR) explains the relationship between a pixel and its neighbor over the whole image. Higher values can be obtained for similar gray-level regions.32
Contrast (CON) is a measure of the intensity variation between a pixel and its neighbor over the whole image.35 The greater the variation (i.e., gray level dispersion) in an image, the greater the contrast.
These parameters summarize important information about the structural arrangement of surfaces by discerning likelihoods that pixels have the same or different gray-level values as their neighbors and distances between pixel pairs of equal intensity. A full description of the GLCM process can be found in Watanabe et al.25 Healthy skeletal muscle is largely homogenous in texture.37 A proposed schematic of how image texture (homo/heterogeneity) corresponds to these parameters can be found in Figure 2.
Image examples taken from scans of patients included in the current analysis—the image used as an example as high homogeneity was taken from the scan with the lowest entropy and highest ASM; the image used as an example as high heterogeneity was taken from the scan with the highest entropy and lowest ASM.
ASM = energy or angular second moment; IDM = homogeneity or inverse difference moment.
Full analysis was repeated for n = 5 patients to provide reliability data for the assessor (JA). No differences were seen for each GLCM parameter when re-assesed (p = .178 to .708) with intra-class correlation coeffiecnts between .277 and .951. Data can be found in Supplemental Material 1.
Do you have any questions about this protocol?
Post your question to gather feedback from the community. We will also invite the authors of this article to respond.