paper-with-me

홈 › Papers

TextDoctor: Unified Document Image Inpainting via Patch Pyramid Diffusion Models

2025-03-06 · Wanglong Lu, Lingming Su, Jingjing Zheng, Vinícius Veloso de Melo, Farzaneh Shoeleh, John Hawkin, Terrence Tricco, Hanli Zhao, Xianta Jiang

Digital versions of real-world text documents often suffer from issues like environmental corrosion of the original document, low-quality scanning, or human interference. Existing document restoration and inpainting methods typically struggle with generalizing to unseen document styles and handling high-resolution images. To address these challenges, we introduce TextDoctor, a novel unified document image inpainting method. Inspired by human reading behavior, TextDoctor restores fundamental text elements from patches and then applies diffusion models to entire document images instead of training models on specific document types. To handle varying text sizes and avoid out-of-memory issues, common in high-resolution documents, we propose using structure pyramid prediction and patch pyramid diffusion models. These techniques leverage multiscale inputs and pyramid patches to enhance the quality of inpainting both globally and locally. Extensive qualitative and quantitative experiments on seven public datasets validated that TextDoctor outperforms state-of-the-art methods in restoring various types of high-resolution document images.

📄 PDF Abstract BibTeX arXiv:2503.04021

Code (0)

등록된 구현이 없습니다.

Tasks

Image Inpainting

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
Inpainting Train a convolutional neural network to generate the contents of an arbitrary image region conditioned on its surroundings.

Similar Papers 제목 키워드 기반

Defending Adversarial Patches via Joint Region Localizing and Inpainting

2023-07-26 · Junwen Chen, Xingxing Wei

Deep neural networks are successfully used in various applications, but show their vulnerability to adversarial examples. With the development of adversarial patches, the feasibility of attacks in physical scenes increas…

Image Inpainting by Patch Propagation Using Patch Sparsity

2010-05-01 · journal 2010 5 · Zongben Xu, Jian Sun

This paper introduces a novel examplar-based inpainting algorithm through investigating the sparsity of natural image patches. Two novel concepts of sparsity at the patch level are proposed for modeling the patch priorit…

Image InpaintingNovel Concepts

A nonlocal feature-driven exemplar-based approach for image inpainting

2019-09-20 · Viktor Reshniak, Jeremy Trageser, Clayton G. Webster

We present a nonlocal variational image completion technique which admits simultaneous inpainting of multiple structures and textures in a unified framework. The recovery of geometric structures is achieved by using gene…

feature selectionImage Inpainting

BINet: a binary inpainting network for deep patch-based image compression

2019-12-11 · André Nortje, Willie Brink, Herman A. Engelbrecht, Herman Kamper

Recent deep learning models outperform standard lossy image compression codecs. However, applying these models on a patch-by-patch basis requires that each image patch be encoded and decoded independently. The influence …

Image Compression

Ultra High-Resolution Image Inpainting with Patch-Based Content Consistency Adapter

2025-10-15 · Jianhui Zhang, Sheng Cheng, Qirui Sun, Jia Liu 외 arxiv

In this work, we present Patch-Adapter, an effective framework for high-resolution text-guided image inpainting. Unlike existing methods limited to lower resolutions, our approach achieves 4K+ resolution while maintainin…

Image Inpainting