HabitatFeatureExtractor
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 HabitatFeatureExtractor(*args, **kwargs)[source]
Bases:
ProtocolCompute habitat-level features for one subject.
HABIT’s differentiating feature families live here: MSI (multiregional spatial interaction), ITH score (topological fragmentation), volume and connectivity descriptors, and per-habitat or whole-habitat radiomics.
- __call__(subject: Subject, habitat_map: HabitatMap) FeatureTable[source]
Compute one family of habitat-level features for one subject.
This is the only binary subject-level operator, because habitat features genuinely need both the labels and the original intensities. Both arguments are subject-scoped, so it is still subject-level.
- Parameters:
subject – Subject supplying original images when the family needs intensity information.
habitat_map – Habitat labels for that subject.
- Returns:
A single-row-per-subject feature table with explicit column roles.
- __init__(*args, **kwargs)