Shadow Generation for Composite Image Using Diffusion model

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Liu, Qingyang, You, Junqi, Wang, Jianting, Tao, Xinhao, Zhang, Bo, Niu, Li
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866914724833132544
author Liu, Qingyang
You, Junqi
Wang, Jianting
Tao, Xinhao
Zhang, Bo
Niu, Li
author_facet Liu, Qingyang
You, Junqi
Wang, Jianting
Tao, Xinhao
Zhang, Bo
Niu, Li
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2403_15234
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Shadow Generation for Composite Image Using Diffusion model
Liu, Qingyang
You, Junqi
Wang, Jianting
Tao, Xinhao
Zhang, Bo
Niu, Li
Computer Vision and Pattern Recognition
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.
title Shadow Generation for Composite Image Using Diffusion model
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2403.15234