Towards a Comprehensive, Efficient and Promptable Anatomic Structure Segmentation Model Using 3D Whole-Body CT Scans

Heng Guo, Jianfeng Zhang, Jiaxing Huang, Tony C. W. Mok, Dazhou Guo, Ke Yan, Le Lu, Dakai Jin, Minfeng Xu

Introduction

The Segment Anything Model (SAM) has set a new standard for interactive segmentation in natural images. However, its application to 3D medical imaging, particularly whole-body CT scans, remains challenging. Direct 2D adaptations are inefficient, requiring manual intervention across hundreds of slices, while existing 3D adaptations often lack the breadth to handle the diverse range of anatomical structures found in the human body.

CT-SAM3D addresses these limitations by introducing a specialized 3D promptable framework capable of segmenting over 100 anatomical structures with minimal human effort. It overcomes three primary hurdles: data sparsity in medical datasets, the complexity of 3D spatial prompt encoding, and the context loss inherent in patch-based training for large organs.

Data Enhancement: TotalSeg++

A significant contribution of this work is the development of TotalSeg++, an augmented version of the TotalSeg dataset. By adding dense annotations for skeletal muscle, visceral fat, and subcutaneous fat across 1,204 CT scans, the authors increased the ratio of semantically labeled voxels from 37% to 83%. This dense labeling provides the rich training signal necessary for the model to learn a robust internal representation of human anatomy, which is crucial for its zero-shot generalization capabilities.

Overview of the TotalSeg++ dataset enhancement and the CT-SAM3D framework.

Methodology

CT-SAM3D is built upon a hierarchical 3D U-shape network with a Transformer (ResT) backbone. It introduces two key innovations:

  • Progressively and Spatially Aligned Prompt (PSAP): Unlike standard embedding methods, PSAP converts user clicks into 3D Gaussian heatmaps. These are integrated into every stage of the decoder via learned modulation parameters, ensuring the prompt remains spatially aligned with the target structure throughout the network.
  • Cross-Patch Prompt (CPP): To maintain context for large organs that span multiple training patches, the CPP scheme predicts "virtual prompts" for adjacent 3D patches. A single click on an organ like the liver can thus trigger segmentation across its entire volume by propagating prompts to neighboring patches automatically.

Results and Evaluation

The model was rigorously tested on internal (TotalSeg++) and external datasets (FLARE22, BTCV), as well as on unseen pathologies (MSD-Pancreas/Colon).

  • Efficiency: On the BTCV dataset, CT-SAM3D achieved a mean Dice score (mDSC) of 78.4% with just a single click, significantly outperforming other SAM-based models.
  • Accuracy: On FLARE22, it reached a mean Normalized Surface Distance (mNSD) of 95.8% after five clicks, a substantial improvement over the 80.2% achieved by the next best model, SegVol.
  • Zero-Shot Generalization: Remarkably, CT-SAM3D outperformed specialized, fine-tuned models on tumor segmentation tasks despite never having seen tumors during training. This demonstrates its ability to leverage its deep understanding of normal anatomy to delineate abnormal structures via interactive prompts.
Detailed coronal view of a whole-body CT segmentation produced by CT-SAM3D.

Conclusion

CT-SAM3D represents a major step toward universal, interactive 3D medical image segmentation. By combining dense anatomical labeling with spatially-aware prompting and cross-patch propagation, it offers a highly efficient tool for clinicians and researchers. Future work will focus on extending this framework to other modalities like MRI and PET, and further optimizing memory usage to handle even larger volumes.

Summary updated

BibTeX
@inproceedings{guo2025towards,
  author = {Heng Guo and Jianfeng Zhang and Jiaxing Huang and Tony C. W. Mok and Dazhou Guo and Ke Yan and Le Lu and Dakai Jin and Minfeng Xu},
  title = {{Towards a Comprehensive, Efficient and Promptable Anatomic Structure Segmentation Model Using 3D Whole-Body CT Scans}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i3.32335},
}
Figure