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

使用 Diffusion model 为合成图像生成阴影

Shadow Generation for Composite Image Using Diffusion model

Shanghai Jiao Tong University(上海交通大学)

Qingyang Liu, Junqi You, Jianting Wang, Xinhao Tao, Bo Zhang, Li Niu

AI总结:

针对图像合成中的阴影生成难题,本文基于 ControlNet 提出强度调制模块,并构建了新数据集 DESOBAv2,显著提升了合成图像中阴影形状与强度的生成效果。

摘要:

在图像合成领域,为插入的前景生成逼真阴影仍是一个艰巨挑战。以往工作开发了基于配对训练数据训练的图像到图像翻译模型。然而,受限于数据稀缺和任务固有的复杂性,它们难以生成形状和强度准确的阴影。本文借助具有自然阴影图像丰富先验知识的基础模型。具体而言,我们首先将 ControlNet 适配到本任务,随后提出强度调制模块以改善阴影强度。此外,我们使用一种新颖的数据获取流程,将小规模的 DESOBA 数据集扩展为 DESOBAv2。在 DESOBA 和 DESOBAv2 数据集及真实合成图像上的实验结果表明,我们的模型在阴影生成任务上具有卓越能力。数据集、代码和模型已发布于 https://github.com/bcmi/Object-Shadow-Generation-Dataset-DESOBAv2。

英文摘要:

In the realm of image composition, generating realistic shadow for the inserted foreground remains a formidable challenge. Previous works have developed image-to-image translation models which are trained on paired training data. However, they are struggling to generate shadows with accurate shapes and intensities, hindered by data scarcity and inherent task complexity. In this paper, we resort to foundation model with rich prior knowledge of natural shadow images. Specifically, we first adapt ControlNet to our task and then propose intensity modulation modules to improve the shadow intensity. Moreover, we extend the small-scale DESOBA dataset to DESOBAv2 using a novel data acquisition pipeline. Experimental results on both DESOBA and DESOBAv2 datasets as well as real composite images demonstrate the superior capability of our model for shadow generation task. The dataset, code, and model are released at https://github.com/bcmi/Object-Shadow-Generation-Dataset-DESOBAv2.

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

↑