[Paper Review] Learning Document Image Binarization from Data
This paper proposes a fully trainable, parameter-free supervised learning approach for document image binarization that leverages a high-dimensional feature space combining traditional, reformulated, and novel features—Logarithm Intensity Percentile (LIP) and Relative Darkness Index (RDI)—to learn complex decision functions. Trained on just 1.5% of labeled data, the method achieves state-of-the-art performance on DIBCO benchmarks and generalizes well to out-of-domain images.
In this paper we present a fully trainable binarization solution for degraded document images. Unlike previous attempts that often used simple features with a series of pre- and post-processing, our solution encodes all heuristics about whether or not a pixel is foreground text into a high-dimensional feature vector and learns a more complicated decision function. In particular, we prepare features of three types: 1) existing features for binarization such as intensity [1], contrast [2], [3], and Laplacian [4], [5]; 2) reformulated features from existing binarization decision functions such those in [6] and [7]; and 3) our newly developed features, namely the Logarithm Intensity Percentile (LIP) and the Relative Darkness Index (RDI). Our initial experimental results show that using only selected samples (about 1.5% of all available training data), we can achieve a binarization performance comparable to those fine-tuned (typically by hand), state-of-the-art methods. Additionally, the trained document binarization classifier shows good generalization capabilities on out-of-domain data.
Motivation & Objective
- To develop a parameter-free, fully trainable binarization solution that overcomes limitations of heuristic thresholding methods.
- To improve robustness on degraded document images with challenges like ink bleed, fading, and uneven lighting.
- To enable generalization to out-of-domain data without re-tuning or manual parameter adjustment.
- To demonstrate that supervised learning with minimal labeled data can outperform or match hand-crafted, fine-tuned methods.
- To introduce novel features (LIP and RDI) that encode high-level document characteristics for better discrimination.
Proposed method
- The method constructs a high-dimensional feature vector per pixel combining three types: standard features (intensity, contrast, Laplacian), reformulated features from existing binarization functions, and new features (LIP and RDI).
- LIP captures intensity distribution via logarithmic percentile statistics, while RDI quantifies relative darkness in local neighborhoods to distinguish text from background.
- A random forest classifier is trained using a subset of labeled pixels (1.5% of total) via 10-fold cross-validation to optimize hyperparameters.
- The final model is retrained on all available training samples and used to predict binary labels for all pixels in test images.
- Feature importance is analyzed to identify top contributors: RDI, Global Intensity Histogram, and LIP dominate overall contribution; RDI, LTSI, and Su lead in dimensional contribution.
- Inference time ranges from 5 to 30 seconds per image, depending on size, due to pixel-wise classification.
Experimental results
Research questions
- RQ1Can a supervised learning approach achieve binarization performance comparable to fine-tuned, state-of-the-art heuristic methods without manual parameter tuning?
- RQ2Can a model trained on a small fraction of labeled data (1.5%) generalize effectively to unseen, out-of-domain document images?
- RQ3Do novel features like LIP and RDI significantly improve binarization performance on degraded documents?
- RQ4How does the performance of the learned classifier compare across diverse, real-world document degradation types?
- RQ5What is the contribution of different feature types to the final binarization accuracy and robustness?
Key findings
- The proposed method achieves an F1-score of 92.01% on DIBCO 2012, 91.40% on DIBCO 2013, and 92.69% on DIBCO 2014, matching or exceeding top-performing contest entries.
- The model maintains a DRD score below 3 pixels across all datasets, with the lowest DRD of 0.902 on DIBCO 2014, indicating high precision in text boundary localization.
- With only 1,920 training samples (1.5% of total), the model achieves 91.47% F1, and performance plateaus beyond 17,280 samples, indicating diminishing returns with more data.
- The model generalizes well to out-of-domain data, successfully binarizing images with faded text and dirty backgrounds not seen during training.
- Feature importance analysis shows RDI, Global Intensity Histogram, and LIP are the most influential feature types overall, while RDI, LTSI, and Su are top contributors per dimension.
- The method achieves PSNR values of 19.92 dB (DIBCO 2012), 20.13 dB (DIBCO 2013), and 19.47 dB (DIBCO 2014), indicating strong structural similarity to ground truth.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.