How id-b3/airflow-imalife works
AirFlow-ImaLife processes a DICOM CT scan into airway segmentations, airway-wall meshes and bronchial measurements; scans may be submitted singly or in parallel. The README documents the runtime stages, while the sampled source shows selected launch, summary and phantom-training implementations. The graph also preserves the substantial phantom-optimization subsystem named in the source index. Most main-pipeline links reflect README documentation rather than inspected stage code; unsampled implementation details are not inferred.
Main entry points: run_machine.sh Pipeline entrypoint · phantomtrainer.py Phantom trainer · airflowmp.py Batch launcher · airway_summary.py Bronchial summary
Components 19
Scan intake
- DICOM series
- Batch launcher
scripts/launch_scripts/airflowmp.py - Pipeline entrypoint
scripts/run_machine.sh - Volume creation
airflow_legacy
Airway segmentation
- Coarse airway prep
scripts/processing_scripts - 3D U-Net inference
bronchinet
Wall measurement
- Wall separation
opfront - Mesh and thumbnail
scripts/processing_scripts - Bronchial summary
scripts/processing_scripts/airway_summary.py - Scan results
- Reproducibility analysis
scripts/reproducibility_analysis_scripts/bronchial_parameters_per_generation.py
Phantom optimization
- Parameter optimizer
phantom_trainer/optimise_parameters.py - Phantom trainer
phantom_trainer/phantoptimize/phantomtrainer.py - Region bounds
phantom_trainer/phantoptimize/split/calc_boundbox_regions.py - Region splitting
phantom_trainer/phantoptimize/split/split_segmentation_regions.py - Branch merge
phantom_trainer/phantoptimize/split/merge_branches_regions.py - Measure merge
phantom_trainer/phantoptimize/measure/merge_measures_regions.py - Grid analysis
phantom_trainer/phantoptimize/measure/analyse_measures_gridsearch.py
Other components
- Scan operator
Connections 20
- Scan operator → DICOM series: provides
README.md - Scan operator → Pipeline entrypoint: runs scan
README.md - Scan operator → Batch launcher: submits scans
README.md - Batch launcher → Pipeline entrypoint: launches container
README.md - DICOM series → Pipeline entrypoint: mounts input
README.md - Pipeline entrypoint → Volume creation: creates volume
README.md - Pipeline entrypoint → Coarse airway prep: runs prep
README.md - Pipeline entrypoint → 3D U-Net inference: runs inference
README.md - Pipeline entrypoint → Wall separation: runs separation
README.md - Pipeline entrypoint → Mesh and thumbnail: runs postprocess
README.md - Pipeline entrypoint → Bronchial summary: runs measurements
README.md - Pipeline entrypoint → Scan results: writes results
README.md - Bronchial summary → Scan results: writes summary
scripts/processing_scripts/airway_summary.py - Scan results → Reproducibility analysis: analyzes results
- Parameter optimizer → Phantom trainer: optimizes runs
phantom_trainer/optimise_parameters.py - Phantom trainer → Region bounds: computes bounds
phantom_trainer/phantoptimize/phantomtrainer.py - Phantom trainer → Wall separation: launches tool
phantom_trainer/phantoptimize/phantomtrainer.py - Region bounds → Region splitting: bounds regions
- Branch merge → Measure merge: merges outputs
- Measure merge → Grid analysis: supplies measures