article
Free Access

A fixed grid curve representation for efficient processing

Published:23 August 1978Publication History
Skip Abstract Section

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.

References

  1. 1 Boyell, Roger L. The method of successive grids for reduction of function storage requirements. Comp. J. 5 (Jan. 1963), 320-321.Google ScholarGoogle ScholarCross RefCross Ref
  2. 2 Burton, Warren. Representation of many-sided polygons and polygonal lines for rapid processing. Comm. ACM 20, 3 (March 1977), 166-171. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. 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 ScholarGoogle Scholar
  4. 4 Freeman, Herbert. Computer processing of line-drawing images. Comp. Surveys 6, 1 (March 1974), 57-97., Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. 5 Mandelbrot, Benoit. How long is the coast of Britain? Statistical self-similarity and fractional dimension. Science 156 (May 5,1967), 636-638.Google ScholarGoogle Scholar
  6. 6 Mandelbrot, Benoit. Fractals: Form, Chance and Dimension. W. H. Freeman, San Francisco, 1977.Google ScholarGoogle Scholar

Index Terms

  1. A fixed grid curve representation for efficient processing

          Recommendations

          Comments

          Login options

          Check if you have access through your login credentials or your institution to get full access on this article.

          Sign in

          Full Access

          PDF Format

          View or Download as a PDF file.

          PDF

          eReader

          View online with eReader.

          eReader
          About Cookies On This Site

          We use cookies to ensure that we give you the best experience on our website.

          Learn more

          Got it!