Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Shadow Generation for Composite Image in Real-world Scenes

About

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.

Yan Hong, Li Niu, Jianfu Zhang, Liqing Zhang• 2021

Related benchmarks

TaskDatasetResultRank
Shadow GenerationDESOBA BOS V2 (test)
GRMSE7.184
15
Shadow GenerationDESOBA BOS-free v2 (test)
GRMSE15.596
15
Single-object shadow generationDESOBA v2 (test)
GR15.596
12
Image HarmonizationDESOBA BOS V2 (test)
GR7.184
8
Image HarmonizationDESOBA BOS-free v2 (test)
GR15.596
8
Multi-Object Shadow GenerationDESOBA BOS Multi-Object v2 (test)
GR9.842
6
Multi-Object Shadow GenerationDESOBA BOS-free Multi-Object v2 (test)
GR18.936
6
Shadow GenerationReal Composite Images Single-Object
Bradley-Terry Score0.191
6
Shadow GenerationReal Composite Images Multi-Object
Bradley-Terry Score0.013
6
Showing 9 of 9 rows

Other info

Follow for update