WholeHabitatRadiomicsFeatures
Note
This page is a reference documentation. It only explains the class signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- class WholeHabitatRadiomicsFeatures(params_file: str | None = None, params: Dict[str, Any] | None = None, use_torch_radiomics: str | bool = False, torch_device: str = 'auto', torch_dtype: str = 'float64')[source]
Bases:
objectPyRadiomics features of the habitat map treated as the image itself.
The multi-label habitat map plays BOTH roles: it is the intensity image (habitat ids as grey values) and, binarised, the ROI mask. This is the v1 form of the v0.1
whole_habitatfeature type, replicatingHabitatRadiomicsExtractor.extract_radiomics_features_for_whole_habitat; it is the family that quantifies the SHAPE of the habitat partition (sphericity, surface area, …) rather than the underlying intensity.Column names are the bare PyRadiomics feature names with
diagnosticentries dropped, matching the v0.1whole_habitat_radiomics.csv.- __init__(params_file: str | None = None, params: Dict[str, Any] | None = None, use_torch_radiomics: str | bool = False, torch_device: str = 'auto', torch_dtype: str = 'float64') None[source]
- __call__(subject: Subject, habitat_map: HabitatMap) FeatureTable[source]
Compute the whole-habitat radiomics family for one subject.
- Parameters:
subject – Owning subject (labels suffice; intensities unused).
habitat_map – Habitat labels; used as image and, binarised, mask.
- Returns:
One-row table of PyRadiomics features of the habitat map.