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 about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext fda2b7d6-b410-449e-a84f-815125225dbbCited by top-tier papers4
- Refracting Reality: Generating Images with Realistic Transparent ObjectsYue Yin, Enze Tao, Dylan CampbellCVPR 2026 · 2 citations
- 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
- 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
- Joint Shadow Generation and Relighting via Light-Geometry Interaction MapsShan Wang, Peixia Li, Chenchen Xu, Ziang Cheng et al.ICLR 2026
Builds on28
- Adding Conditional Control to Text-to-Image Diffusion ModelsLvmin Zhang, Anyi Rao, Maneesh AgrawalaICCV 2023 · 6,759 citations
- Mask-ShadowGAN: Learning to Remove Shadows From Unpaired DataXiaowei Hu, Yitong Jiang, Chi-Wing Fu, Pheng-Ann HengICCV 2019 · 255 citations
- TF-ICON: Diffusion-Based Training-Free Cross-Domain Image CompositionShilin Lu, Yanzhu Liu, Adams Wai-Kin KongICCV 2023 · 214 citations
- The KFIoU Loss for Rotated Object DetectionXue Yang, Yue Zhou, Gefan Zhang, Jirui Yang et al.ICLR 2023 · 89 citations
- High-Resolution Image Harmonization via Collaborative Dual TransformationsWenyan Cong, Xinhao Tao, Li Niu, Jing Liang et al.CVPR 2022 · 86 citations
Related papers
- Shadow Generation for Composite Image in Real-World ScenesYan Hong, Li Niu, Jianfu ZhangAAAI 2022 · 55 citations
- Shadow Generation for Composite Image Using Diffusion ModelQingyang Liu, Junqi You, Jianting Wang, Xinhao Tao et al.CVPR 2024 · 10 citations
- Shadow Generation with Decomposed Mask Prediction and Attentive Shadow FillingXinhao Tao, Junyan Cao, Yan Hong, Li NiuAAAI 2024
- CFDiffusion: Controllable Foreground Relighting in Image Compositing via Diffusion ModelZiqi Yu, Jing Zhou, Zhongyun Bao, Gang Fu et al.ACM MM 2024 · 6 citations
- Foreground Harmonization and Shadow Generation for Composite ImageJing Zhou, Ziqi Yu, Zhongyun Bao, Gang Fu et al.ACM MM 2024 · 7 citations
