Skip to main content
QUICK REVIEW

[Paper Review] High-Resolution Document Shadow Removal via A Large-Scale Real-World Dataset and A Frequency-Aware Shadow Erasing Net

Zinuo Li, Xuhang Chen|arXiv (Cornell University)|Aug 27, 2023
Digital Media Forensic DetectionComputer Science3 citations
TL;DR

This paper proposes a large-scale real-world dataset (SD7K) with 7,000 high-resolution document image pairs and a frequency-aware network (FSENet) that decomposes images into low- and high-frequency components for improved shadow removal. FSENet uses transformer-based global modeling and dilated convolution modules to preserve fine details, achieving state-of-the-art performance in both visual quality and quantitative metrics on high-resolution documents.

ABSTRACT

Shadows often occur when we capture the documents with casual equipment, which influences the visual quality and readability of the digital copies. Different from the algorithms for natural shadow removal, the algorithms in document shadow removal need to preserve the details of fonts and figures in high-resolution input. Previous works ignore this problem and remove the shadows via approximate attention and small datasets, which might not work in real-world situations. We handle high-resolution document shadow removal directly via a larger-scale real-world dataset and a carefully designed frequency-aware network. As for the dataset, we acquire over 7k couples of high-resolution (2462 x 3699) images of real-world document pairs with various samples under different lighting circumstances, which is 10 times larger than existing datasets. As for the design of the network, we decouple the high-resolution images in the frequency domain, where the low-frequency details and high-frequency boundaries can be effectively learned via the carefully designed network structure. Powered by our network and dataset, the proposed method clearly shows a better performance than previous methods in terms of visual quality and numerical results. The code, models, and dataset are available at: https://github.com/CXH-Research/DocShadow-SD7K

Motivation & Objective

  • To address the lack of large-scale, high-resolution real-world datasets for document shadow removal.
  • To develop a deep learning model capable of preserving fine-grained details like fonts and figures in high-resolution document images.
  • To overcome limitations of existing methods that rely on low-resolution approximations or weak supervision, which lead to artifacts and hallucinations.
  • To enable robust, high-fidelity shadow removal under diverse lighting conditions using a frequency-decomposed network architecture.

Proposed method

  • The authors collect 7,000 real-world high-resolution (2462×3699) document image pairs with manually annotated shadow masks, forming the SD7K dataset.
  • A frequency-aware network, FSENet, decomposes input images into low- and high-frequency components using a Laplacian pyramid structure.
  • The low-frequency component is processed by a transformer-based module (TRM) and a dual-feature enhancement module (DFE) to model global illumination changes.
  • The high-frequency component is restored via a cascaded dilated convolution-based texture recovery module (TRM) to recover fine details like edges and contours.
  • The network employs separate attention mechanisms for low- and high-frequency branches to enable domain-specific feature learning.
  • A shadow synthesis pipeline is used to augment training data and improve generalization, especially on small benchmarks.

Experimental results

Research questions

  • RQ1Can a large-scale, real-world high-resolution dataset improve the performance and generalization of document shadow removal models?
  • RQ2Does frequency decomposition in the network architecture enhance the preservation of fine-grained details such as fonts and figures in high-resolution documents?
  • RQ3How does the proposed FSENet compare to existing supervised, weakly-supervised, and unsupervised methods in terms of visual quality and quantitative metrics?
  • RQ4To what extent do individual components of the FSENet architecture (e.g., TRM, DFE, DAT, shadow synthesis) contribute to the final performance?

Key findings

  • FSENet achieves state-of-the-art performance on both public benchmarks and the proposed SD7K dataset, outperforming existing methods in PSNR, SSIM, and RMSE metrics.
  • The model significantly reduces artifacts and hallucinations compared to weakly- and unsupervised methods, especially under domain shift conditions.
  • Abllation studies show that increasing the Laplacian pyramid depth degrades performance, indicating optimal decomposition depth at three levels.
  • The combination of DFE and DAT modules yields the best low-frequency deshadowing performance, while the TRM module is critical for high-frequency detail recovery.
  • Removing the shadow synthesis pipeline leads to a substantial drop in performance, particularly on small datasets, confirming its importance for generalization.
  • Despite superior performance, the model is not deployable on edge devices due to high computational cost and large parameter count.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.