Skip to main navigation Skip to search Skip to main content

Rep-MedSAM: Towards Real-Time and Universal Medical Image Segmentation

  • Muxin Wei
  • , Shuqing Chen*
  • , Silin Wu
  • , Dabin Xu
  • *Corresponding author for this work
  • School of Medicine and Health, Harbin Institute of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Medical image segmentation has been a pivotal step in clinical practice, enabling more precise analysis of medical images. MedSAM, as a medical image segmentation foundation model, has significantly extended the ability of SAM to segment a broad spectrum of different modalities of medical images and achieves excellent performance comparing specialist models. However, with a heavy image encoder, MedSAM falls short of clinical usage in terms of time efficiency. Therefore, the CVPR 2024: Segment Anything In Medical Images On Laptop Challenge addresses performance and efficiency in a task, where the model infers with only CPU. To this end, we propose Rep-MedSAM, which integrates RepViT, a mobile-friendly CNN with efficient designs of lightweight ViTs, by replacing the image encoder in MedSAM. Our method is simple but effective, including knowledge distillation from pretrained MedSAM, whole-pipeline training and fine-tuning with extra datasets. We conduct all experiments on the challenge. Our method achieved an average DSC of 85.90% and an average NSD of 87.07% on validation. As for time cost, our method shows thrilling results compared to the baseline on validation. The average time for 2D and 3D cases is 0.47 s and 22.47 s, respectively, with an average of 2.41 s for each case. Our code is available at GitHub.

Original languageEnglish
Title of host publicationMedical Image Segmentation Foundation Models. CVPR 2024 Challenge
Subtitle of host publicationSegment Anything in Medical Images on Laptop - MedSAM on Laptop 2024, Held in Conjunction with CVPR 2024, Proceedings
EditorsJun Ma, Jun Ma, Jun Ma, Yuyin Zhou, Bo Wang, Bo Wang, Bo Wang
PublisherSpringer Science and Business Media Deutschland GmbH
Pages57-69
Number of pages13
ISBN (Print)9783031818530
DOIs
StatePublished - 2025
Externally publishedYes
EventInternational Challenge on Segment Anything in Medical Images on Laptop held in conjunction with the IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024 - Seattle, United States
Duration: 17 Jun 202421 Jun 2024

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume15458 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

ConferenceInternational Challenge on Segment Anything in Medical Images on Laptop held in conjunction with the IEEE/CVF Conference on Computer Vision and Pattern Recognition, CVPR 2024
Country/TerritoryUnited States
CitySeattle
Period17/06/2421/06/24

Keywords

  • MedSAM
  • Medical Images
  • Rep-ViT

Fingerprint

Dive into the research topics of 'Rep-MedSAM: Towards Real-Time and Universal Medical Image Segmentation'. Together they form a unique fingerprint.

Cite this