longitudinal/scripts
Furen Xiao 695bbb6e11 refactor(nnu): transition to native volume processing for Pipeline B
Update the nnU-Net pipeline to operate on native (unprocessed) volumes
instead of preprocessed ones. This allows nnU-Net to utilize its own
`plan_and_preprocess` logic for resampling, cropping, and normalization,
ensuring Pipeline B remains distinct from Pipelines A and C.

- Update `scripts/05_build_splits.py` to include native `img` and `label`
  paths in the manifest rows.
- Modify `scripts_nnu/01_nnu_prepare_dataset.py` to symlink native
  volumes and implement a label fix-up mechanism for non-conforming grids.
- Update `scripts_nnu/04_nnu_pseudo_label.py` and `05_nnu_eval_test.py`
  to use native image paths and perform selection/evaluation in physical
  mm on the native grid.
- Refactor `scripts_nnu/nnu_common.py` to handle native-grid label
  alignment and volume-based selection gates.
- Update `README.md` to document the preprocessing differences between
  Pipelines A/C and Pipeline B.
2026-09-26 12:44:40 +08:00
..
01_build_ntuh_manifest.py refactor(core): improve data pipeline robustness and manifest generation 2026-09-25 22:12:32 +08:00
02_build_m6_dataset.py feat: initial project structure 2026-09-25 16:00:37 +08:00
03_scan_lee_t1c.py feat: initial project structure 2026-09-25 16:00:37 +08:00
04_reconstruct_lee.py feat: initial project structure 2026-09-25 16:00:37 +08:00
05_build_splits.py refactor(nnu): transition to native volume processing for Pipeline B 2026-09-26 12:44:40 +08:00
06_pseudo_label.py feat: initial project structure 2026-09-25 16:00:37 +08:00
07_train.py feat: initial project structure 2026-09-25 16:00:37 +08:00
08_eval.py feat: initial project structure 2026-09-25 16:00:37 +08:00
09_run_iterative.py feat: initial project structure 2026-09-25 16:00:37 +08:00
preprocess.py feat: initial project structure 2026-09-25 16:00:37 +08:00
scan_procs.py refactor(core): improve data pipeline robustness and manifest generation 2026-09-25 22:12:32 +08:00
test_dataloader.py feat(train): implement checkpointing and robust data loading 2026-09-26 03:44:12 +08:00