preprocessing module
Core pipeline
BatchProcessor is the main entry point for batch image processing.
Correction
Normalization
Spatial transform
Format conversion
DICOM sort/rename only (not NIfTI conversion): see habit.core.dicom_sort and CLI habit sort-dicom.
Base and factory
- class habit.core.preprocessing.base_preprocessor.BasePreprocessor(keys: str | List[str], allow_missing_keys: bool = False)[source]
Bases:
ABCBase class for all image preprocessors in HABIT.
This class defines the basic interface that all preprocessors must implement.