Document Shadow Removal Guided by Joint Text-Prior and Shadow Probability
Yuanzhen Li, Leran Ye, Yue Zhao
Key points
From the paper's conclusion- Finally, document shadows are removed under the joint guidance of shadow probability maps and text masks.
Abstract
Current document shadow removal methods mainly focus on estimating shadow-free background colors but overlook foreground text extraction. This often causes artifacts and text fragmentation in the resulting images. To tackle these drawbacks, we propose a novel approach guided by foreground text and shadow probability. By incorporating shadow probability map estimation and text mask estimation modules, our method supports targeted shadow elimination while retaining text regions, which substantially boosts image restoration performance. We decompose a shadowed document image into foreground text and shadowed background via filtering operations. First, we predict text masks for the foreground to protect text information throughout shadow removal. Next, shadow probability is estimated from the shadowed background. Finally, document shadows are removed under the joint guidance of shadow probability maps and text masks. The three task-specific networks for text mask estimation, shadow probability estimation, and shadow removal are all built upon Attention U-Net as the backbone to produce high-quality restored images. Experimental results show that the proposed method outperforms existing methods in terms of both quantitative metrics and visual quality. It can effectively eliminate shadow artifacts while maintaining the integrity of text content.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Document Shadow Removal via Task Decomposition and Consistency RegularizationJournal of Imaging · 2026
- FreeDeshadow: Shadow Removal for User-Specified Objects With Multimodal PromptsarXiv · 2026
- Statistical Degradation State Modeling for Mask-Free Shadow Removal.IEEE transactions on pattern analysis and machine intelligence · 2026
- HarmonyText: Harmonious Scene Text Editing via Reverse-to-Refined Pair Synthesis and Region-Decoupled Frequency LearningarXiv · 2026
- High-Fidelity Image Matting with Pixel-Space Diffusion TransformersarXiv · 2026
- DeshadowMamba: Deshadowing as 1D Sequential Similarity.IEEE transactions on image processing : a publication of the IEEE Signal Processing Society · 2026