Skip to main content

Module glcm_features

Module glcm_features 

Source
Expand description

Gray-Level Co-occurrence Matrix (GLCM) texture features at distance 1.

Angles: 0° (horizontal) and 90° (vertical). Gray levels quantized to levels bins (typically 16 or 32). Features: contrast, homogeneity, energy (ASM), correlation.

Structs§

GlcmFeatures
Haralick-style features averaged over 0° and 90° (symmetric GLCM).

Constants§

GLCM_LEVELS_16
Common quantization levels for radiomics GLCM.
GLCM_LEVELS_32
GLCM_MAX_LEVELS
Max supported quantization levels (stack table size).

Functions§

glcm_features
Compute GLCM features on a 2D gray image at distance 1 with 16 levels (default).
glcm_features_d1
Compute GLCM features on a 2D gray image at distance 1.