voxel_units
Note
This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the Habitat Guide and Python API guide (v2.0) for usage.
- voxel_units(field: VoxelFeatureField) Supervoxelization[source]
Wrap a voxel feature field as single-voxel clustering units.
The one-step and direct-pooling designs cluster voxels directly, with no supervoxel step. Representing each voxel as a one-voxel
Supervoxelizationkeeps the assigner contract uniform instead of giving assigners a second input type to handle. It is also the building block one-step designs outside aSubjectPipeline.- Parameters:
field – Per-voxel features for one subject.
- Returns:
A partition in which every ROI voxel is its own unit.