SAMAug: Point Prompt Augmentation for Segment Anything Model

Haixing Dai, Chong Ma, Zhiling Yan, Zhengliang Liu, Enze Shi +12 more
7/3/2023
67 citations
cs.CVcs.AI

Official code: yhydhx/SAMAug (41 stars, Python, Apache-2.0, last commit 2023-12-21). 1 more implementation below.

Abstract

This paper introduces SAMAug, a novel visual point augmentation method for the Segment Anything Model (SAM) that enhances interactive image segmentation performance. SAMAug generates augmented point prompts to provide more information about the user's intention to SAM.

Show full abstract

Starting with an initial point prompt, SAM produces an initial mask, which is then fed into our proposed SAMAug to generate augmented point prompts. By incorporating these extra points, SAM can generate augmented segmentation masks based on both the augmented point prompts and the initial prompt, resulting in improved segmentation performance. We conducted evaluations using four different point augmentation strategies: random sampling, sampling based on maximum difference entropy, maximum distance, and saliency. Experiment results on the COCO, Fundus, COVID QUEx, and ISIC2018 datasets show that SAMAug can boost SAM's segmentation results, especially using the maximum distance and saliency. SAMAug demonstrates the potential of visual prompt augmentation for computer vision. Codes of SAMAug are available at github.com/yhydhx/SAMAug

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
yhydhx/SAMAugOfficial41PythonApache-2.02023-12-21
Mayo-Clinic-RadOnc-Foundation-Models/SAMAug-Point-Prompt-Augmentation-for-Segment-Anything-ModelCommunity1PythonApache-2.02024-10-26
yhydhx/SAMAugOfficial100%
Apache-2.0

Visual Prompt Augmentation

415Python, ShellJul 6, 20232 years agoApache-2.0
Apache-2.0

SAMAug: Point Prompt Augmentation for Segment Anything Model

10Python, ShellJan 31, 20242 years agoApache-2.0

Similar Papers

Cite this paper

@article{dai2023samaug,
  title  = {SAMAug: Point Prompt Augmentation for Segment Anything Model},
  author = {Haixing Dai and Chong Ma and Zhiling Yan and Zhengliang Liu and Enze Shi and Yiwei Li and Peng Shu and Xiaozheng Wei and Lin Zhao and Zihao Wu and Fang Zeng and Dajiang Zhu and Wei Liu and Quanzheng Li and Lichao Sun and Shu Zhang Tianming Liu and Xiang Li},
  year   = {2023},
  eprint = {2307.01187},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.01187v4}
}

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

Discussion