Skip to main content
QUICK REVIEW

[论文解读] PP-Matting: High-Accuracy Natural Image Matting

Guowei Chen, Yi Liu|arXiv (Cornell University)|Apr 20, 2022
Image Enhancement TechniquesComputer Science被引用 17
一句话总结

PP-Matting 是一种无需 trimap 的端到端深度学习架构,用于高精度自然图像抠图,通过引导流机制联合优化细节保真度与语义一致性,结合高分辨率细节分支(HRDB)和语义上下文分支(SCB)。其在 Composition-1k 和 Distinctions-646 上达到最先进性能,SAD 分别为 50.79 和 51.40,在定量与定性评估中均优于先前方法。

ABSTRACT

Natural image matting is a fundamental and challenging computer vision task. It has many applications in image editing and composition. Recently, deep learning-based approaches have achieved great improvements in image matting. However, most of them require a user-supplied trimap as an auxiliary input, which limits the matting applications in the real world. Although some trimap-free approaches have been proposed, the matting quality is still unsatisfactory compared to trimap-based ones. Without the trimap guidance, the matting models suffer from foreground-background ambiguity easily, and also generate blurry details in the transition area. In this work, we propose PP-Matting, a trimap-free architecture that can achieve high-accuracy natural image matting. Our method applies a high-resolution detail branch (HRDB) that extracts fine-grained details of the foreground with keeping feature resolution unchanged. Also, we propose a semantic context branch (SCB) that adopts a semantic segmentation subtask. It prevents the detail prediction from local ambiguity caused by semantic context missing. In addition, we conduct extensive experiments on two well-known benchmarks: Composition-1k and Distinctions-646. The results demonstrate the superiority of PP-Matting over previous methods. Furthermore, we provide a qualitative evaluation of our method on human matting which shows its outstanding performance in the practical application. The code and pre-trained models will be available at PaddleSeg: https://github.com/PaddlePaddle/PaddleSeg.

研究动机与目标

  • 为解决基于 trimap 的抠图方法依赖用户提供的 trimap 所带来的实际应用限制,例如在实时视频中难以适用。
  • 通过融合语义上下文与高分辨率细节学习,克服无 trimap 抠图中的前景-背景模糊性与细节模糊问题。
  • 设计单阶段、端到端可训练的网络,避免多阶段流水线中的误差累积。
  • 通过融合语义引导与细粒度细节预测,提升过渡区域的抠图精度。
  • 在真实世界的人像抠图应用中展示鲁棒性能,包括复杂发丝与透明物体。

提出的方法

  • 提出双分支架构:高分辨率细节分支(HRDB)在整个特征提取过程中保持空间分辨率,以保留细粒度细节。
  • 引入语义上下文分支(SCB),将语义分割作为子任务,提供全局上下文信息,减少细节预测中的局部模糊性。
  • 采用引导流机制,在多尺度下将 SCB 的语义特征传递至 HRDB,使 HRDB 能够聚焦于相关过渡区域。
  • 使用融合模块,用 HRDB 的细节预测替换语义图中的过渡区域,实现无需额外计算的精确 alpha 抠图估计。
  • 采用联合损失函数端到端训练整个网络,优化 SAD、MSE、梯度与连通性指标。
  • 在 HRDB 中使用多尺度编码器与全局上下文层(GCLs),以捕捉局部纹理与全局结构。

实验结果

研究问题

  • RQ1通过结合高分辨率细节学习与语义上下文监督,无 trimap 抠图网络是否能实现最先进性能?
  • RQ2引导流机制在对齐语义上下文与细节预测以减少前景-背景模糊性方面效果如何?
  • RQ3用 HRDB 预测替换语义图中的过渡区域,是否优于拼接或直接使用细节图的融合方式?
  • RQ4单阶段、端到端架构是否能在避免误差传播的同时,实现比多阶段方法更高的抠图精度?
  • RQ5该模型在具有复杂纹理与精细细节的真实世界人像抠图场景中泛化能力如何?

主要发现

  • PP-Matting 在 Distinctions-646 上取得 SAD 50.79,在 Composition-1k 上取得 SAD 51.40,优于两个基准测试中的所有先前最先进方法。
  • 消融实验证实,使用 SCB 的第一、第三与第五个模块作为引导流,相比无引导,可使 SAD、Grad 与 Conn 指标最高提升 1.17 分。
  • 替换式融合模块(Rep FM)在无额外计算开销下实现最佳性能(SAD: 50.79),优于直接使用细节图(SAD: 58.71)与卷积融合(SAD: 51.82)。
  • 在 AIM-500 上的定性结果表明,PP-Matting 生成的 alpha 抠图在视觉上接近真实值,尤其在复杂人像发丝与透明区域表现优异。
  • 可视化结果证实,引导流有效引导 HRDB 聚焦于过渡区域,抑制前景与背景噪声。
  • 模型在真实世界人像抠图中泛化良好,训练过程中在超过 10,000 张标注人像图像与 77,000 张背景图像上表现出鲁棒性。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。