voxel_radiomics_factory
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- voxel_radiomics_factory(kernel_radius: int, bin_width: float) VoxelRadiomicsFeatures[source]
Build the default extractor: the bundled voxel preset at one grid point.
The preset is the CT habitat setting (R3B12, 21 stable GLCM features).
binWidthand the Prior 2024 extract YAML (1 mm B-spline resample,correctMask, masked kernel) are applied on top, matchingROI_R*B*.yamlin radiomicsgroup/precise-habitats.- Parameters:
kernel_radius – Neighbourhood radius in voxels (the
Rof the paper’s settings grid).bin_width – Discretisation bin width in HU (the
B).
- Returns:
The configured voxel radiomics extractor.