NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MIDeepSeg: Minimally Interactive Segmentation of Unseen Objects from Medical Images Using Deep Learning

Xiangde Luo, Guotai Wang, Tao Song, Jingyang Zhang, Michael Aertsen, Jan Deprest, Sébastien Ourselin, Tom Vercauteren, Shaoting Zhang · DOI

Abstract

Segmentation of organs and lesions in medical imaging is a cornerstone of modern diagnosis and treatment planning. While Convolutional Neural Networks (CNNs) have advanced automatic segmentation, they often struggle with robustness in complex cases and fail to generalize to objects not present in their training data. Interactive segmentation offers a solution, but traditional methods require excessive user effort, and existing deep learning approaches often lack generalizability. We present MIDeepSeg, a novel deep learning-based framework that achieves high efficiency through minimal user clicks and demonstrates superior performance on previously unseen objects. By utilizing a unique Exponentialized Geodesic Distance (EGD) encoding and a decoupled refinement stage, MIDeepSeg provides a clinically viable path for segmenting diverse medical structures with minimal interaction.

Introduction

Deep learning has significantly improved medical image analysis, yet the "closed-world" nature of most CNNs remains a bottleneck. Models trained on specific organs, such as the liver or heart, often fail when presented with different anatomical structures or pathologies. Furthermore, when automatic results require correction, clinicians are often forced to use tedious manual tools.

MIDeepSeg addresses these challenges by focusing on two primary goals: reducing the interaction burden on the user and ensuring the model can handle "unseen" objects—structures the AI was never explicitly trained to recognize. Unlike previous methods that rely on bounding boxes or precise boundary tracing, MIDeepSeg utilizes a few interior clicks to guide a context-aware segmentation process.

The MIDeepSeg Framework

MIDeepSeg operates through a two-stage pipeline designed to balance the predictive power of deep learning with the flexibility of traditional image processing.

Stage 1: Initial Segmentation via EGD

In the first stage, the user provides a small number of "interior margin points"—clicks placed inside the target object but near its boundary. These points are more informative than traditional "extreme points" (top, bottom, left, right) because they capture the internal characteristics and local geometry of the object.

These clicks are transformed into a cue map using Exponentialized Geodesic Distance (EGD). Unlike standard Euclidean distance, which ignores image content, EGD incorporates the image's intensity gradients. This makes the encoding "context-aware," allowing the CNN to better distinguish between the target object and surrounding tissues even in modalities it has not encountered before. The EGD map is parameter-free and naturally produces a probability-like distribution that guides the CNN toward an initial segmentation mask.

Stage 2: Iterative Refinement

If the initial segmentation requires adjustment, the user can add additional foreground or background clicks. MIDeepSeg employs a novel Information Fusion (IF) strategy to combine these new cues with the initial probability maps. The final refinement is performed using Graph Cuts (GC). Crucially, this stage is decoupled from the CNN. By using a traditional optimization method for refinement rather than a second neural network pass, the system avoids the need for retraining and remains highly responsive and adaptable to any new object type.

Experimental Validation

The researchers evaluated MIDeepSeg across a wide variety of 2D and 3D medical imaging datasets, specifically testing its ability to generalize to objects not included in the training set.

  • Training (Seen) Objects: The models were trained on specific datasets, such as the Placenta (MRI) and Spleen (CT) for 2D tasks, and the Brain Tumor Core (MRI T1ce) for 3D tasks.
  • Testing (Unseen) Objects: To test zero-shot generalization, the same models were applied to the Kidney (CT/MRI), Prostate (MRI), Fetal Brain (Ultrasound), Whole Brain Tumor (FLAIR), and Left Ventricle (MRI).

Key Results and Insights

Superior Generalization

MIDeepSeg demonstrated remarkable performance on unseen objects. For instance, in 2D spleen segmentation, the framework achieved a 95.08% Dice score. The ability to maintain high accuracy across different modalities (CT, MRI, Ultrasound) without retraining highlights the effectiveness of the EGD encoding in providing a universal guidance signal for the CNN.

Efficiency and Robustness

The framework significantly reduced the time and effort required from clinicians. In 3D brain tumor segmentation, MIDeepSeg required an average of only 28.6 seconds to reach a high-quality result, compared to 173 seconds for ITK-SNAP and 82 seconds for DeepIGeoS. Furthermore, the system proved robust to "noisy" clicks; even if user inputs were slightly imprecise, the EGD-guided CNN could often recover the correct boundaries by leveraging the underlying image context.

Conclusion

MIDeepSeg represents a significant step forward in making interactive medical image segmentation more practical for clinical use. By combining the strengths of deep learning with context-aware distance transforms and decoupled refinement, the framework overcomes the limitations of "closed-world" AI. It provides a versatile tool that can be deployed across various medical specialties, allowing clinicians to segment complex structures with unprecedented speed and minimal manual effort.

Summary updated

BibTeX
@article{luo2021mideepseg,
  author = {Xiangde Luo and Guotai Wang and Tao Song and Jingyang Zhang and Michael Aertsen and Jan Deprest and Sébastien Ourselin and Tom Vercauteren and Shaoting Zhang},
  title = {{MIDeepSeg: Minimally Interactive Segmentation of Unseen Objects from Medical Images Using Deep Learning}},
  journal = {Medical Image Analysis},
  year = {2021},
  doi = {10.1016/j.media.2021.102102},
}
Figure