Document Image Shadow Removal Guided by Color-Aware Background

Ling Zhang, Yi He, Qing Zhang, Zheng-Ya Liu, X. Zhang +1 more
2/14/2026

Abstract

Existing works on document image shadow removal mostly depend on learning and leveraging a constant background (the color of the paper) from the image. However, the constant background is less representative and frequently ignores other background colors, such as the printed colors, resulting in distorted results. In this paper, we present a color-aware background extraction network (CBENet) for extracting a spatially varying background image that accurately depicts the background colors of the document. Furthermore, we propose a background-guided document images shadow removal network (BGShadowNet) using the predicted spatially varying background as auxiliary information, which consists of two stages. At Stage I, a background-constrained decoder is designed to promote a coarse result. Then, the coarse result is refined with a background-based attention module (BAModule) to maintain a consistent appearance and a detail improvement module (DEModule) to enhance the texture details at Stage II. Experiments on two benchmark datasets qualitatively and quantitatively validate the superiority of the proposed approach over state-of-the-arts.

DOISemantic Scholar

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 4 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{zhang2026document,
  title  = {Document Image Shadow Removal Guided by Color-Aware Background},
  author = {Ling Zhang and Yi He and Qing Zhang and Zheng-Ya Liu and X. Zhang and Chunxia Xiao},
  year   = {2026},
  doi    = {10.1109/CVPR52729.2023.00181},
  url    = {https://doi.org/10.1109/CVPR52729.2023.00181},
  journal = {CVPR 2023 2023}
}

Discussion