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.
![](https://private-user-images.githubusercontent.com/77469192/339456516-9d7964d2-66e3-464d-ac1a-04caaaced63b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNzQ3NDEsIm5iZiI6MTczOTM3NDQ0MSwicGF0aCI6Ii83NzQ2OTE5Mi8zMzk0NTY1MTYtOWQ3OTY0ZDItNjZlMy00NjRkLWFjMWEtMDRjYWFhY2VkNjNiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEyVDE1MzQwMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWIwNGU4ZDY2ZDkyMGQyNzk0M2JiZGI1OWZiY2JlNTA5MjZlNjZkODFiM2EwODc2ZWU2OWJjZDcxYzdjMjRhZTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.QXCfL3_QyNR3-MQ8v32Zug-SKUOcBBuw7AJ6ZxmXaLg)
-
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.