SoftShadow:利用软掩码实现半影感知的图像阴影去除
SoftShadow: Leveraging Soft Masks for Penumbra-Aware Shadow Removal
AI总结:
本文提出 SoftShadow 框架,利用预训练 SAM 先验与半影物理约束生成软阴影掩码,联合微调实现端到端阴影去除,在常用数据集上取得最优性能并提升边界修复与泛化能力。
摘要:
深度学习的最新进展在图像阴影去除任务中取得了令人鼓舞的成果。然而,大多数现有方法依赖二值化的预生成阴影掩码。此类掩码的二值特性可能会导致阴影与非阴影区域边界附近出现伪影。有鉴于此,受阴影形成物理模型的启发,我们引入了专为阴影去除设计的新型软阴影掩码。为获得此类软掩码,我们提出了一个 SoftShadow 框架,利用预训练 SAM 的先验知识并融入物理约束。具体而言,我们使用半影形成约束损失、掩码重建损失和阴影去除损失联合微调 SAM 及后续的阴影去除网络。该框架能够准确预测半影(部分遮蔽)和本影(完全遮蔽)区域,同时促进端到端的阴影去除。通过在常用数据集上的大量实验,我们发现所提出的 SoftShadow 框架能够生成软掩码,更好地修复边界伪影,取得最先进的性能,并展现出优越的泛化能力。
英文摘要:
Recent advancements in deep learning have yielded promising results for the image shadow removal task. However, most existing methods rely on binary pre-generated shadow masks. The binary nature of such masks could potentially lead to artifacts near the boundary between shadow and non-shadow areas. In view of this, inspired by the physical model of shadow formation, we introduce novel soft shadow masks specifically designed for shadow removal. To achieve such soft masks, we propose a SoftShadow framework by leveraging the prior knowledge of pretrained SAM and integrating physical constraints. Specifically, we jointly tune the SAM and the subsequent shadow removal network using penumbra formation constraint loss, mask reconstruction loss, and shadow removal loss. This framework enables accurate predictions of penumbra (partially shaded) and umbra (fully shaded) areas while simultaneously facilitating end-to-end shadow removal. Through extensive experiments on popular datasets, we found that our SoftShadow framework, which generates soft masks, can better restore boundary artifacts, achieve state-of-the-art performance, and demonstrate superior generalizability.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。