arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.22922cs.CV
收藏

基于大规模真实数据集与记忆增强Transformer的高保真文档去污渍

High-Fidelity Document Stain Removal via A Large-Scale Real-World Dataset and A Memory-Augmented Transformer

School of Computer Science and Engineering, Huizhou University(惠州学院计算机科学与工程学院);Faculty of Science and Technology, University of Macau(澳门大学科技学院);School of Electronic Information and Electrical Engineering, Shanghai Jiao Tong University(上海交通大学电子信息与电气工程学院);Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);School of Electronic and Communication Engineering, Shenzhen Polytechnic University(深圳职业技术学院电子与通信工程学院)

Mingxian Li, Hao Sun, Yingtie Lei, Xiaofeng Zhang, Yihang Dong, Yilin Zhou, Zimeng Li, Xuhang Chen

AI总结:

针对文档污渍退化问题,构建了大规模高分辨率文档去污渍数据集StainDoc,提出带DocMemory模块的记忆增强Transformer方法StainRestorer,在多数据集上性能超越SOTA,建立新基准。

摘要:

文档图像常因各类污渍出现质量退化,严重影响可读性,阻碍文档数字化、文档分析等下游应用的推进。由于缺乏全面的污渍文档数据集,现有文档增强方法在去除污渍的同时保留细粒度细节的效果受到限制。为解决这一问题,我们构建了StainDoc,这是首个专门用于文档去污渍的大规模高分辨率(2145×2245)数据集。StainDoc包含5000多对覆盖多种场景的污渍-干净文档图像对,涵盖多样的污渍类型、严重程度和文档背景,可为文档去污渍算法的鲁棒训练与评估提供支持。此外,我们提出了StainRestorer,一种基于Transformer的文档去污渍方法。StainRestorer采用记忆增强Transformer架构,通过DocMemory模块在部件、实例和语义层级捕获分层污渍表征。去污渍Transformer(SRTransformer)通过双重注意力机制利用这些特征表征:一是具有扩大感受野的增强空间注意力,二是捕获通道维度特征重要性的通道注意力。二者结合可在精准去污渍的同时保留文档内容的完整性。大量实验表明,在StainDoc数据集及其变体StainDoc_Mark、StainDoc_Seal上,StainRestorer的性能优于现有最优方法,为文档去污渍建立了新基准。本工作彰显了记忆增强Transformer在该任务上的潜力,同时提供了宝贵数据集以推动未来研究。

英文摘要:

Document images are often degraded by various stains, significantly impacting their readability and hindering downstream applications such as document digitization and analysis. The absence of a comprehensive stained document dataset has limited the effectiveness of existing document enhancement methods in removing stains while preserving fine-grained details. To address this challenge, we construct StainDoc, the first large-scale, high-resolution ($2145\times2245$) dataset specifically designed for document stain removal. StainDoc comprises over 5,000 pairs of stained and clean document images across multiple scenes. This dataset encompasses a diverse range of stain types, severities, and document backgrounds, facilitating robust training and evaluation of document stain removal algorithms. Furthermore, we propose StainRestorer, a Transformer-based document stain removal approach. StainRestorer employs a memory-augmented Transformer architecture that captures hierarchical stain representations at part, instance, and semantic levels via the DocMemory module. The Stain Removal Transformer (SRTransformer) leverages these feature representations through a dual attention mechanism: an enhanced spatial attention with an expanded receptive field, and a channel attention captures channel-wise feature importance. This combination enables precise stain removal while preserving document content integrity. Extensive experiments demonstrate StainRestorer's superior performance over state-of-the-art methods on the StainDoc dataset and its variants StainDoc\_Mark and StainDoc\_Seal, establishing a new benchmark for document stain removal. Our work highlights the potential of memory-augmented Transformers for this task and contributes a valuable dataset to advance future research.

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

↑