habit.voxel_features: per-voxel descriptors

Built-in voxel feature extractors and their registry.

User guide: Habitat Guide Voxel features · Voxel texture and GPU · Habitat domain API. Component names: Habitat Spec component catalog.

raw / local_entropy / voxel_radiomics describe each ROI voxel; concat / expression / kinetic compose those families. extract_voxel_texture() is the same voxel_radiomics pass on one ImageVolume + mask (no Subject).

Classes

VoxelFeatureExtractor

Turn a subject's images into per-voxel feature vectors inside the ROI.

RawVoxelFeatures

Per-voxel raw intensity of every requested modality inside the ROI.

LocalEntropyVoxelFeatures

Shannon entropy of each voxel's intensity neighbourhood.

VoxelRadiomicsFeatures

Describe every ROI voxel by a PyRadiomics feature vector.

ConcatVoxelFeatures

Join several voxel feature families side by side for the same voxels.

ExpressionVoxelFeatures

Per-voxel features defined by restricted arithmetic expressions.

KineticVoxelFeatures

Per-voxel enhancement slopes across a dynamic contrast series.

VoxelFeatureTree

Evaluate a voxel-level feature tree into one VoxelFeatureField.

VoxelFeatureExtractorRegistry

Name-to-implementation registry for voxel feature extractors.

Functions

extract_voxel_texture

Extract a per-voxel texture table from one image and one mask.

build_voxel_extractor

Build one voxel-level node: a leaf extractor or a combiner tree.

build_voxel_field

Assemble a VoxelFeatureField with provenance for one subject.

aligned_image

Read one modality after ensuring it shares the ROI's voxel grid.

roi_voxels

Return the ROI mask together with its boolean selector and coordinates.

load_cached_voxel_field

Load a cached field when the archive exists and is readable.

save_cached_voxel_field

Write field under the cache key (atomic replace).

voxel_radiomics_cache_key

Hash the settings that change voxel-radiomics numbers.

voxel_volume_fingerprint

Hash the image and mask arrays that enter voxel radiomics.