Skip to main content
QUICK REVIEW

[Paper Review] Combining Morphological and Histogram based Text Line Segmentation in the OCR Context

Pit Schneider|arXiv (Cornell University)|Mar 16, 2021
Handwritten Text Recognition TechniquesComputer Science9 references2 citations
TL;DR

This paper proposes COMBISEG, a hybrid text line segmentation method combining morphological operations and horizontal histogram projections for robust, efficient OCR of historic newspapers. It achieves 99.2% accuracy and 17.08ms average processing time per image—significantly outperforming the benchmark BENCH in speed (769.25ms) while maintaining high precision on degraded, binarized, single-column text scans.

ABSTRACT

Text line segmentation is one of the pre-stages of modern optical character recognition systems. The algorithmic approach proposed by this paper has been designed for this exact purpose. Its main characteristic is the combination of two different techniques, morphological image operations and horizontal histogram projections. The method was developed to be applied on a historic data collection that commonly features quality issues, such as degraded paper, blurred text, or presence of noise. For that reason, the segmenter in question could be of particular interest for cultural institutions, that want access to robust line bounding boxes for a given historic document. Because of the promising segmentation results that are joined by low computational cost, the algorithm was incorporated into the OCR pipeline of the National Library of Luxembourg, in the context of the initiative of reprocessing their historic newspaper collection. The general contribution of this paper is to outline the approach and to evaluate the gains in terms of accuracy and speed, comparing it to the segmentation algorithm bundled with the used open source OCR software.

Motivation & Objective

  • To develop a fast, accurate text line segmentation method tailored for historic newspaper collections with degraded quality.
  • To reduce computational cost in OCR pipelines by minimizing processing time without sacrificing segmentation accuracy.
  • To address limitations of existing open-source OCR tools like BENCH, which suffer from high processing times and fragmentation in noisy, low-quality scans.
  • To create a lightweight, non-learning-based solution that avoids training phases while maintaining robustness on real-world historic document data.
  • To integrate seamlessly into existing OCR pipelines, specifically for the National Library of Luxembourg’s newspaper reprocessing initiative.

Proposed method

  • COMBISEG processes binarized input images (Ib) using morphological operations, including dilation with a horizontal structuring element to connect broken text components.
  • It applies horizontal histogram projection on the morphologically processed image (Ip) to detect peaks and valleys corresponding to text line positions.
  • Bounding boxes are generated based on histogram peaks, with postprocessing rules to merge adjacent boxes if vertical overlap exceeds 75% of one box or 50% of their combined height.
  • The method uses Otsu’s binarization as a preprocessing step and assumes single-column, horizontally aligned text with no handwriting.
  • It avoids complex layout analysis, focusing solely on line-level segmentation to reduce computational overhead.
  • Postprocessing merges fragmented boxes from both COMBISEG and BENCH using consistent vertical overlap thresholds to ensure fair comparison.

Experimental results

Research questions

  • RQ1Can a hybrid approach combining morphology and histogram projections improve text line segmentation accuracy on degraded historic newspaper scans?
  • RQ2Does the proposed COMBISEG method achieve significantly lower processing time than the BENCH benchmark while maintaining high accuracy?
  • RQ3To what extent does the combination of morphological preprocessing and histogram analysis mitigate issues like noise, blurred text, and line connectivity errors?
  • RQ4How does COMBISEG perform compared to BENCH in terms of robustness on real-world, low-quality historical document data?
  • RQ5Can a non-learning-based method outperform learning-based alternatives in speed and efficiency for single-column, binarized text segmentation?

Key findings

  • COMBISEG achieved 99.2% segmentation accuracy, compared to BENCH’s 98.2%, based on ground truth evaluation of 114,625 images.
  • The average processing time for COMBISEG was 17.08ms per image, a 97.8% reduction compared to BENCH’s 769.25ms per image.
  • The method demonstrated superior robustness on degraded paper, noise, and blurred text, effectively reducing false positives and line merging errors.
  • Postprocessing rules successfully normalized output fragmentation, enabling fair comparison between COMBISEG and BENCH.
  • COMBISEG’s non-training-based design eliminates the need for model retraining, making it ideal for archival systems with evolving data.
  • The algorithm is well-suited for integration into OCR pipelines for large-scale historic document digitization projects, as validated by its adoption in the National Library of Luxembourg’s newspaper reprocessing initiative.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.