MedicoSAM: Robust Improvement of SAM for Medical Imaging

Anwai Archit, Luca Freckmann, Constantin Pape
1/20/2025
eess.IVcs.CV

Official code: computational-cell-analytics/medico-sam (32 stars, MIT, last commit 2026-03-11).

Abstract

Medical image segmentation is an important analysis task in clinical practice and research. Deep learning has massively advanced the field, but current approaches are mostly based on models trained for a specific task. Training such models or adapting them to a new condition is costly due to the need for (manually) labeled data. The emergence of vision foundation models, especially Segment Anything, offers a path to universal segmentation for medical images, overcoming these issues. Here, we study how to improve Segment Anything for medical images by comparing different finetuning strategies on a large and diverse dataset. We evaluate the finetuned models on a wide range of interactive and (automatic) semantic segmentation tasks. We find that the performance can be clearly improved for interactive segmentation. However, semantic segmentation does not benefit from pretraining on medical images. Our best model, MedicoSAM, is publicly available at https://github.com/computational-cell-analytics/medico-sam. We show that it is compatible with existing tools for data annotation and believe that it will be of great practical value.

View on arXivView PDF

Code Implementations(1)

MIT

Segment Anything for Medical Imaging

322PythonMay 31, 20247 months agoMIT
interactive-segmentationmedical-image-segmentationmedical-imagingmedico-samsam+3 more

Similar Papers

Cite this paper

@article{archit2025medicosam,
  title  = {MedicoSAM: Robust Improvement of SAM for Medical Imaging},
  author = {Anwai Archit and Luca Freckmann and Constantin Pape},
  year   = {2025},
  eprint = {2501.11734},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.11734v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.11734.svg)](https://codeofpaper.com/paper/2501.11734)

Discussion