Small-bowel segmentation on axial T2-weighted MR enterography
This model produces a 3D small-bowel mask from a single axial T2-weighted MRI volume. It was developed for axial T2-weighted HASTE MR enterography. The release contains the five folds of the Dataset100_BSN nnU-Net v2 3d_fullres ensemble, developed using 121 training cases.
Run inference
Install nnU-Net v2 in an environment suitable for your hardware. The ensemble has been run with nnU-Net v2.8.1 and CUDA.
- Download the full
Dataset100_BSNdirectory from this repository. Keep its directory structure and setnnUNet_resultsto its parent directory. - Place the input volumes in an image directory as compressed NIfTI files named
<case_id>_0000.nii.gz. Keep one axial T2 volume per case. - Run prediction with all five folds.
export nnUNet_results="/path/to/directory/containing/Dataset100_BSN"
nnUNetv2_predict \
-i /path/to/images \
-o /path/to/predictions \
-d Dataset100_BSN \
-c 3d_fullres \
-tr nnUNetTrainer \
-p nnUNetPlans \
-f 0 1 2 3 4 \
-chk checkpoint_final.pth \
-device cuda
The output for each case is <case_id>.nii.gz with label 0 for background and label 1 for bowel.
Intended use and limitations
This model is intended for research on small-bowel segmentation. The mask covers bowel visible within the acquired field of view. Performance on independent MR enterography cohorts, active inflammatory bowel disease, and other MRI protocols remains to be established.
License and attribution
The model weights are available under Creative Commons Attribution-NonCommercial 4.0 International. Credit TaouliLab when reusing or sharing the weights.