mlsanityData to 14 Oct 2026

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

arXiv 2410.22922 ↗First posted 30 Oct 2024cs.CVcited by 12

Not on the map. Why?

Abstract (arXiv)

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×2245) 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 StainDocMark and StainDocSeal, 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.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Builds on 36 of its 72 references that are in the map. First posted on arXiv 30 Oct 2024.

Builds on

36 of 72 references.

References · 36

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  3. 2018The Unreasonable Effectiveness of Deep Features as a Perceptual Metriccited by 11,177
  4. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  5. 2021SwinIR: Image Restoration Using Swin Transformercited by 1,887
  6. 2021Restormer: Efficient Transformer for High-Resolution Image Restorationcited by 1,627
  7. 2021Uformer: A General U-Shaped Transformer for Image Restorationcited by 866
  8. 2022Activating More Pixels in Image Super-Resolution Transformercited by 438
  9. 2016Synthetic Data for Text Localisation in Natural Imagescited by 396
  10. 2023Explicit Visual Prompting for Low-Level Structure Segmentationscited by 114
  11. 2023A Comparative Study of Image Restoration Networks for General Backbone Network Designcited by 57
  12. 2023M6Doc: A Large-Scale Multi-Format, Multi-Type, Multi-Layout, Multi-Language, Multi-Annotation Category Dataset for Modern Document Layout Analysiscited by 46
24 more
  1. 2020DE-GAN: A Conditional Generative Adversarial Network for Document Enhancementcited by 44
  2. 2021DocTr: Document Image Transformer for Geometric Unwarping and Illumination Correctioncited by 39
  3. 2019Document Rectification and Illumination Correction using a Patch-based CNNcited by 38
  4. 2023DocDiff: Document Enhancement via Residual Diffusion Modelscited by 37
  5. 2023High-Resolution Document Shadow Removal via A Large-Scale Real-World Dataset and A Frequency-Aware Shadow Erasing Netcited by 36
  6. 2023CoordFill: Efficient High-Resolution Image Inpainting via Parameterized Coordinate Queryingcited by 34
  7. 2022DocEnTr: An End-to-End Document Image Enhancement Transformercited by 28
  8. 2024Depth-aware Test-Time Training for Zero-shot Video Object Segmentationcited by 27
  9. 2024DocRes: A Generalist Model Toward Unifying Document Image Restoration Taskscited by 27
  10. 2020SiENet: Siamese Expansion Network for Image Extrapolationcited by 18
  11. 2024Dual-Hybrid Attention Network for Specular Highlight Removalcited by 18
  12. 2023Explicit Visual Prompting for Universal Foreground Segmentationscited by 17
  13. 2022Text-DIAE: A Self-Supervised Degradation Invariant Autoencoders for Text Recognition and Document Enhancementcited by 16
  14. 2023Deep Unrestricted Document Image Rectificationcited by 16
  15. 2022UDoc-GAN: Unpaired Document Illumination Correction with Background Light Priorcited by 15
  16. 2024SMAFormer: Synergistic Multi-Attention Transformer for Medical Image Segmentationcited by 14
  17. 2024Test-Time Intensity Consistency Adaptation for Shadow Detectioncited by 11
  18. 2023DocDeshadower: Frequency-Aware Transformer for Document Shadow Removalcited by 9
  19. 2023Enlighten Anything: When Segment Anything Model Meets Low-Light Image Enhancementcited by 8
  20. 2023Memory augment is All You Need for image restorationcited by 8
  21. 2024ForgeryTTT: Zero-Shot Image Manipulation Localization with Test-Time Trainingcited by 8
  22. 2021End-to-End Unsupervised Document Image Blind Denoisingcited by 7
  23. 2021Enhance to Read Better: A Multi-Task Adversarial Network for Handwritten Document Image Enhancementcited by 7
  24. 2023Encoding Enhanced Complex CNN for Accurate and Highly Accelerated MRIcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 4; 2025: 6; 2026: 2.

12 papers.