Linear Feature Extraction and Description
Proceedings of the Sixth International Joint Conference on Artificial Intelligence. .
© 1979 International Joint Conferences on Artificial Intelligence
Abstract
A technique of edge detection and linking for linear feature extraction and its awlications to detection of roads and runway like structures is described. Experimental results are inclooed.
- A. Rosenfeld and A. Kak, Digital Picture Processing, Academic Press, 1976.
- w.K. Pratt, Digital Image Processing, Johr Wiley & Sons, 197b.
- L.S. Davis, "A Survey of Edge Detectior
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
1. IN'I.'OODUCTIOO
1he importance of effective early processing of visual input for a complete image understanding system is generally accepted. The early processing may consist of a description of image discontinuities, usually in the form of edges and lines, or segmentation into uniform regions. In this paper, we describe a technique for extracting linear features in an image by a process of edge detection and line linking and also of deriving higher level descriptions from the extracted lines. These techniques are aimed to be general. Applications to road detection and airport recognition tasks are described.
Edge detection and line finding techniques, of course, have been studied since the early days of this field. The literature is too numerous to list here; partial surveys may be found in [l-3). In spite of the large amount of previous research in this area, no algorithms suitable for complex imagery are apparent. Here, we describe an edge detection and line finding technique with superior performance on a wide variety of images. Many of the steps in our process have been suggested by other researchers previously. However, due to limitations of space, we are unable to elaborate on these in this paper. More details may be found in [4).
2. ErXiE DETECI'IOO AND LINE FINDING
Convolution with ~ Masks
Edge detection starts by convolving a given image with masks corresponding to ideal step edges in a selected number of directions. The
This research was supported by the Defense Advanced Research Projects Agency of the Department of Defense under contract 00. F-33615-/6~-1203. Dr. Keith Price has been extremely helpful in many discussions and providing image manipulation software.
magnitude of the convolved output and the direction of the mask giving the highest output at each pixel are recorded as edge data. We have found 5 x 5 masks in six directions to be suitable for most images of interest.
1'hinning ana Thresholding
1·he presence of an edge at a pixel is decided by comparing the edge data with sane of the 8 neighboring pixels. An edge elements is said to be present at a pixel if:
- the output edge magnitooe at the pixel is larger than the edge magnitudes of its two neighbours in a direction normal to the direction of this edge. (The normal to a 30 degree edge is awroximated by the diagonals on a 3 x 3 grid);
- the edge directions of the two neighboring pixels are within one unit (30 degrees) of that of the central pixel; and
- the edge magnitude of the central pixel exceeds a fixed threshold.
Further, if the conditions 1 and 2 above are satisfied, the two neighboring pixels are disqualified from being candidates for edges. 1'his algorithm produces results iooepenclent of the order in which the pixels are examined.
Linking
1he first step in boundary tracing is to determine the continuing neighbors on the boundary for each edge point. Typically each point has two neighbors, known as a predecessor and a successor, except for the erXI-points, isolated points and where two boundary segments join or intersect. This connectivity information is stored in two files, called p and s files, of the same size as the input image. Each element in these files contains an integer corresponding to the proceeding (or succeeding) edge among the 11 neighbors. Forks are indicated by an extra bit as explained later.
Our criteria for connecting two edge points is that they be neighbors, in the ~-neighbor sense, ana that they have edge directions differing by not more than a certain value, set at 30 degrees for masks described previously. Due to the nature of thinning, only three locations are potential candidates for predecessor or successor elements as shown in Figs. l(a) and (b) for edges of U and 3U degree directions respectively. The determination of successor (predecessor) pixels is elaborate due to the several cases that are possible at each pixel:
- Only one element is an acceptable successor. In this case the successor (predecessor) is recorded in the s(p) file as an integer
- corresponding to its location.
- Two candidates are acceptable successors. If they are not 4-neighbors, a fork is present as shown in Fig. 2(a). If they are 4-neighbors, a fork exists only if their directions differ by more than~ units (60 degrees), as in Fig. 2(b). Otherwise no fork exists and the nearer of the two (using Euclidean distance), forms the successor (predecessor), as shown in Fig. 2(c). ~hese rules are for smooth continuation of lines and were derived by complete enumeration of such configurations. In case of a fork, the stronger of the two candidates in edge magnitude forms the main stream. ~he fact that a fork exists is noted in the s(p) file by-marking one bit. This information is sufficient to trace both streams of a fork by examining the p and s files
- s imul taneousl y.
- ~'hree candidates are acceptable successors. Fig. 3 shows all possible such configurations for a vertical edge (no three successor configurations occur for 30 degree edges) · In these cases, a fork exists. The main stream is formed by the nearer of the two edges having the same direction, and the other candidate with
- different direction froms the other branch.
'lhe predecessor-successor representation of the linked edge elements is in contrast to explicit lists of elements forming a connected segment. For larger images, not entirely resident in core, it is more convenient to form predecessor and successor matrices first, as the processing requires only a sequential scan of the image file. Further, this representation is "iconic" and certain proximity computations can be made
more easily.
Tracing Boundary Segments
Boundary segments containing ordered lists of edge elements are computed from the predecessor-successor (p-s) files. An edge point with no predecessors determines the
starting point. A boundary segment is traced by following the successor elements until an element with no successors is reached. At a point with multiple successors, the "main" fork is chosen. The secondary branches of forks are picked up on a second pass that starts tracing at such points. A third pass is required to trace circular or closed segments. This pass begins arbitrarily at an edge point that has not been thus far visited, i.e. included in a segment. (A temporary binary file . is used to store this information).
Linear Approximation
Each boundary segment is awroximated series of piecewise linear segments. algorithm used is a variation of the well iterative end-point fit algorithm [~] pp. 338-339). Results of processing airport image are shown in Figure 4. by Th known (se a
~. OBJECt· DESCRIPTION
A major goal of this research is to comput descriptions of objects useful for thei recognition. Certain classes of objects, sue as roads and airport runways, are characterize as being bounded by elongated parallel lines. ~hese lines have opposite contrasts and we cal l them "anti-puallel" lines, abbreviated a "apars". These apars are conveniently describe by a medial line and width of the pair. Thes descriptions were motivated as bein two-dimensional special cases of Binford' "Generalized Cone" representation [6]. Findin apars in facilited by sorting line segments b
their orientations.
Proper choice of apars that correspond t objects can be difficult and is like resolvin figure-ground relationships However for man applications, such as for roads and runwa detection, a choice of the closest pairs rna suffice and be aided by knowledge of the desire objects being brighter or darker than th
background.
Fig. 4(c) shows the axes of the apars compute from the segments in fig. 4(b). Only th closest pairs were retained. Work is i progress to recognize specific airports from th spatial relationships of the partial axes of th
runways and taxiways as shown here.
@inproceedings{ijcai1979p140,
title = {Linear Feature Extraction and Description},
author = {Nevatia, Rainakant and Babu, K. Ramesh},
booktitle = {Proceedings of the Sixth International Joint Conference on
Artificial Intelligence, {IJCAI-79}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Bruce G. Buchanan},
year = {1979},
month = {8},
url = {https://ijcai.org/proceedings/1979/140},
}
TY - CPAPER TI - Linear Feature Extraction and Description AU - Nevatia, Rainakant AU - Babu, K. Ramesh T2 - Proceedings of the Sixth International Joint Conference on Artificial Intelligence, IJCAI-79 PB - International Joint Conferences on Artificial Intelligence PY - 1979 UR - https://ijcai.org/proceedings/1979/140 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: