Upstream Dependencies and Documentation Links =============================================== This page summarizes **official third-party library documentation** and **concept references** for HABIT modules. Implementation details, full hyperparameters, and mathematical definitions are authoritative upstream; the HABIT user manual focuses on **config keys, CLI, and data contracts** (see :doc:`../configuration/index`). Image preprocessing (``habit preprocess``) ------------------------------------------ .. list-table:: :header-rows: 1 :widths: 22 38 40 * - Purpose - Library / tool - Documentation * - Registration (``backend: ants``) - ANTsPy (``ants.registration``) - `Registration `_ · `ants.registration API `_ * - Registration (``backend: elastix``) - Official **elastix** / **transformix** executables (CLI ``-f`` / ``-m`` / ``-out`` / ``-p`` / ``-tp``, etc.; see `elastix command-line reference `_) - `Website / download `_ · `Model Zoo (LKEB, by data/task) `_ · `Model Zoo (elastix.dev) `_ * - Registration (``backend: simpleitk``) - SimpleITK (``ImageRegistrationMethod``) - `ImageRegistrationMethod `_ · `Fundamental Concepts `_ * - ANTs core - ANTs - `ANTsX/ANTs `_ * - Resampling / N4 / majority filter - SimpleITK - `User Guide `_ · `Fundamental Concepts `_ · `ResampleImageFilter `_ * - DICOM to NIfTI - dcm2niix - `rordenlab/dcm2niix `_ Habitat segmentation (``habit get-habitat``) -------------------------------------------- Clustering, dimensionality reduction, and related steps rely heavily on **scikit-learn**; superpixel **SLIC** etc. match the implementing class. .. list-table:: :header-rows: 1 :widths: 22 38 40 * - Purpose - Library - Documentation * - K-Means / GMM / pipeline and metrics - scikit-learn - `Clustering `_ · `Metrics `_ * - Feature scaling, unsupervised preprocessing (sklearn pipeline concepts) - scikit-learn - `Preprocessing `_ Habitat features and traditional radiomics (``habit extract`` / ``habit radiomics``) ------------------------------------------------------------------------------------- .. list-table:: :header-rows: 1 :widths: 22 38 40 * - Purpose - Library - Documentation * - Radiomics features - PyRadiomics - `PyRadiomics `_ * - Image I/O / some geometry - SimpleITK - same as preprocessing section Machine learning (``habit model`` / ``habit cv``) ------------------------------------------------- .. list-table:: :header-rows: 1 :widths: 22 38 40 * - Purpose - Library - Documentation * - Preprocessing, classifiers, pipelines, metrics - scikit-learn - `User Guide `_ · `API Reference `_ * - Class imbalance resampling (if enabled) - imbalanced-learn (optional) - `imbalanced-learn `_ * - Gradient boosting etc. (if configured) - XGBoost / LightGBM, etc. - `XGBoost Python `_ (as needed) * - AutoML (if configured) - AutoGluon - `AutoGluon Tabular `_ * - SHAP plots (if enabled) - shap - `SHAP `_ Model comparison (``habit compare``) ------------------------------------ .. list-table:: :header-rows: 1 :widths: 22 38 40 * - Purpose - Library / method - Documentation * - ROC / PR / calibration plots - matplotlib / in-house plotting (see source) - Medical papers often cite **TRIPOD** / **CONSORT-AI** reporting guidelines (not library docs) * - DeLong test (if enabled) - see implementation and literature - refer to HABIT output docs and cited statistical literature ICC / Test–retest / other ------------------------- .. list-table:: :header-rows: 1 :widths: 22 38 40 * - Purpose - Library - Documentation * - Statistics and matrix operations - NumPy / SciPy / pandas - `NumPy `_ · `SciPy `_ · `pandas `_ ROI delineation (external tools) -------------------------------- HABIT does not include delineation; common tools: - `ITK-SNAP `_ - `3D Slicer `_