Data GroundTruth, Complexity, and Evaluation Measures for Color Document Analysis

Leon Todoran, Marcel Worring, Arnold W. M. Smeulders

Introduction

By the early 2000s, black-and-white document analysis had reached a level of maturity supported by standardized datasets like UW and MTDB. However, the analysis of color documents remained in its infancy. Researchers often relied on small, private datasets, which hindered fair algorithmic comparison and slowed progress. Color documents introduce significant challenges: text is frequently overlaid on complex images, backgrounds are non-uniform, and layouts are often non-linear. This paper addresses these gaps by introducing the UvA Color Document Dataset and a novel framework for evaluating document analysis based on task-specific complexity.

Methodology: Decomposing Document Analysis

The authors propose a graph-based model to decompose color document analysis into four distinct, sequential steps:

  1. Page Segmentation: Identifying geometric objects such as text, images, and graphics.
  2. Layout Detection: Determining spatial "on top" (layering) relations between objects.
  3. Logical Object Classification: Labeling objects with semantic roles (e.g., "Headline," "Logo").
  4. Reading Order Detection: Establishing the sequence in which a human would consume the text.

A core innovation of this work is the Complexity Measure ($C_n$) for each step. Rather than relying solely on accuracy, the authors argue that performance should be weighted against the inherent difficulty of the document. For instance, segmentation complexity ($C_1$) is derived from color non-uniformity and shape irregularity, while reading order complexity ($C_4$) is calculated based on the "turning angles" of the path connecting text blocks.

The UvA Color Document Dataset

To support this framework, the authors developed the UvA Color Document Dataset, consisting of over 1,000 scanned pages at 300dpi in 24-bit color. The dataset draws from seven internationally recognized magazines: Cosmopolitan, Time, NewsWeek, National Geographic, IEEE Spectrum, The New Yorker, and IEEE Computer.

The ground truth for this dataset was manually generated using a custom tool (GT-UvA), capturing geometric shapes, logical labels, and reading order. To ensure reliability, a "variability test" was conducted where two different humans ground-truthed the same pages, resulting in a 97-99% agreement rate.

Complexity Analysis

The researchers found that complexity is highly task-dependent. A document that is easy to segment might have a highly complex reading order, and vice versa.

Table 1: Average complexity values ($C_1$ through $C_4$) for various magazine types in the UvA dataset.

As shown in the data, Cosmopolitan exhibits the highest segmentation complexity ($C_1 = 0.29$) due to its image-heavy, flashy advertisements. In contrast, NewsWeek and IEEE Spectrum present the most significant challenges for reading order detection ($C_4 = 0.29$ and $0.27$, respectively), despite appearing less visually "busy" than fashion magazines. Technical publications like IEEE Computer consistently show the lowest complexity across all measures, reflecting their more rigid, predictable layouts.

Evaluation Framework

The paper adapts standard Precision and Recall metrics to work with overlapping regions and graph edges. A key feature of this framework is "error isolation." By using perfect segmentation data to test classification or reading order algorithms, researchers can evaluate the true potential of a specific component without it being penalized for errors made in earlier processing stages.

Conclusion

The UvA Color Document Dataset and its accompanying complexity measures provide a rigorous foundation for the field of color document analysis. By moving beyond simple accuracy and accounting for the inherent difficulty of different document types, this framework enables more nuanced and fair comparisons between algorithms. While the manual effort required for ground-truthing remains a bottleneck, this benchmark represents a significant step toward maturing the analysis of complex, layered color documents.

Summary updated

BibTeX
@inproceedings{todoran2002data,
  author = {Leon Todoran and Marcel Worring and Arnold W. M. Smeulders},
  title = {{Data GroundTruth, Complexity, and Evaluation Measures for Color Document Analysis}},
  booktitle = {Document Analysis Systems},
  year = {2002},
  doi = {10.1007/3-540-45869-7\_55},
}
Figure