Learning Trimaps via Clicks for Image Matting

Chenyi Zhang, Yihan Hu, Henghui Ding, Humphrey Shi, Yao Zhao +1 more
3/30/2024
cs.CV

No official code found. Best implementation: ChenyiZhang007/Click2Trimap (34 stars, MIT, last commit 2024-04-12).

Abstract

Despite significant advancements in image matting, existing models heavily depend on manually-drawn trimaps for accurate results in natural image scenarios. However, the process of obtaining trimaps is time-consuming, lacking user-friendliness and device compatibility. This reliance greatly limits the practical application of all trimap-based matting methods. To address this issue, we introduce Click2Trimap, an interactive model capable of predicting high-quality trimaps and alpha mattes with minimal user click inputs. Through analyzing real users' behavioral logic and characteristics of trimaps, we successfully propose a powerful iterative three-class training strategy and a dedicated simulation function, making Click2Trimap exhibit versatility across various scenarios. Quantitative and qualitative assessments on synthetic and real-world matting datasets demonstrate Click2Trimap's superior performance compared to all existing trimap-free matting methods. Especially, in the user study, Click2Trimap achieves high-quality trimap and matting predictions in just an average of 5 seconds per image, demonstrating its substantial practical value in real-world applications.

View on arXivView PDF

Code Implementations(1)

MIT
343Cython, PythonMar 29, 20242 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024learning,
  title  = {Learning Trimaps via Clicks for Image Matting},
  author = {Chenyi Zhang and Yihan Hu and Henghui Ding and Humphrey Shi and Yao Zhao and Yunchao Wei},
  year   = {2024},
  eprint = {2404.00335},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.00335v3}
}

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

Discussion