atlas

Research map / Image generation / Autoregressive and latent generation

Shadow Generation for Composite Image Using Diffusion Model

CVPR 2024 · Image generation › Autoregressive and latent generation · approach: Compositional scene generation · 14 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Adapts ControlNet on Stable Diffusion with an intensity modulation module and post-processing for foreground shadow generation, and contributes the larger DESOBAv2 dataset built via object-shadow detection and inpainting.

Problem

Generating realistic foreground shadows for inserted objects in composite images; prior image-to-image GAN methods trained on scarce paired data produce shadows with inaccurate shapes and intensities.

Approach

Repurposes a pretrained ControlNet/Stable Diffusion foundation model for shadow generation, adding a weighted noise loss on expanded shadow regions, an intensity encoder that predicts channel-wise scale/bias to modulate noise within a predicted foreground shadow mask, and a post-processing network to fix color shift and background variation; the training data is expanded to DESOBAv2 via an automat

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SGDiffusion instead of SGRNetDESOBAv2 BOS test images · DESOBAv2 BOS test imagesglobal RMSE: 7.184 -> 6.098Helped
Use SGDiffusion instead of SGRNetDESOBAv2 BOS-free test images · DESOBAv2 BOS-free test imagesglobal RMSE: 15.596 -> 15.110Helped
Add weighted noise loss (ablation)ControlNet on DESOBAv2 BOS test images · DESOBAv2 BOS test imagesglobal RMSE: 8.285 -> 7.041Helped
Do not expand the foreground shadow mask for weighted loss (ablation)SGDiffusion on DESOBAv2 BOS test images · DESOBAv2 BOS test imagesglobal RMSE: 7.041 -> 8.319Hurt
Add intensity modulation (ablation)ControlNet on DESOBAv2 BOS test images · DESOBAv2 BOS test imagesglobal RMSE: 8.285 -> 7.357Helped
Include the background shadow mask as intensity-encoder input (ablation)SGDiffusion on DESOBAv2 BOS test images · DESOBAv2 BOS test imagesglobal RMSE: 7.410 -> 7.357Helped
Add post-processing (ablation)SGDiffusion on DESOBAv2 BOS test images · DESOBAv2 BOS test imagesglobal RMSE: 13.447 -> 6.098Helped

Surprising findings

Limitations

Experimental setup

Datasets: DESOBAv2 DESOBA

Benchmarks: DESOBAv2 DESOBA

Metrics: GR LR GS LS GB LB user preference (Bradley-Terry)

Baselines: ShadowGAN MaskShadowGAN ARShadowGAN SGRNet

Builds on: ControlNet Stable Diffusion DESOBA

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy