# Water-Filling: An Efficient Algorithm for Digitized Document Shadow Removal

arXiv: https://arxiv.org/abs/1904.09763 · HTML: https://mlsanity.com/paper/1904.09763/

## Key facts

- Cited by 17 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 22 Apr 2019.

## Built on by (most cited first, 17 of 17)

- [High-Resolution Document Shadow Removal via A Large-Scale Real-World Dataset and A Frequency-Aware Shadow Erasing Net](https://mlsanity.com/paper/2308.14221/) (2023)
- [DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks](https://mlsanity.com/paper/2405.04408/) (2024)
- [ShaDocNet: Learning Spatial-Aware Tokens in Transformer for Document Shadow Removal](https://mlsanity.com/paper/2211.16675/) (2022)
- [UDoc-GAN: Unpaired Document Illumination Correction with Background Light Prior](https://mlsanity.com/paper/2210.08216/) (2022)
- [DocDeshadower: Frequency-Aware Transformer for Document Shadow Removal](https://mlsanity.com/paper/2307.15318/) (2023)
- [Light-weight Document Image Cleanup using Perceptual Loss](https://mlsanity.com/paper/2105.09076/) (2021)
- [S3R-Net: A Single-Stage Approach to Self-Supervised Shadow Removal](https://mlsanity.com/paper/2404.12103/) (2024)
- [LP-IOANet: Efficient High Resolution Document Shadow Removal](https://mlsanity.com/paper/2303.12862/) (2023)
- [Uni-DocDiff: A Unified Document Restoration Model Based on Diffusion](https://mlsanity.com/paper/2508.04055/) (2025)
- [ShaDocFormer: A Shadow-Attentive Threshold Detector With Cascaded Fusion Refiner for Document Shadow Removal](https://mlsanity.com/paper/2309.06670/) (2023)
- [DECDM: Document Enhancement using Cycle-Consistent Diffusion Models](https://mlsanity.com/paper/2311.09625/) (2023)
- [Leveraging Contrast Information for Efficient Document Shadow Removal](https://mlsanity.com/paper/2504.00385/) (2025)
- [RenDetNet: Weakly-supervised Shadow Detection with Shadow Caster Verification](https://mlsanity.com/paper/2408.17143/) (2024)
- [DocShaDiffusion: Diffusion Model in Latent Space for Document Image Shadow Removal](https://mlsanity.com/paper/2507.01422/) (2025)
- [MatteViT: High-Frequency-Aware Document Shadow Removal with Shadow Matte Guidance](https://mlsanity.com/paper/2512.08789/) (2025)
- [DocPure: Prompt-Free Unified Document Restoration via Degradation-Aware Structure-Guided Wavelet Modulation](https://mlsanity.com/paper/2608.09536/) (2026)
- [ENet-GP: Unified Document Image Restoration](https://mlsanity.com/paper/2609.33758/) (2026)

## Abstract (arXiv)

In this paper, we propose a novel algorithm to rectify illumination of the digitized documents by eliminating shading artifacts. Firstly, a topographic surface of an input digitized document is created using luminance value of each pixel. Then the shading artifact on the document is estimated by simulating an immersion process. The simulation of the immersion process is modeled using a novel diffusion equation with an iterative update rule. After estimating the shading artifacts, the digitized document is reconstructed using the Lambertian surface model. In order to evaluate the performance of the proposed algorithm, we conduct rigorous experiments on a set of digitized documents which is generated using smartphones under challenging lighting conditions. According to the experimental results, it is found that the proposed method produces promising illumination correction results and outperforms the results of the state-of-the-art methods.
