本文已被:浏览 84次 下载 88次
Received:October 09, 2025 Revised:November 03, 2025
Received:October 09, 2025 Revised:November 03, 2025
中文摘要: 现有的文档图像阴影去除方法常依赖严格配对数据或依赖人工掩膜, 导致易过拟合且泛化性差, 难以适应真实场景. 为此, 本文提出了一种背景感知的半监督文档图像阴影去除方法. 该方法采用监督与无监督相结合的双阶段框架: 利用监督训练的图像分解单元将输入图像分解为无阴影的反射图和含阴影的光照图, 其中反射图用于约束无监督训练以保持结构一致性, 光照图则凸显阴影的亮度差异以降低学习难度. 同时, 在监督阶段引入背景颜色估计模块与阴影注意力图以提供全局颜色与区域约束, 并通过偏移估计模块校正光照与颜色偏差, 增强结构恢复与阴影建模能力. 在无监督阶段, 以分解单元为约束, 结合未配对数据训练去阴影网络, 引入通用对抗损失、颜色亮度损失和反射一致性损失, 以提升鲁棒性与泛化性. 实验结果表明, 该方法在文档图像阴影数据集上取得了优异表现, 同时在真实文档场景中生成了更自然、细腻的去阴影效果.
Abstract:Existing shadow removal methods for document images often rely on strictly paired data or manually annotated masks, which tend to cause overfitting and poor generalization in real-world scenarios. To address this issue, this study proposes a background-aware semi-supervised shadow removal method for document images. The method adopts a two-stage framework that combines supervised and unsupervised learning. In the supervised stage, an image decomposition unit is employed to separate the input into a shadow-free reflectance map and a shadow-containing illumination map. The reflectance map is used to constrain unsupervised training to maintain structural consistency, while the illumination map highlights brightness differences in shadow regions to reduce learning difficulty. Moreover, a background color estimation module and a shadow attention map are introduced to provide global color guidance and regional constraints. An offset estimation module is also incorporated to correct color and illumination deviations, enhancing structural recovery and shadow modeling capabilities. In the unsupervised stage, guided by the decomposition unit and trained on unpaired data, the deshadowing network is optimized using adversarial loss, color-brightness loss, and reflectance consistency loss to improve robustness and generalization. Experimental results show that the proposed method achieves superior performance on document image shadow datasets and produces more natural and refined shadow-free results in real document scenes.
文章编号: 中图分类号: 文献标志码:
基金项目:湖北省自然科学基金(2023AFB615)
引用文本:
陈喆,张玲.背景感知的半监督文档图像阴影去除算法.计算机系统应用,2026,35(5):105-115
CHEN Zhe,ZHANG Ling.Background-aware Semi-supervised Document Image Shadow Removal Algorithm.COMPUTER SYSTEMS APPLICATIONS,2026,35(5):105-115
陈喆,张玲.背景感知的半监督文档图像阴影去除算法.计算机系统应用,2026,35(5):105-115
CHEN Zhe,ZHANG Ling.Background-aware Semi-supervised Document Image Shadow Removal Algorithm.COMPUTER SYSTEMS APPLICATIONS,2026,35(5):105-115

