Abstract
Ink bleed-through is a persistent challenge in digital archiving, where ink seeping through a page creates "ghost" text that obscures the primary content. This paper introduces a fully automated, non-parametric framework that leverages both sides of a document (recto and verso) to identify and remove bleed-through. By utilizing a joint intensity analysis and exemplar-based inpainting, the proposed method significantly improves legibility while preserving the original document's texture.
Introduction
Document restoration typically employs either "blind" methods (single-sided analysis) or "non-blind" methods (dual-sided analysis). Blind methods frequently fail when bleed-through intensity matches that of the foreground text. Conversely, existing non-blind methods often require manual parameter tuning or user intervention. This research proposes a "hands-off," non-parametric approach capable of handling diverse historical degradations without rigid assumptions about ink or paper types.
Methodology
The framework operates through four primary stages designed to isolate text from background noise and bleed-through artifacts.
1. Preprocessing (Detrending)
Historical manuscripts often suffer from uneven lighting and stains. A local intensity "detrending" method is applied to normalize the background, ensuring that subsequent classification rules are effective across the entire page.
2. Joint Histogram Classification
The core innovation lies in analyzing the recto and verso sides simultaneously. The algorithm constructs a 2D joint histogram where the axes represent the intensities of corresponding pixels on both sides.
A Markov Random Field (MRF) is then used to segment this histogram into four labels, distinguishing between actual text and bleed-through based on the combined intensity profile of both pages.
3. Connected Component Refinement
To address pixel-level misclassifications, the system applies heuristic rules based on character shapes. For instance, a small component labeled as "bleed-through" that lacks a corresponding text structure on the opposite side is corrected.
4. Restoration via Inpainting
Instead of simple whitening, the framework uses exemplar-based image inpainting. This technique samples the actual texture of clean paper from the document to fill in the gaps left by removed bleed-through, followed by blending to ensure a seamless visual result that maintains the historical "feel" of the document.
Evaluation and Results
The method was evaluated using a benchmark dataset of 25 scanned manuscript pairs with manually created ground truth masks. Performance was measured against three state-of-the-art techniques using Foreground Error (FgError), Background Error (BgError), and Total Error (TotError).
The proposed framework achieved the lowest Total Error (0.0196) and Foreground Error (0.0696) in the study. In ranked pair comparisons, it consistently outperformed other methods in both text preservation and noise reduction. Qualitatively, the results exhibit superior clarity without the "halos" common in wavelet-based approaches.
Conclusion
This non-parametric framework provides a robust solution for automated document restoration. By combining joint intensity analysis with spatial context and texture-aware inpainting, it meets the high standards required by historians and archivists. Future work may involve replacing heuristic rules with formal graph-based optimization to further enhance robustness in extremely degraded documents.
Summary updated