SAMM (Segment Any Medical Model): A 3D Slicer Integration to SAM
Yihao Liu, Jiaming Zhang, Zhangcong She, Amir Kheradmand, Mehran Armand
TL;DR
This work introduces SAMM, an open-source integration that brings the Segment Anything Model into medical image analysis via 3D Slicer. It presents a dual-component architecture with a SAM Server and Slicer-IPP that precompute per-volume embeddings and enable real-time, prompt-based segmentation across CT, MRI, and US data. The authors demonstrate end-to-end segmentation latency around 0.612 seconds per cycle and embedding times of approximately 162.9 seconds for a typical MRI volume, indicating practical performance for semi-automatic annotation. They discuss initialization stability and outline future directions including domain-specific fine-tuning, text prompts, and MONAI-based enhancements, positioning SAMM as a flexible platform for medical foundation model research.
Abstract
The Segment Anything Model (SAM) is a new image segmentation tool trained with the largest available segmentation dataset. The model has demonstrated that, with prompts, it can create high-quality masks for general images. However, the performance of the model on medical images requires further validation. To assist with the development, assessment, and application of SAM on medical images, we introduce Segment Any Medical Model (SAMM), an extension of SAM on 3D Slicer - an image processing and visualization software extensively used by the medical imaging community. This open-source extension to 3D Slicer and its demonstrations are posted on GitHub (https://github.com/bingogome/samm). SAMM achieves 0.6-second latency of a complete cycle and can infer image masks in nearly real-time.
