cs.CVMar 24, 2026

Automatic Segmentation of 3D CT scans with SAM2 using a zero-shot approach

Authors: Miquel Lopez Escoriza, Pau Amargant Alvarez

Organizations: Department of Computer Science, EPFL, Switzerland

Abstract

Foundation models for image segmentation have shown strong generalization in natural images, yet their applicability to 3D medical imaging remains limited. In this work, we study the zero-shot use of Segment Anything Model 2 (SAM2) for automatic segmentation of volumetric CT data, without any fine-tuning or domain-specific training. We analyze how SAM2 should be applied to CT volumes and identify its main limitation: the lack of inherent volumetric awareness. To address this, we propose a set of inference-alone architectural and procedural modifications that adapt SAM2's video-based memory mechanism to 3D data by treating CT slices as ordered sequences. We conduct a systematic ablation study on a subset of 500 CT scans from the TotalSegmentator dataset to evaluate prompt strategies, memory propagation schemes and multi-pass refinement. Based on these findings, we select the best-performing configuration and report final results on a bigger sample of the TotalSegmentator dataset comprising 2,500 CT scans. Our results show that, even with frozen weights, SAM2 can produce coherent 3D segmentations when its inference pipeline is carefully structured, demonstrating the feasibility of a fully zero-shot approach for volumetric medical image segmentation.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. SAMRI-3D: Adapting SAM2 for 3D MRI Segmentation with Global Volume Tokens

    Jul 20, 2026Zhao Wang, Wei Dai, Hongfu Sun +2Medical Imaging Foundation Models3D Medical Image Segmentation

  2. MedSAM2-Anatomy: Training-Free Inference-Time Optimization for Musculoskeletal Segmentation

    Jul 31, 2026John Garcia Henao, Nicholas Bünger, Benedikt Herzog +11Medical Imaging Foundation ModelsInference-Time Optimization

  3. SAM+D: Parameter-Efficient Dimensional Lifting of SAM-Family Models via Depth-Routed LoRA and Depth Shifting

    Jul 31, 2026Yu Song, Hao Sun, Shiyu Teng +2Image SegmentationVision Foundation Model Adaptation