Model repository for MS lesion segmentation on MP2RAGE data (UNIT1 contrast)
3D model trained with nnUNetv2 framework.
basel-mp2rage
nih-ms-mp2rage
marseille-3t-mp2rage
sct_deepseg -install-task seg_sc_contrast_agnostic
sct_deepseg -install-task seg_ms_lesion_mp2rage
- Spinal cord segmentation
sct_deepseg -i IMAGE_UNIT1 -task seg_sc_contrast_agnostic -o IMAGE_UNIT1_sc
- Cropping with dilation (for axial orientation images with 1mm isotropic resolution)
sct_crop_image -i IMAGE_UNIT1 -m IMAGE_UNIT1_sc -dilate 30x30x5 -o IMAGE_UNIT1_cropped
- MS lesion segmentation
sct_deepseg -i IMAGE_UNIT1_cropped -task seg_ms_lesion_mp2rage
- Install 3D Slicer version 5.7.0, then install the module SlicerNNUnet from the extensions explorer.
-
Download and unzip the nnUNetTrainer_seg_ms_lesion_mp2rage__nnUNetPlans__3d_fullres.zip file. (~120 Mb)
-
Unzip the
.zip
file and place it inside a folder namedDataset403_seg_ms_lesion_mp2rage_1mm_322subj
. The final directory structure should look like this:
Dataset403_seg_ms_lesion_mp2rage_1mm_322subj
└── nnUNetTrainer_seg_ms_lesion_mp2rage__nnUNetPlans__3d_fullres
├── dataset_fingerprint.json
├── dataset.json
├── dataset_split.md
├── datasplits
│ ├── datasplit_basel-mp2rage.yaml
│ ├── datasplit_marseille-3t-mp2rage.yaml
│ └── datasplit_nih-ms-mp2rage.yaml
├── fold_3
│ ├── checkpoint_final.pth
│ ├── debug.json
│ ├── progress.png
│ └── training_log_2024_3_14_20_35_08.txt
└── plans.json
- Navigate and select the Slicer friendly folder on
Model path
- Folds: Choose the fold 3
- Apply
model_seg_ms_mp2rage
!! 🚀🚀🚀
- Charidimos Tsagkas (Translational Neuroradiology Section, National Institutes of Health, Bethesda, USA)
- Daniel Reich (Translational Neuroradiology Section, National Institutes of Health, Bethesda, USA)
- Cristina Granziera (Neurologic Clinic and Policlinic, University Hospital Basel and University of Basel, Basel, Switzerland)
- Virginie Callot (Center for Magnetic Resonance in Biology and Medicine, CRMBM-CEMEREM, UMR 7339, CNRS, Aix-Marseille University, Marseille, France)
Laines Medina N, Mchinda S, Testud B, Demortière S, Chen M, Granziera G, Reich D, Tsagkas C, Cohen-Adad J and Callot V. Automatic Multiple Sclerosis Lesion Segmentation in the Spinal Cord on 3T and 7T MP2RAGE images, in: Proceedings of the 40th Annual Scientific Meeting of ESMRMB Barcelona, Spain 2024 p171.