Lune

CVPR2025Top-tier venue

Shadow Generation Using Diffusion Model with Geometry Prior

Haonan Zhao, Qingyang Liu, Xinhao Tao, Li Niu, Guangtao Zhai

Abstract

Image composition involves integrating foreground object into background image to obtain a composite image. One of the key challenges is to produce realistic shadow for the inserted foreground object. Recently, diffusion-based methods have shown superior performance compared to GAN-based methods in shadow generation. However, they are still struggling to generate shadows with plausible geometry in complex cases. In this paper, we focus on promoting diffusion-based methods by leveraging geometry priors. Specifically, we first predict the rotated bounding box and matched shadow shapes for the foreground shadow. Then, the geometry information of rotated bounding box and matched shadow shapes is injected into ControlNet to facilitate shadow generation. Extensive experiments on both DESOBAv2 dataset and real composite images validate the effectiveness of our proposed method. The code and model are released at https://github.com/bcmi/GPSDiffusion-Object-Shadow-Generation.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • KPLM-STA: Physically-Accurate Shadow Synthesis for Human Relighting via Keypoint-Based Light Modeling cites Adding Conditional Control to Text-to-Image Diffusion Models
  • KPLM-STA: Physically-Accurate Shadow Synthesis for Human Relighting via Keypoint-Based Light Modeling cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
  • Refracting Reality: Generating Images with Realistic Transparent Objects cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
  • Joint Shadow Generation and Relighting via Light-Geometry Interaction Maps cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Refracting Reality: Generating Images with Realistic Transparent ObjectsYue Yin, Enze Tao, Dylan CampbellCVPR 2026 · 2 citations
  2. Breaking Dual Bottlenecks: Evolving Unified Multimodal Models into Self-Adaptive Interleaved Visual ReasonersQingyang Liu, Bingjie Gao, Canmiao Fu, Zhipeng Huang et al.ICML 2026 · 1 citation
  3. KPLM-STA: Physically-Accurate Shadow Synthesis for Human Relighting via Keypoint-Based Light ModelingXinhui Yin, Qifei Li, Yilin Guo, Hongxia Xie et al.AAAI 2026
  4. Joint Shadow Generation and Relighting via Light-Geometry Interaction MapsShan Wang, Peixia Li, Chenchen Xu, Ziang Cheng et al.ICLR 2026

Builds on28

  1. Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
  2. Mask-ShadowGAN: Learning to Remove Shadows From Unpaired DataXiaowei Hu, Yitong Jiang, Chi-Wing Fu, Pheng-Ann HengICCV 2019 · 255 citations
  3. TF-ICON: Diffusion-Based Training-Free Cross-Domain Image CompositionShilin Lu, Yanzhu Liu, Adams Wai-Kin KongICCV 2023 · 214 citations
  4. The KFIoU Loss for Rotated Object DetectionXue Yang, Yue Zhou, Gefan Zhang, Jirui Yang et al.ICLR 2023 · 89 citations
  5. High-Resolution Image Harmonization via Collaborative Dual TransformationsWenyan Cong, Xinhao Tao, Li Niu, Jing Liang et al.CVPR 2022 · 86 citations

Related papers

  1. Shadow Generation for Composite Image in Real-World ScenesYan Hong, Li Niu, Jianfu ZhangAAAI 2022 · 55 citations
  2. Shadow Generation for Composite Image Using Diffusion ModelQingyang Liu, Junqi You, Jianting Wang, Xinhao Tao et al.CVPR 2024 · 10 citations
  3. Shadow Generation with Decomposed Mask Prediction and Attentive Shadow FillingXinhao Tao, Junyan Cao, Yan Hong, Li NiuAAAI 2024
  4. CFDiffusion: Controllable Foreground Relighting in Image Compositing via Diffusion ModelZiqi Yu, Jing Zhou, Zhongyun Bao, Gang Fu et al.ACM MM 2024 · 6 citations
  5. Foreground Harmonization and Shadow Generation for Composite ImageJing Zhou, Ziqi Yu, Zhongyun Bao, Gang Fu et al.ACM MM 2024 · 7 citations
Dusk over the sea between two cliffs drawn in fine vertical lines