Image preprocessing (bookmark)

Frozen supporting path for data ingestion (resample, N4, registration). HABIT’s product core is habitat analysis — this page is a bookmark, not a catalog of preprocessor classes.

User guide: Python API guide (v2.0). Prefer preprocess_images() for a cohort, or preprocess_subject() / preprocess_image() for one volume.

Functions

habit.recipes.preprocess_images

Run the batch image-preprocessing pipeline (habit preprocess recipe).

habit.recipes.preprocess_subject

Apply an ordered image-preprocessing chain to one subject in memory.

habit.recipes.preprocess_image

Apply an ordered image-preprocessing chain to one volume in memory.