nnU-Net: Dataset105_mrbrains18
3T brain MRI (T2-FLAIR, T1-weighted inversion recovery and 3D T1-weighted, registered to the FLAIR space at 0.958 x 0.958 x 3.0 mm) of 30 subjects aged over 50 (diabetes, dementia/Alzheimer's, matched controls; UMC Utrecht) from the MR Brain Segmentation Challenge 2018 (MRBrainS18, MICCAI 2018). Manual segmentation of cortical gray matter, basal ganglia, white matter, white matter lesions, extracerebral CSF, ventricles, cerebellum, brain stem, infarction and other lesions. Contains all 30 annotated subjects (challenge training and test sets) of the DataverseNL release.
Use it
nnUNetv2_hub predict mrbrains2018 -i flair.nii.gz reg_ir.nii.gz reg_t1.nii.gz -o seg.nii.gz
from nnunetv2.hub import load
model = load('mrbrains2018')
seg = model.predict(['flair.nii.gz', 'reg_ir.nii.gz', 'reg_t1.nii.gz']) # numpy array with the label values below
One file per channel, in this order: FLAIR, reg_IR, reg_T1.
mrbrains2018 runs the best model of this dataset on the hub; MIC-DKFZ/nnUNet_mrbrains2018 in its place runs this repo. This repo runs nnUNetTrainer__nnUNetResEncUNetLPlans__3d_fullres with fold_all and test-time mirroring.
Input
| Channel | Name |
|---|---|
| 0 | FLAIR |
| 1 | reg_IR |
| 2 | reg_T1 |
File ending .nii.gz.
Labels
| Value | Label | Name in dataset.json |
|---|---|---|
| 0 | background | background |
| 1 | cortical gray matter | cortical_gray_matter |
| 2 | basal ganglia | basal_ganglia |
| 3 | white matter | white_matter |
| 4 | white matter lesions | white_matter_lesions |
| 5 | cerebrospinal fluid in the extracerebral space | cerebrospinal_fluid |
| 6 | ventricles | ventricles |
| 7 | cerebellum | cerebellum |
| 8 | brain stem | brain_stem |
| 9 | infarction | infarction |
| 10 | other pathology | other |
Cross-validation results
CV Dice is nnU-Net's cross-validation Dice. The validation predictions of all 5 folds are pooled, so every training case counts once. For each label (or region), Dice is computed per case and averaged over the cases: a case where the label is in neither the reference nor the prediction is left out, and a case where it is predicted but absent from the reference counts as 0. CV Dice is the mean of these per-label values (labels that occur in no reference case are skipped), so small and rare labels count as much as large ones. It is not comparable with challenge metrics such as lesion-wise Dice.
| Variant | CV Dice | fold_all |
|---|---|---|
nnUNetTrainer__nnUNetResEncUNetLPlans__3d_fullres (default) |
0.7914 | yes |
nnUNetTrainer__nnUNetPlans__3d_fullres |
0.7867 | yes |
nnUNetTrainer__nnUNetResEncUNetMPlans__3d_fullres |
0.7841 | yes |
Every fold's validation predictions and summary.json (per-label and per-case values) are in this repo, next to the splits.
Training data
- Source: MRBrainS18, DataverseNL V1 (released 2024-02-06)
- Data license: UMC Utrecht Data Access License (academic research only)
- Changes made to the data: none (labels 9 infarction and 10 other only occur in subjects with such pathology)
- Obligation: Academic research only: no commercial use, also not to improve algorithms for commercial purposes (UMC Utrecht Data Access License).
Acknowledgement
We acknowledge the contribution by the UMC Utrecht for the data on 'MR Brain Segmentation Challenge 2018 Data' (DOI: 10.34894/E0U32Q) which has been downloaded from https://doi.org/10.34894/E0U32Q.
License
The weights are licensed under CC-BY-NC-4.0. The data they were trained on is licensed under UMC Utrecht Data Access License (academic research only).
Citation
If you use this model, please cite nnU-Net and the dataset:
- Isensee, F., Jaeger, P. F., Kohl, S. A., Petersen, J., & Maier-Hein, K. H. (2021). nnU-Net: a self-configuring method for deep learning-based biomedical image segmentation. Nature Methods, 18(2), 203-211.
- Kuijf HJ, Bennink E, Vincken KL, Weaver N, Biessels GJ, Viergever MA (2024). MR Brain Segmentation Challenge 2018 Data (V1) [Data set]. DataverseNL. https://doi.org/10.34894/E0U32Q
- Isensee, F., Wald, T., Ulrich, C., Baumgartner, M., Roy, S., Maier-Hein, K., & Jaeger, P. F. (2024). nnU-Net Revisited: A Call for Rigorous Validation in 3D Medical Image Segmentation. MICCAI 2024.