habit.habitat_model: fit and assign habitats
Built-in habitat model fitters and their registry.
User guide: Habitat domain API · Habitat Guide Fitting a cohort habitat model. Component names: Habitat Spec component catalog.
Classes
Fit the population-level habitat definition. |
|
Learn population habitats by k-means over pooled supervoxel features. |
|
Learn population habitats by a Gaussian mixture over pooled features. |
|
Name-to-implementation registry for cohort-level habitat model fitters. |
|
Assign habitat labels to one subject using a fitted model. |
|
Assign each supervoxel to the habitat of its nearest centroid. |
|
Name-to-implementation registry for per-subject habitat assigners. |
|
Clean tiny connected components inside an ROI label map. |
Functions
Build a postprocess operator from a Spec, or |