MeanSupervoxelFeatures

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 MeanSupervoxelFeatures(modality: str | None = None, source: str = 'working', as_: str | None = None)[source]

Bases: _RegionStatisticBase

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

With modality=None every column is averaged, matching the default summary attached by the supervoxelizers. source="original" averages the raw pre-preprocessing modality signal and appends the -original suffix, matching the v0.1 mean_voxel_features contract.

name: str = 'mean'

Registered component name; also the statistic forwarded to aggregate_voxel_statistic().

column_prefix: str = ''

Prefix prepended to output column names; mean keeps the historical bare names.

Examples using habit.supervoxel.MeanSupervoxelFeatures

Supervoxel feature extraction and acceleration

Supervoxel feature extraction and acceleration