Skip to main content

Module radiomics

Module radiomics 

Source
Expand description

Radiomics feature extractors (pure Rust).

First-order intensity statistics, Gray-Level Co-occurrence Matrix (GLCM) texture features at distance 1, and lite 2D/3D shape descriptors.

Modules§

first_order_stats
First-order intensity statistics on a gray-level ROI.
glcm_features
Gray-Level Co-occurrence Matrix (GLCM) texture features at distance 1.
shape_2d
2D shape features from a binary mask (compatibility wrapper).
shape_3d_lite
Lite shape descriptors for binary masks (2D and sparse 3D voxel lists).

Structs§

FirstOrderStats
First-order radiomics features (IBSI-style subset).
GlcmFeatures
Haralick-style features averaged over 0° and 90° (symmetric GLCM).
Shape2d
Compact 2D shape summary.
Shape2dFeatures
2D shape features from a binary mask (nonzero = foreground).
Shape3dFeatures
3D shape features from a sparse voxel list.

Enums§

RadiomicsError
Shared radiomics error for the radiomics submodule.

Constants§

DEFAULT_HIST_BINS
Default histogram bins for entropy when not specified.
GLCM_LEVELS_16
Common quantization levels for radiomics GLCM.
GLCM_LEVELS_32
GLCM_MAX_LEVELS
Max supported quantization levels (stack table size).

Functions§

first_order_stats
Compute first-order stats over samples (gray / intensity ROI values).
first_order_stats_with_bins
Same as first_order_stats with explicit entropy histogram bin count.
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.
shape_2d_features
Extract 2D shape from a binary mask (nonzero = object).
shape_2d_from_mask
Extract 2D shape from a binary mask (nonzero = object).
shape_3d_from_voxels
Extract 3D shape from a sparse list of voxel coordinates.