ClickAttention: Click Region Similarity Guided Interactive Segmentation

Long Xu, Shanghong Li, Yongquan Chen, Junkang Chen, Rui Huang +1 more
8/12/2024
cs.CV

Official code: hahamyt/clickattention (23 stars, Apache-2.0, last commit 2025-01-03).

Abstract

Interactive segmentation algorithms based on click points have garnered significant attention from researchers in recent years. However, existing studies typically use sparse click maps as model inputs to segment specific target objects, which primarily affect local regions and have limited abilities to focus on the whole target object, leading to increased times of clicks. In addition, most existing algorithms can not balance well between high performance and efficiency. To address this issue, we propose a click attention algorithm that expands the influence range of positive clicks based on the similarity between positively-clicked regions and the whole input. We also propose a discriminative affinity loss to reduce the attention coupling between positive and negative click regions to avoid an accuracy decrease caused by mutual interference between positive and negative clicks. Extensive experiments demonstrate that our approach is superior to existing methods and achieves cutting-edge performance in fewer parameters. An interactive demo and all reproducible codes will be released at https://github.com/hahamyt/ClickAttention.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

ClickAttention: Click Region Similarity Guided Interactive Segmentation

233Cython, PythonJul 31, 20231 years agoApache-2.0

Similar Papers

Cite this paper

@article{xu2024clickattention,
  title  = {ClickAttention: Click Region Similarity Guided Interactive Segmentation},
  author = {Long Xu and Shanghong Li and Yongquan Chen and Junkang Chen and Rui Huang and Feng Wu},
  year   = {2024},
  eprint = {2408.06021},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.06021v2}
}

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

Discussion