Mathematical Models for Automatic Line Detection

Arnold K. Griffith

Introduction

This 1970 paper from Arnold K. Griffith at the MIT Artificial Intelligence Laboratory represents a foundational shift in computer vision. It moves beyond simple gradient-based heuristics to propose a rigorous Bayesian framework for detecting straight edges in digital images. By accounting for the physics of light, lens blurring, and sensor noise, Griffith established a methodology that treats edge detection as a formal statistical hypothesis test.

The Problem of Local Operators

In the early development of computer vision, identifying object boundaries was a primary challenge. Standard tools of the era, such as the Roberts cross operator, were "local," examining only tiny 2x2 pixel neighborhoods. These methods were highly susceptible to noise and frequently failed to distinguish between true edges, surface highlights, or sensor artifacts. Griffith sought a "model-based" approach that specifically looked for the pattern of a blurred, straight edge while statistically accounting for smooth intensity variations and electronic noise.

Bayesian Methodology

The core of Griffith's approach is a Bayesian decision procedure. He defines a "line predicate" to compute the probability $P(CB/J)$—the probability that a centered boundary ($CB$) exists given a set of intensity samples ($J$).

Classification hierarchy for image features, distinguishing centered boundaries (CB) from other regions (CN).

To make this statistically tractable, the model incorporates several key technical components:

  • Logarithmic Intensity: Intensity values are treated as logarithms of scene brightness, making edge contrast approximately constant across varying lighting conditions.
  • Physical Modeling: The scene is modeled as "prismatic solids" (the classic AI "Blocks World"). Optical blurring is explicitly modeled as a convolution of a sharp edge with a point-spread function.
  • Sampling Geometry: The algorithm utilizes $n$ parallel scans across a potential edge, with each scan containing $m$ points.
  • Matched Filters: To ensure computational feasibility, Griffith simplifies probability sums into dot products, correlating observed intensities with "paradigm" vectors of ideal blurred edges.
The Gaussian likelihood function used to model intensity samples across multiple scans.

Experimental Evaluation

Evaluation was performed on "Blocks World" scenes consisting of white, plane-faced prismatic solids. Images were captured using a "Vidissector" camera, providing approximately 80 gray levels. The author utilized seven 16-vector "paradigm" profiles to represent various edge types, including cracks, highlights, and simple edges.

Key Insights and Results

The primary innovation of this work is the treatment of edge detection as an inference problem: "Which hypothesis (Edge vs. No Edge) best explains this noisy data?" Griffith recognized that a true line is characterized by a consistent gradient across multiple parallel scans, rather than just a strong local gradient.

The resulting operator demonstrated superior performance:

  • Sensitivity: It was found to be more than twice as sensitive as the Roberts operator, detecting subtle edges invisible to local gradients.
  • Optimal Thresholding: The Bayesian framework allowed for thresholds that guaranteed specific bounds on false positives.
  • Robustness: By using a wider sampling domain (roughly 1.5% of the field width), the system proved far more resilient to random sensor noise.

Limitations

Despite its rigor, the 1970 model has notable constraints. It is strictly designed for straight edges and does not handle curves or complex textures. Furthermore, the algorithm assumes scans are roughly perpendicular to the edge; oblique crossings require additional heuristic cleanup. Nevertheless, Griffith’s work remains a masterclass in bridging abstract mathematical theory with practical algorithmic implementation.

Summary updated

BibTeX
@inproceedings{griffith1971mathematical,
  author = {Arnold K. Griffith},
  title = {{Mathematical Models for Automatic Line Detection}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1971},
}
Figure