On approximating polygonal curves in two and three dimensions

David Eu, Godfried T. Toussaint

Research output: Contribution to journalArticlepeer-review

Abstract

Given a polygonal curve P = [P1, P2 …, Pn], the polygonal approximation problem considered calls for determining a new curve P ′ = [P′1, P′2, …, P′m] such that (i) m is significantly smaller than n, (ii) the vertices of P′ are an ordered subset of the vertices of P, and (iii) any line segment [P′A, P′A+1] of P′ that substitutes a chain [PB, …, PC] in P is such that for all i where B ≤ i ≤ C, the approximation error of Pi with respect to [P′A, P ′A+1], according to some specified criterion and metric, is less than a predetermined error tolerance, Using the parallel-strip error criterion, we study the following problems for a curve P in Rd, where d = 2, 3: (i) minimize m for a given error tolerance and (ii) given m, find the curve P′ that has the minimum approximation error over all curves that have at most m vertices. These problems are called the min-# and min-ε problems, respectively. For R2 and with any one of the L1, L2, or L distance metrics, we give algorithms to solve the min-# problem in O (n2) time and the min-ε problem in O (n2 log n) time, improving the best known algorithms to date by a factor of log n. When P is a polygonal curve in R3 that is strictly monotone with respect to one of the three axes, we show that if the L1 and L metrics are used then the min-# problem can be solved in O(n2) time and the min-ε problem can be solved in O(n3) time. If distances are computed using the L2 metric then the min-# and min-ε problems can be solved in O(n3) and O (n3 log n) time, respectively. All of our algorithms exhibit O(n2) space complexity. Finally, we show that if it is not essential to minimize m, simple modifications of our algorithms afford a reduction by a factor of n for both time and space.

Original languageEnglish (US)
Pages (from-to)231-246
Number of pages16
JournalGraphical Models and Image Processing
Volume56
Issue number3
DOIs
StatePublished - May 1994

ASJC Scopus subject areas

  • Modeling and Simulation
  • Computer Vision and Pattern Recognition
  • Geometry and Topology
  • Computer Graphics and Computer-Aided Design

Fingerprint

Dive into the research topics of 'On approximating polygonal curves in two and three dimensions'. Together they form a unique fingerprint.

Cite this