A Program For Geometrical Pattern Recognition Based On The Linguistic Method Of The Description And Analysis Of Geometrical Structures

V. Gallo

Published in the mid-1970s by Valentina Galló of the Hungarian Academy of Sciences, this research explores a formal linguistic framework for computer vision. The system aims to recognize structure in 2D industrial data by treating geometry as a language with its own syntax and grammar.

Introduction

In early computer vision, recognizing objects went beyond simple pixel classification; it required understanding the structural "logic" of a drawing. Industrial drawings consist of discrete elements—lines, circles, and curves—assembled according to specific rules. Galló addresses the challenge of bridging raw quantitative data (X-Y coordinates) with qualitative structural meaning, such as identifying a "screw thread." The goal was a flexible system where recognition logic is decoupled from the analysis engine.

The Linguistic Approach to Geometry

The core of the methodology is a linguistic approach to pattern recognition. In this framework, geometric structures are decomposed into:

  • Terminal Symbols (Primitives): Basic building blocks like line segments and arcs.
  • Non-terminal Symbols: Sub-patterns or complex parts of an object.
  • Grammar Rules: Definitions of how primitives combine. For instance, a rule might define a mechanical feature as two parallel lines connected by arcs.
Figure 2: Basic geometric primitives (lines and arcs) used as terminal symbols in the grammar.

The system utilizes a specialized list-processing system called LIDI-72, developed in FORTRAN, to manage the hierarchical, tree-like data structures. The analysis follows a "bottom-up" approach called analysis by synthesis, where the program attempts to synthesize higher-level structures from simple elements by verifying geometric relations like parallelism or endpoint equivalence.

Implementation and Case Study

The system was implemented on a CDC-3300 computer. Rather than using modern large-scale datasets, the research relied on binary input from feature extraction on real objects and idealized lists of primitives for testing logic. A primary case study involved identifying "screw portions" and other industrial parts.

Figure 1: Examples of industrial drawings (a screw and a complex part) analyzed by the system.

By separating the logic (grammar) from the execution (analyzer), the system became highly modular. Recognizing a new part required only a new grammar definition rather than a complete software rewrite.

Results and Insights

The program successfully demonstrated the ability to:

  1. Process primitive lists and apply hierarchical rules to synthesize complex shapes.
  2. Generate a complete analysis tree detailing the grouping of primitives.
  3. Quantitatively verify geometric relations, such as identifying specific arc types based on angular differences.

A key insight was the inclusion of "small indefinite elements" as primitives, an early acknowledgment of sensor noise in real-world data.

Limitations

Despite its success, the "analysis by synthesis" method faces computational complexity issues when grammars contain cross-recursions. Furthermore, the system is strictly 2D; extending it to 3D would require significantly more complex spatial relations. Finally, the linguistic analysis depends entirely on the accuracy of the initial feature extraction phase that converts raw pixels into geometric primitives.

Summary updated

BibTeX
@inproceedings{gallo1975program,
  author = {V. Gallo},
  title = {{A Program For Geometrical Pattern Recognition Based On The Linguistic Method Of The Description And Analysis Of Geometrical Structures}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1975},
}
Figure