arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.18109cs.CV
收藏

面向通用图像抠图的双上下文聚合

Dual-Context Aggregation for Universal Image Matting

Qinglin Liu, Xiaoqian Lv, Wei Yu, Changyong Guo, Shengping Zhang

AI总结:

本文提出通用抠图框架 DCAM,通过语义主干、全局与局部双上下文聚合及抠图解码器,在无引导或任意引导下实现稳健 alpha 遮罩估计,并在五个数据集上优于现有方法。

摘要:

自然图像抠图旨在根据给定图像估计前景的 alpha 遮罩。人们已经探索了多种方法来解决这一问题,例如使用点击或 trimap 等引导信息的交互式抠图方法,以及为特定对象定制的自动抠图方法。然而,现有抠图方法是针对特定对象或引导信息设计的,忽视了图像抠图中聚合全局与局部上下文这一共同需求。因此,这些方法在准确识别前景并生成精确边界方面往往面临挑战,从而限制了其在未知场景中的有效性。本文提出一个简单且通用的抠图框架,名为 Dual-Context Aggregation Matting(DCAM,双上下文聚合抠图),它能够在任意引导或无引导情况下实现稳健的图像抠图。具体而言,DCAM 首先采用语义主干网络从输入图像和引导信息中提取低级特征与上下文特征。随后,我们引入一个双上下文聚合网络,该网络结合全局对象聚合器和局部外观聚合器,以迭代方式细化所提取的上下文特征。通过同时执行全局轮廓分割和局部边界细化,DCAM 对不同类型的引导和对象表现出稳健性。最后,我们采用抠图解码器网络融合低级特征和细化后的上下文特征,以估计 alpha 遮罩。在五个抠图数据集上的实验结果表明,所提出的 DCAM 在自动抠图和交互式抠图任务中均优于最先进的抠图方法,这凸显了 DCAM 强大的通用性和高性能。源代码可在 https://github.com/Windaway/DCAM 获取。

英文摘要:

Natural image matting aims to estimate the alpha matte of the foreground from a given image. Various approaches have been explored to address this problem, such as interactive matting methods that use guidance such as click or trimap, and automatic matting methods tailored to specific objects. However, existing matting methods are designed for specific objects or guidance, neglecting the common requirement of aggregating global and local contexts in image matting. As a result, these methods often encounter challenges in accurately identifying the foreground and generating precise boundaries, which limits their effectiveness in unforeseen scenarios. In this paper, we propose a simple and universal matting framework, named Dual-Context Aggregation Matting (DCAM), which enables robust image matting with arbitrary guidance or without guidance. Specifically, DCAM first adopts a semantic backbone network to extract low-level features and context features from the input image and guidance. Then, we introduce a dual-context aggregation network that incorporates global object aggregators and local appearance aggregators to iteratively refine the extracted context features. By performing both global contour segmentation and local boundary refinement, DCAM exhibits robustness to diverse types of guidance and objects. Finally, we adopt a matting decoder network to fuse the low-level features and the refined context features for alpha matte estimation. Experimental results on five matting datasets demonstrate that the proposed DCAM outperforms state-of-the-art matting methods in both automatic matting and interactive matting tasks, which highlights the strong universality and high performance of DCAM. The source code is available at \url{https://github.com/Windaway/DCAM}.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑