habit.supervoxel: partition an ROI

Supervoxel partitioning and per-supervoxel feature capabilities.

User guide: Habitat domain API · Habitat Guide Partitioning a ROI into supervoxels. Component names: Habitat Spec component catalog.

Classes

Supervoxelizer

Partition one subject's ROI into supervoxels.

SlicSupervoxelizer

Partition the ROI into SLIC supervoxels and average features within each.

KMeansSupervoxelizer

Partition the ROI by k-means over voxel features.

GmmSupervoxelizer

Partition the ROI by a Gaussian mixture over voxel features.

SupervoxelizerRegistry

Name-to-implementation registry for supervoxelizers.

SupervoxelFeatureExtractor

Describe each supervoxel of one subject, replacing the default summary.

MeanVoxelFeatures

Describe each supervoxel by the mean of the voxel features within it.

MeanSupervoxelFeatures

Average the voxel signal within each supervoxel, one modality at a time.

StdSupervoxelFeatures

Sample standard deviation of the voxel signal within each supervoxel.

PercentileSupervoxelFeatures

A percentile of the voxel signal within each supervoxel.

SupervoxelRadiomicsFeatures

Describe each supervoxel by PyRadiomics features of the original images.

SupervoxelFeatureTree

Evaluate a supervoxel-level feature tree into one Supervoxelization.

SupervoxelFeatureExtractorRegistry

Name-to-implementation registry for supervoxel feature extractors.

Functions

build_supervoxel_extractor

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

aggregate_voxel_means

Average each voxel feature within each supervoxel.