Built independently by an author, for readers. Read the story and support ChapterPal

keyword

document image binarization

Document image binarization is an image processing technique that converts a color or grayscale document image into a two-tone, black-and-white representation by separating foreground text and strokes from the background. By assigning each pixel to either the foreground or the background, the process eliminates visual artifacts and degradations such as shadows, uneven illumination, ink bleed-through, stains, and paper aging. This separation serves as an essential preprocessing step in document analysis systems, enhancing the readability of text and significantly improving the performance of downstream tasks like optical character recognition, layout analysis, and digital preservation.

1 item

DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks

DocRes: A Generalist Model Toward Unifying Document Image Restoration Tasks

Jiaxin Zhang, Dezhi Peng, Chongyu Liu, Peirong Zhang, Lianwen Jin

OrganizationsINTSIG-SCUT Joint Laboratory of Document Recognition and UnderstandingSouth China University of Technology

Why you should read this

Introduces DocRes, a unified generalist model that uses dynamic task-specific visual prompts to perform five distinct document restoration tasks—including dewarping, deshadowing, and binarization—while matching or exceeding the performance of specialized single-task systems.

Document image restoration is a crucial aspect of Document AI systems, as the quality of document images significantly influences the overall performance. Prevailing methods address distinct restoration tasks independently, leading to intricate systems and the incapability to harness the potential synergies of multi-task learning. To overcome this challenge, we propose DocRes, a generalist model that unifies five document image restoration tasks including dewarping, deshadowing, appearance enhancement, deblurring, and binarization. To instruct DocRes to perform various restoration tasks, we propose a novel visual prompt approach called Dynamic Task-Specific Prompt (DTSPrompt). The DTSPrompt for different tasks comprises distinct prior features, which are additional characteristics extracted from the input image. Beyond its role as a cue for task-specific execution, DTSPrompt can also serve as supplementary information to enhance the model's performance. Moreover, DTSPrompt is more flexible than prior visual prompt approaches as it can be seamlessly applied and adapted to inputs with high and variable resolutions. Experimental results demonstrate that DocRes achieves competitive or superior performance compared to existing state-of-the-art task-specific models. This underscores the potential of DocRes across a broader spectrum of document image restoration tasks. The source code is publicly available at this https URL

Added

2026-10-04