Lune

AAAI2024Top-tier venue

Shadow Generation with Decomposed Mask Prediction and Attentive Shadow Filling

Xinhao Tao, Junyan Cao, Yan Hong, Li Niu

Abstract

Image composition refers to inserting a foreground object into a background image to obtain a composite image. In this work, we focus on generating plausible shadows for the inserted foreground object to make the composite image more realistic. To supplement the existing small-scale dataset, we create a large-scale dataset called RdSOBA with rendering techniques. Moreover, we design a two-stage network named DMASNet with decomposed mask prediction and attentive shadow filling. Specifically, in the first stage, we decompose shadow mask prediction into box prediction and shape prediction. In the second stage, we attend to reference background shadow pixels to fill the foreground shadow. Abundant experiments prove that our DMASNet achieves better visual effects and generalizes well to real composite images.

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.

6 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

  • RIS-GAN: Explore Residual and Illumination with Generative Adversarial Networks for Shadow Removal cites ARGAN: Attentive Recurrent Generative Adversarial Network for Shadow Detection and Removal
  • KPLM-STA: Physically-Accurate Shadow Synthesis for Human Relighting via Keypoint-Based Light Modeling cites Shadow Generation for Composite Image Using Diffusion Model
  • 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 Shadow Generation for Composite Image Using Diffusion Model
  • 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 Shadow Generation for Composite Image Using Diffusion Model
  • Joint Shadow Generation and Relighting via Light-Geometry Interaction Maps cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
  • Shadow Generation for Composite Image Using Diffusion Model cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
  • Bijective Mapping Network for Shadow Removal cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
  • Bijective Mapping Network for Shadow Removal cites ARGAN: Attentive Recurrent Generative Adversarial Network for Shadow Detection and Removal
  • Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites Bijective Mapping Network for Shadow Removal
  • Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites Mask-ShadowGAN: Learning to Remove Shadows From Unpaired Data
  • Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow Detection cites ARGAN: Attentive Recurrent Generative Adversarial Network for Shadow Detection and Removal
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Shadow Generation for Composite Image Using Diffusion ModelQingyang Liu, Junqi You, Jianting Wang, Xinhao Tao et al.CVPR 2024 · 10 citations
  2. Refracting Reality: Generating Images with Realistic Transparent ObjectsYue Yin, Enze Tao, Dylan CampbellCVPR 2026 · 2 citations
  3. Under the Shadow: Exploiting Opacity Variation for Fine-grained Shadow DetectionXiaotian Qiao, Ke Xu, Xianglong Yang, Ruijie Dong et al.NeurIPS 2025 · 1 citation
  4. 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
  5. Joint Shadow Generation and Relighting via Light-Geometry Interaction MapsShan Wang, Peixia Li, Chenchen Xu, Ziang Cheng et al.ICLR 2026

Builds on15

  1. Distance-IoU Loss: Faster and Better Learning for Bounding Box RegressionZhaohui Zheng, Ping Wang, Wei Liu, Jinze Li et al.AAAI 2020 · 4,823 citations
  2. Mask-ShadowGAN: Learning to Remove Shadows From Unpaired DataXiaowei Hu, Yitong Jiang, Chi-Wing Fu, Pheng-Ann HengICCV 2019 · 255 citations
  3. ARGAN: Attentive Recurrent Generative Adversarial Network for Shadow Detection and RemovalBin Ding, Chengjiang Long, Ling Zhang, Chunxia XiaoICCV 2019 · 171 citations
  4. RIS-GAN: Explore Residual and Illumination with Generative Adversarial Networks for Shadow RemovalLing Zhang, Chengjiang Long, Xiaolong Zhang, Chunxia XiaoAAAI 2020 · 106 citations
  5. Bijective Mapping Network for Shadow RemovalYurui Zhu, Jie Huang, Xueyang Fu, Feng Zhao et al.CVPR 2022 · 97 citations

Related papers

  1. Shadow Generation for Composite Image in Real-World ScenesYan Hong, Li Niu, Jianfu ZhangAAAI 2022 · 55 citations
  2. Shadow Generation Using Diffusion Model with Geometry PriorHaonan Zhao, Qingyang Liu, Xinhao Tao, Li Niu et al.CVPR 2025
  3. MetaShadow: Object-Centered Shadow Detection, Removal, and SynthesisTianyu Wang, Jianming Zhang, Haitian Zheng, Zhihong Ding et al.CVPR 2025
  4. ShadowMover: Automatically Projecting Real Shadows onto Virtual ObjectPiaopiao Yu, Jie Guo, Fan Huang, Zhenyu Chen et al.IEEE VR 2023 · 6 citations
  5. CFDiffusion: Controllable Foreground Relighting in Image Compositing via Diffusion ModelZiqi Yu, Jing Zhou, Zhongyun Bao, Gang Fu et al.ACM MM 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines