mlsanityData to 7 Oct 2026

DocShaDiffusion: Diffusion Model in Latent Space for Document Image Shadow Removal

arXiv 2507.01422 ↗First posted 2 Jul 2025cs.CV cs.AIcited by 0

On the map: Diffusion models → 3D, point cloud and scene generation

Abstract (arXiv)

Document shadow removal is a crucial task in the field of document image enhancement. However, existing methods tend to remove shadows with constant color background and ignore color shadows. In this paper, we first design a diffusion model in latent space for document image shadow removal, called DocShaDiffusion. It translates shadow images from pixel space to latent space, enabling the model to more easily capture essential features. To address the issue of color shadows, we design a shadow soft-mask generation module (SSGM). It is able to produce accurate shadow mask and add noise into shadow regions specially. Guided by the shadow mask, a shadow mask-aware guided diffusion module (SMGDM) is proposed to remove shadows from document images by supervising the diffusion and denoising process. We also propose a shadow-robust perceptual feature loss to preserve details and structures in document images. Moreover, we develop a large-scale synthetic document color shadow removal dataset (SDCSRD). It simulates the distribution of realistic color shadows and provides powerful supports for the training of models. Experiments on three public datasets validate the proposed method's superiority over state-of-the-art. Our code and dataset will be publicly available.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in 3D, point cloud and scene generation, one of 14 directions in Diffusion models. Builds on 34 of its 60 references that are in the map. First posted on arXiv 2 Jul 2025.

Builds on

34 of 60 references.

Closest ancestors · 2

Same direction, newest first

  1. 2022ShadowDiffusion: When Degradation Prior Meets Diffusion Model for Shadow Removal9 Dec
  2. 2022RePaint: Inpainting using Denoising Diffusion Probabilistic Models24 Jan

Other references · 32

  1. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  3. 2020Denoising Diffusion Implicit Modelscited by 9,655
  4. 2021Improved Denoising Diffusion Probabilistic Modelscited by 3,736
  5. 2021Image Super-Resolution via Iterative Refinementcited by 1,506
  6. 2021Palette: Image-to-Image Diffusion Modelscited by 1,296
  7. 2022Denoising Diffusion Restoration Modelscited by 951
  8. 2022Simple Baselines for Image Restorationcited by 701
  9. 2019Shadow Removal via Shadow Image Decompositioncited by 96
  10. 2019Mask-ShadowGAN: Learning to Remove Shadows from Unpaired Datacited by 91
  11. 2023Refusion: Enabling Large-Size Realistic Image Restoration with Latent-Space Diffusion Modelscited by 86
  12. 2022DC-ShadowNet: Single-Image Hard and Soft Shadow Removal Using Unsupervised Domain-Classifier Guided Networkcited by 68
20 more
  1. 2019Unsupervised Learning for Intrinsic Image Decomposition from a Single Imagecited by 55
  2. 2023CRoSS: Diffusion Model Makes Controllable, Robust and Secure Image Steganographycited by 50
  3. 2019Document Rectification and Illumination Correction using a Patch-based CNNcited by 37
  4. 2023DocDiff: Document Enhancement via Residual Diffusion Modelscited by 37
  5. 2023High-Resolution Document Shadow Removal via A Large-Scale Real-World Dataset and A Frequency-Aware Shadow Erasing Netcited by 36
  6. 2019Revisiting Shadow Detection: A New Benchmark Dataset for Complex Worldcited by 34
  7. 2021Learning from Synthetic Shadows for Shadow Detection and Removalcited by 26
  8. 2022Instance Shadow Detection with A Single-Stage Detectorcited by 22
  9. 2019Water-Filling: An Efficient Algorithm for Digitized Document Shadow Removalcited by 17
  10. 2023Frequency Compensated Diffusion Model for Real-scene Dehazingcited by 17
  11. 2022ShaDocNet: Learning Spatial-Aware Tokens in Transformer for Document Shadow Removalcited by 16
  12. 2022UDoc-GAN: Unpaired Document Illumination Correction with Background Light Priorcited by 15
  13. 2023DocDeshadower: Frequency-Aware Transformer for Document Shadow Removalcited by 9
  14. 2021A Survey on Deep learning based Document Image Enhancementcited by 7
  15. 2021Light-weight Document Image Cleanup using Perceptual Losscited by 6
  16. 2020Unsupervised Shadow Removal Using Target Consistency Generative Adversarial Networkcited by 5
  17. 2020Self-Supervised Shadow Removalcited by 5
  18. 2023LP-IOANet: Efficient High Resolution Document Shadow Removalcited by 5
  19. 2023DocStormer: Revitalizing Multi-Degraded Colored Document Images to Pristine PDFcited by 3
  20. 2023ShaDocFormer: A Shadow-Attentive Threshold Detector With Cascaded Fusion Refiner for Document Shadow Removalcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2023Latent Feature-Guided Diffusion Models for Shadow Removal
  2. 2026FreeShadow: Training-Free Shadow Removal via Illumination Transfer and Selective Content Preservation in Diffusion Models
  3. 2024Detail-Preserving Latent Diffusion for Stable Shadow Removal
  4. 2025Structure-Guided Diffusion Models for High-Fidelity Portrait Shadow Removal
  5. 2024Diff-Shadow: Global-guided Diffusion Model for Shadow Removal
  6. 2024DiffSTR: Controlled Diffusion Models for Scene Text Removal
  7. 2025Parametric Shadow Control for Portrait Generation in Text-to-Image Diffusion Models
  8. 2024Generative Portrait Shadow Removal