arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.10338cs.CVeess.IV
收藏

真实场景中合成图像的阴影生成

Shadow Generation for Composite Image in Real-world Scenes

Shanghai Jiao Tong University(上海交通大学);RIKEN AIP(理化学研究所AIP)

Yan Hong, Li Niu, Jianfu Zhang, Liqing Zhang

摘要:

图像合成的目的在于将前景对象插入到背景图像中。以往的图像合成方法大多集中于调整前景使其与背景相适应,而忽略了前景对背景的阴影影响。在这项工作中,我们专注于生成合理的阴影的前景物体在合成图像。首先,我们贡献了一个真实世界的阴影生成数据集DESOBA生成合成合成图像的基础上配对的真实图像和deshadowed图像。然后,我们提出了一种新的阴影生成网络SGRNet,它包括一个阴影掩模预测阶段和阴影填充阶段。在阴影模板预测阶段,前景和背景信息充分交互以生成前景阴影模板。在阴影填充阶段,预测阴影参数以填充阴影区域。在DESOBA数据集和真实合成图像上的实验证明了该方法的有效性。我们的数据集和代码可以在https://github.com/bcmi/Object-Shadow-Generation-Dataset-DESOBA上找到。

英文摘要:

Image composition targets at inserting a foreground object into a background image. Most previous image composition methods focus on adjusting the foreground to make it compatible with background while ignoring the shadow effect of foreground on the background. In this work, we focus on generating plausible shadow for the foreground object in the composite image. First, we contribute a real-world shadow generation dataset DESOBA by generating synthetic composite images based on paired real images and deshadowed images. Then, we propose a novel shadow generation network SGRNet, which consists of a shadow mask prediction stage and a shadow filling stage. In the shadow mask prediction stage, foreground and background information are thoroughly interacted to generate foreground shadow mask. In the shadow filling stage, shadow parameters are predicted to fill the shadow area. Extensive experiments on our DESOBA dataset and real composite images demonstrate the effectiveness of our proposed method. Our dataset and code are available at https://github.com/bcmi/Object-Shadow-Generation-Dataset-DESOBA.

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

↑