Abstract
A compact form of representation for curves and regional boundaries is described.
A curve is approximated by a polygonal line where each side joins a grid point to one of its eight nearest neighbors (as is done in the commonly used chain-encoded representation). Vertex number (2k + 1)2m is defined relative to vertex number k2m+l. The resulting representation requires about 5 bits of storage per vertex, irrespective of the total length of the curve.
Sections of a curve may be collectively examined. Typically, that part of the curve between vertices number k2m and (k + 1)2m, for some k and m, is considered. Given the locations of the endpoints of a section and the number of sides in the section, it is easy to compute a bounding rectangle which must completely contain the section. Often, this is all the information we need to know about a section. For example, two sections cannot intersect if their bounding rectangles do not overlap. When necessary, a section can be easily divided into two smaller sections, each of which can be examined in turn. This process may be continued down to single sided sections if necessary.
Under favorable circumstances, for an n sided approximation to a closed curve, the time required to determine if a point is inside the curve is independent of n. The intersection of n sided approximations to two curves can usually be found in 0(1n n) time.
- 1 Boyell, Roger L. The method of successive grids for reduction of function storage requirements. Comp. J. 5 (Jan. 1963), 320-321.Google Scholar
Cross Ref
- 2 Burton, Warren. Representation of many-sided polygons and polygonal lines for rapid processing. Comm. ACM 20, 3 (March 1977), 166-171. Google Scholar
Digital Library
- 3 Burton, Warren. A fixed grid curve or region representation for rapid processing. Report CS78-1. Dept. Math. and Comp. Sci., Michigan Technological Univ., January 1978.Google Scholar
- 4 Freeman, Herbert. Computer processing of line-drawing images. Comp. Surveys 6, 1 (March 1974), 57-97., Google Scholar
Digital Library
- 5 Mandelbrot, Benoit. How long is the coast of Britain? Statistical self-similarity and fractional dimension. Science 156 (May 5,1967), 636-638.Google Scholar
- 6 Mandelbrot, Benoit. Fractals: Form, Chance and Dimension. W. H. Freeman, San Francisco, 1977.Google Scholar
Index Terms
A fixed grid curve representation for efficient processing
Recommendations
A fixed grid curve representation for efficient processing
A compact form of representation for curves and regional boundaries is described.
A curve is approximated by a polygonal line where each side joins a grid point to one of its eight nearest neighbors (as is done in the commonly used chain-encoded ...
Strip trees: a hierarchical representation for curves
The use of curves to represent two-dimensional structures is an important part of many scientific investigations. For example, geographers use curves extensively to represent map features such as contour lines, roads, and rivers. Circuit layout ...
Representation of many-sided polygons and polygonal lines for rapid processing
A representation for polygons and polygonal lines is described which allows sets of consecutive sides to be collectively examined. The set of sides are arranged in a binary tree hierarchy by inclusion. A fast algorithm for testing the inclusion of a ...






Comments