arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.10539cs.CV
收藏

训练无 Alpha 标签的抠图模型

Training Matting Models without Alpha Labels

The Chinese University of Hong Kong(香港中文大学);Huazhong University of Science and Technology(华中科技大学)

Wenze Liu, Zixuan Ye, Hao Lu, Zhiguo Cao, Xiangyu Yue

AI总结:

针对深度抠图标注困难,提出仅用三分图监督,通过方向距离一致性损失传播 alpha 值,在 AM-2K 和 P3M-10K 上达到与精细标签相当甚至更优的性能。

摘要:

标注困难一直是深度图像抠图领域的长期问题。为了摆脱精细标注,本工作探索使用粗略标注(如粗略指示前景/背景的三分图)作为监督。我们提出,从指示的已知区域学习到的语义与适当的假设抠图规则之间的协作,可以帮助推断过渡区域的 alpha 值。受传统图像抠图中非局部原理的启发,我们在每个像素邻域构建方向距离一致性损失(DDC loss),以约束基于输入图像的 alpha 值。DDC 损失强制 alpha 遮罩上相似对的距离与其对应图像上相似对的距离保持一致。通过这种方式,alpha 值可以从学习的已知区域传播到未知过渡区域。仅使用图像和三分图,抠图模型即可在已知损失和所提出的 DDC 损失的监督下进行训练。在 AM-2K 和 P3M-10K 数据集上的实验表明,我们的范式达到了与精细标签监督基线相当的性能,有时甚至提供比人工标注的真实值更令人满意的结果。代码可在 https://github.com/poppuppy/alpha-free-matting 获取。

英文摘要:

The labelling difficulty has been a longstanding problem in deep image matting. To escape from fine labels, this work explores using rough annotations such as trimaps coarsely indicating the foreground/background as supervision. We present that the cooperation between learned semantics from indicated known regions and proper assumed matting rules can help infer alpha values at transition areas. Inspired by the nonlocal principle in traditional image matting, we build a directional distance consistency loss (DDC loss) at each pixel neighborhood to constrain the alpha values conditioned on the input image. DDC loss forces the distance of similar pairs on the alpha matte and on its corresponding image to be consistent. In this way, the alpha values can be propagated from learned known regions to unknown transition areas. With only images and trimaps, a matting model can be trained under the supervision of a known loss and the proposed DDC loss. Experiments on AM-2K and P3M-10K dataset show that our paradigm achieves comparable performance with the fine-label-supervised baseline, while sometimes offers even more satisfying results than human-labelled ground truth. Code is available at \url{https://github.com/poppuppy/alpha-free-matting}.

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

↑