Skip to Content
  • Article
  • Open Access

25 November 2026

23 Pages

Document Shadow Removal via Task Decomposition and Consistency Regularization

,
and
School of Mathematics and Statistics, Yunnan University, Kunming 650091, China
*
Author to whom correspondence should be addressed.
This article belongs to the Section Image and Video Processing

Abstract

Current methods for document shadow removal predominantly rely on background estimation, often conflating tinted shadows with the background and neglecting text preservation, which leads to incomplete removal and content degradation. To address these shortcomings, we propose a background-difference decomposition framework. Given a shadowed document image, we first extract the shadowed background through a filtering process. A difference image containing the text information is then obtained by subtracting this background from the original image, leaving only minor residual shadow artifacts. Subsequently, we remove shadows from the extracted background while simultaneously refining the difference image to enhance text clarity. The processed background and the refined difference image are then merged to produce an initial shadow-free image. To further improve the result, we employ both the shadow-removed background and the refined difference image as guidance to enhance the initial output. Additionally, we introduce a consistency regularizer that operates in two aspects: first, it constrains the optimized shadow-free image to remain consistent with the initial result; second, it ensures that the decomposed background aligns with the initial background estimate and that the refined difference image matches the initial difference image. Extensive experimental results demonstrate that our approach achieves superior performance compared to existing document shadow removal methods.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.