MRSegmentator: Multi-Modality Segmentation of 40 Classes in MRI and CT

Hartmut Häntze, Lina Xu, Christian J. Mertens, Felix J. Dorfner, Leonhard Donle, Felix Busch, Avan Kader, Sebastian Ziegelmayer, Nadine Bayerl, Nassir Navab, Daniel Rueckert, Julia Schnabel, Hugo Jwl Aerts, Daniel Truhn, Fabian Bamberg, Jakob Weiß, Christopher L. Schlett, Steffen Ringhof, Thoralf Niendorf, Tobias Pischon, Hans-Ulrich Kauczor, Tobias Nonnenmacher, Thomas Kröncke, Henry Völzke, Jeanette Schulz-Menger, Klaus Maier-Hein, Mathias Prokop, Bram van Ginneken, Alessa Hering, Marcus R. Makowski, Lisa C. Adams, Keno K. Bressem · DOI

TL;DR

MRSegmentator is a new open-source deep learning tool that provides robust, multi-organ segmentation for 40 anatomical structures across both MRI and CT scans. By leveraging cross-modality transfer learning and a human-in-the-loop annotation workflow, the authors have created a model that generalizes across diverse imaging protocols, offering a unified solution for large-scale medical imaging research.

What Problem Does This Paper Address?

Automated segmentation is the bedrock of quantitative medical imaging, enabling tasks like organ volumetry and AI-based diagnosis. While CT segmentation has seen massive success with tools like TotalSegmentator (thanks to standardized Hounsfield units), MRI remains a "wild west." MRI lacks standardized signal intensity values, suffers from variable tissue contrast across different protocols (T1, T2, Dixon, etc.), and is prone to motion artifacts and field inhomogeneities.

Current MRI solutions are often "one-trick ponies," specialized for a single organ like the kidneys or prostate. This forces researchers to run multiple, computationally expensive models for a single patient scan. MRSegmentator aims to bridge this gap by providing a single, robust model capable of handling 40 different classes across both MRI and CT modalities.

Methods

The researchers built MRSegmentator on the nnU-Net framework, a state-of-the-art self-configuring method for medical image segmentation. The core innovation lies in their human-in-the-loop annotation strategy:

  1. Pre-segmentation: They initially applied an existing CT-based model (TotalSegmentator-CT) to MRI scans. To make this work, they used preprocessing tricks like intensity inversion and histogram equalization to make the MRI data "look" more like CT to the model.
  2. Iterative Refinement: Three radiologists manually corrected these initial predictions.
  3. Active Learning: The model was repeatedly retrained on batches of 50 newly annotated sequences, with each iteration producing more refined labels for the next batch.
  4. Cross-Modality Training: The final model was trained on a massive combined dataset of both MRI and CT scans, allowing it to learn features that are robust across different imaging physics.
Figure 1: Study workflow with training and evaluation data.

Datasets

The model was trained and validated on a diverse array of data to ensure generalizability:

  • Training: 1,200 MRI scans from the UK Biobank (UKBB), 221 in-house MRI scans (focused on kidney pathology), and 1,228 CT scans from the TotalSegmentator dataset.
  • Evaluation:
    • NAKO (German National Cohort): 900 MRI scans providing a representative general population sample.
  • AMOS22: A multimodality challenge dataset (60 MRI, 300 CT).
  • TotalSegmentator-MRI: 29 MRI scans used for direct comparison with existing benchmarks.

Key Insights and Ideas

  • Cross-Modality Synergy: Training on CT data actually improved MRI segmentation performance. The standardized geometry of CT helps the model learn anatomical priors that translate well to the more variable MRI domain.
  • Vessel Consistency (VC) Metric: The authors introduced a novel metric to address the limitations of the standard Dice Similarity Coefficient (DSC). For thin, elongated structures like blood vessels, DSC can be misleading. VC measures the proportion of segmentations that form a single connected component, providing a better proxy for anatomical plausibility.
  • Demographic Sensitivity: The study found slightly higher segmentation quality in male participants (DSC 0.89 vs 0.87). This likely reflects anatomical differences in muscle mass and organ positioning, highlighting the need for balanced training sets in medical AI.
  • Robustness to Pathology: Despite being trained largely on healthy cohorts, the model successfully segmented kidneys even in the presence of large tumors (up to 13 cm), demonstrating its potential for clinical research.
Figure 2: Sample segmentation output of MRSegmentator for all 40 classes. This includes spine, sacrum, hips, femurs, heart, aorta, inferior vena cava, portal/splenic vein, iliac arteries and veins, left and right lungs, liver, spleen, pancreas, gallbladder, stomach, duodenum, small bowel, colon, left and right kidneys, adrenal glands, urinary bladder, and muscles, specifically, gluteal muscles, autochthonous muscles, iliopsoas muscles. The model was trained on diverse datasets including UK Biobank, in-house clinical data, and CT scans, using a human-in-the-loop annotation approach. It demonstrates robust performance across various MRI sequences and can also segment CT images.

Key Results

MRSegmentator achieved high accuracy across the board, particularly for large, well-defined organs:

  • Top Performers: Lungs (DSC 0.96), Liver (DSC 0.96), and Kidneys (DSC 0.95).
  • Small Structures: As expected, smaller or more variable structures like the adrenal glands (DSC 0.69) and portal/splenic veins (DSC 0.64) were more challenging.
  • Generalizability: On the NAKO external validation set, the model maintained a mean DSC of 0.91 for in-phase sequences and 0.85 for T2-HASTE.
  • Comparison: MRSegmentator outperformed the existing TotalSegmentator-MRI model on several benchmarks, particularly in abdominal organs and major vessels.
Figure 3: Class-wise Dice Similarity Coefficients (DSC) obtained by the MRSegmentator on the four GRE modalities of the NAKO dataset. The box plots show the distribution of DSC values for each of the 40 anatomical structures segmented by the model. The boxes represent the interquartile range (IQR), with the median DSC marked by the horizontal line within each box. The whiskers extend to the minimum and maximum values within 1.5 times the IQR, and any outliers beyond this range are represented by single points. The left kidney segmentations with a DSC of zero are false positives for a single patient who’s left kidney was removed.

Limitations and Future Work

While powerful, the model has its limits. The authors noted that the UK Biobank training data, while large in scan volume, only represented 50 unique participants, which might limit anatomical variety. Furthermore, the model occasionally struggled with "postoperative anatomy," such as misclassifying the colon as a kidney in patients who had undergone a nephrectomy.

Future work will focus on expanding the number of supported anatomical classes and improving performance on pathological cases and rare anatomical variants. The researchers have made the code and weights publicly available on GitHub to encourage community-driven improvements.

Summary updated

Abstract

Purpose: To develop and evaluate a deep learning model for multi-organ segmentation of MRI scans. Materials and Methods: The model was trained on 1,200 manually annotated 3D axial MRI scans from the UK Biobank, 221 in-house MRI scans, and 1228 CT scans from the TotalSegmentator dataset. A human-in-the-loop annotation workflow was employed, leveraging cross-modality transfer learning from an existing CT segmentation model to segment 40 anatomical structures. The annotation process began with a model based on transfer learning between CT and MR, which was iteratively refined based on manual corrections to predicted segmentations. The model's performance was evaluated on MRI examinations obtained from the German National Cohort (NAKO) study (n=900) from the AMOS22 dataset (n=60) and from the TotalSegmentator-MRI test data (n=29). The Dice Similarity Coefficient (DSC) and Hausdorff Distance (HD) were used to assess segmentation quality, stratified by organ and scan type. The model and its weights will be open-sourced. Results: MRSegmentator demonstrated high accuracy for well-defined organs (lungs: DSC 0.96, heart: DSC 0.94) and organs with anatomic variability (liver: DSC 0.96, kidneys: DSC 0.95). Smaller structures showed lower accuracy (portal/splenic veins: DSC 0.64, adrenal glands: DSC 0.69). On external validation using NAKO data, mean DSC ranged from 0.85 $\pm$ 0.08 for T2-HASTE to 0.91 $\pm$ 0.05 for in-phase sequences. The model generalized well to CT, achieving mean DSC of 0.84 $\pm$ 0.11 on AMOS CT data. Conclusion: MRSegmentator accurately segments 40 anatomical structures in MRI across diverse datasets and imaging protocols, with additional generalizability to CT images. This open-source model will provide a valuable tool for automated multi-organ segmentation in medical imaging research. It can be downloaded from https://github.com/hhaentze/MRSegmentator.
BibTeX
@inproceedings{hantze2025mrsegmentator,
  author = {Hartmut Häntze and Lina Xu and Christian J. Mertens and Felix J. Dorfner and Leonhard Donle and Felix Busch and Avan Kader and Sebastian Ziegelmayer and Nadine Bayerl and Nassir Navab and Daniel Rueckert and Julia Schnabel and Hugo JWL Aerts and Daniel Truhn and Fabian Bamberg and Jakob Weiß and Christopher L. Schlett and Steffen Ringhof and Thoralf Niendorf and Tobias Pischon and Hans-Ulrich Kauczor and Tobias Nonnenmacher and Thomas Kröncke and Henry Völzke and Jeanette Schulz-Menger and Klaus Maier-Hein and Mathias Prokop and Bram van Ginneken and Alessa Hering and Marcus R. Makowski and Lisa C. Adams and Keno K. Bressem},
  title = {{MRSegmentator: Multi-Modality Segmentation of 40 Classes in MRI and CT}},
  booktitle = {Radiology},
  year = {2025},
  doi = {10.1148/ryai.240777},
}
Figure