arXiv Analytics

Sign in

arXiv:2104.10338 [cs.CV]AbstractReferencesReviewsResources

Shadow Generation for Composite Image in Real-world Scenes

Yan Hong, Li Niu, Jianfu Zhang, Liqing Zhang

Published 2021-04-21Version 1

Image composition targets at inserting a foreground object on 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.

Related articles: Most relevant | Search more
arXiv:1907.06406 [cs.CV] (Published 2019-07-15)
Improving the Harmony of the Composite Image by Spatial-Separated Attention Module
arXiv:2308.10040 [cs.CV] (Published 2023-08-19)
ControlCom: Controllable Image Composition using Diffusion Model
arXiv:2009.09169 [cs.CV] (Published 2020-09-19)
BargainNet: Background-Guided Domain Translation for Image Harmonization