DB-SAM: Delving into High Quality Universal Medical Image Segmentation

Chao Qin, Jiale Cao, Huazhu Fu, Fahad Shahbaz Khan, Rao Muhammad Anwer
10/5/2024
eess.IVcs.CV

Official code: AlfredQin/DB-SAM (25 stars, last commit 2026-04-22).

Abstract

Recently, the Segment Anything Model (SAM) has demonstrated promising segmentation capabilities in a variety of downstream segmentation tasks. However in the context of universal medical image segmentation there exists a notable performance discrepancy when directly applying SAM due to the domain gap between natural and 2D/3D medical data. In this work, we propose a dual-branch adapted SAM framework, named DB-SAM, that strives to effectively bridge this domain gap. Our dual-branch adapted SAM contains two branches in parallel: a ViT branch and a convolution branch. The ViT branch incorporates a learnable channel attention block after each frozen attention block, which captures domain-specific local features. On the other hand, the convolution branch employs a light-weight convolutional block to extract domain-specific shallow features from the input medical image. To perform cross-branch feature fusion, we design a bilateral cross-attention block and a ViT convolution fusion block, which dynamically combine diverse information of two branches for mask decoder. Extensive experiments on large-scale medical image dataset with various 3D and 2D medical segmentation tasks reveal the merits of our proposed contributions. On 21 3D medical image segmentation tasks, our proposed DB-SAM achieves an absolute gain of 8.8%, compared to a recent medical SAM adapter in the literature. The code and model are available at https://github.com/AlfredQin/DB-SAM.

View on arXivView PDF

Code Implementations(1)

AlfredQin/DB-SAMOfficial100%
255Shell, PythonJul 4, 20246 months ago

Similar Papers

Cite this paper

@article{qin2024dbsam,
  title  = {DB-SAM: Delving into High Quality Universal Medical Image Segmentation},
  author = {Chao Qin and Jiale Cao and Huazhu Fu and Fahad Shahbaz Khan and Rao Muhammad Anwer},
  year   = {2024},
  eprint = {2410.04172},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.04172v1}
}

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/2410.04172.svg)](https://codeofpaper.com/paper/2410.04172)

Discussion