arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.01422cs.CVcs.AI
收藏

DocShaDiffusion:用于文档图像阴影去除的潜空间扩散模型

DocShaDiffusion: Diffusion Model in Latent Space for Document Image Shadow Removal

School of Software, Northwestern Polytechnical University(软件学院,西北工业大学);School of Computer Science and Engineering, South China University of Technology and Pazhou Lab(计算机科学与工程学院,华南理工大学及琶洲实验室)

Wenjie Liu, Bingshu Wang, Ze Wang, C. L. Philip Chen

AI总结:

本文提出DocShaDiffusion潜空间扩散模型,通过阴影软掩码生成模块和掩码感知引导扩散模块解决文档彩色阴影去除问题,并构建大规模合成数据集,在三个公开数据集上验证了优越性。

摘要:

文档阴影去除是文档图像增强领域的一项关键任务。然而,现有方法倾向于去除具有恒定颜色背景的阴影,而忽略了彩色阴影。在本文中,我们首先设计了一种用于文档图像阴影去除的潜空间扩散模型,称为DocShaDiffusion。它将阴影图像从像素空间转换到潜空间,使模型能够更容易地捕获关键特征。为了解决彩色阴影问题,我们设计了一个阴影软掩码生成模块(SSGM)。它能够生成准确的阴影掩码,并专门向阴影区域添加噪声。在阴影掩码的引导下,我们提出了一个阴影掩码感知引导扩散模块(SMGDM),通过监督扩散和去噪过程来去除文档图像中的阴影。我们还提出了一种阴影鲁棒的感知特征损失,以保留文档图像中的细节和结构。此外,我们构建了一个大规模合成文档彩色阴影去除数据集(SDCSRD)。该数据集模拟了真实彩色阴影的分布,为模型训练提供了有力支持。在三个公开数据集上的实验验证了所提方法相对于最先进方法的优越性。我们的代码和数据集将公开发布。

英文摘要:

Document shadow removal is a crucial task in the field of document image enhancement. However, existing methods tend to remove shadows with constant color background and ignore color shadows. In this paper, we first design a diffusion model in latent space for document image shadow removal, called DocShaDiffusion. It translates shadow images from pixel space to latent space, enabling the model to more easily capture essential features. To address the issue of color shadows, we design a shadow soft-mask generation module (SSGM). It is able to produce accurate shadow mask and add noise into shadow regions specially. Guided by the shadow mask, a shadow mask-aware guided diffusion module (SMGDM) is proposed to remove shadows from document images by supervising the diffusion and denoising process. We also propose a shadow-robust perceptual feature loss to preserve details and structures in document images. Moreover, we develop a large-scale synthetic document color shadow removal dataset (SDCSRD). It simulates the distribution of realistic color shadows and provides powerful supports for the training of models. Experiments on three public datasets validate the proposed method's superiority over state-of-the-art. Our code and dataset will be publicly available.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑