MatteViT: High-Frequency-Aware Document Shadow Removal with Shadow Matte Guidance
Not on the map. Why?
Abstract (arXiv)
Document shadow removal is essential for enhancing the clarity of digitized documents. Preserving high-frequency details (e.g., text edges and lines) is critical in this process because shadows often obscure or distort fine structures. This paper proposes a matte vision transformer (MatteViT), a novel shadow removal framework that applies spatial and frequency-domain information to eliminate shadows while preserving fine-grained structural details. To effectively retain these details, we employ two preservation strategies. First, our method introduces a lightweight high-frequency amplification module (HFAM) that decomposes and adaptively amplifies high-frequency components. Second, we present a continuous luminance-based shadow matte, generated using a custom-built matte dataset and shadow matte generator, which provides precise spatial guidance from the earliest processing stage. These strategies enable the model to accurately identify fine-grained regions and restore them with high fidelity. Extensive experiments on public benchmarks (RDD and Kligler) demonstrate that MatteViT achieves state-of-the-art performance, providing a robust and practical solution for real-world document shadow removal. Furthermore, the proposed method better preserves text-level details in downstream tasks, such as optical character recognition, improving recognition performance over prior methods.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 20 of its 41 references that are in the map. First posted on arXiv 9 Dec 2025.
Builds on
20 of 41 references.
References · 20
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2015U-Net: Convolutional Networks for Biomedical Image Segmentationcited by 19,713
- 2022ShadowDiffusion: When Degradation Prior Meets Diffusion Model for Shadow Removalcited by 103
- 2019Mask-ShadowGAN: Learning to Remove Shadows from Unpaired Datacited by 92
- 2020From Shadow Segmentation to Shadow Removalcited by 59
- 2021DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correctioncited by 39
- 2020Shadow Removal by a Lightness-Guided Network with Training on Unpaired Datacited by 38
- 2023DocDiff: Document Enhancement via Residual Diffusion Modelscited by 37
- 2023High-Resolution Document Shadow Removal via A Large-Scale Real-World Dataset and A Frequency-Aware Shadow Erasing Netcited by 36
- 2022DocEnTr: An End-to-End Document Image Enhancement Transformercited by 28
- 2019Water-Filling: An Efficient Algorithm for Digitized Document Shadow Removalcited by 17
- 2022ShaDocNet: Learning Spatial-Aware Tokens in Transformer for Document Shadow Removalcited by 16
8 more
- 2022UDoc-GAN: Unpaired Document Illumination Correction with Background Light Priorcited by 15
- 2023DocDeshadower: Frequency-Aware Transformer for Document Shadow Removalcited by 9
- 2021A Survey on Deep learning based Document Image Enhancementcited by 7
- 2023LP-IOANet: Efficient High Resolution Document Shadow Removalcited by 5
- 2019Cascaded Detail-Preserving Networks for Super-Resolution of Document Imagescited by 4
- 2024SoftShadow: Leveraging Soft Masks for Penumbra-Aware Shadow Removalcited by 4
- 2023ShaDocFormer: A Shadow-Attentive Threshold Detector With Cascaded Fusion Refiner for Document Shadow Removalcited by 2
- 2025Leveraging Contrast Information for Efficient Document Shadow Removalcited by 1
Built on by
Not cited yet.