Computing homotopic line simplification

Abstract In this paper, we study a variant of the well-known line-simplification problem. For this problem, we are given a polygonal path P = p 1 , p 2 , … , p n and a set S of m point obstacles in the plane, with the goal being to determine an optimal homotopic simplification of P . This means finding a minimum subsequence Q = q 1 , q 2 , … , q k ( q 1 = p 1 and q k = p n ) of P that approximates P within a given error e that is also homotopic to P . In this context, the error is defined under a distance function that can be a Hausdorff or Frechet distance function, sometimes referred to as the error measure. In this paper, we present the first polynomial-time algorithm that computes an optimal homotopic simplification of P in O ( n 6 m 2 ) + T F ( n ) time, where T F ( n ) is the time to compute all shortcuts p i p j with errors of at most e under the error measure F. Moreover, we define a new concept of strongly homotopic simplification where every link q l q l + 1 of Q corresponding to the shortcut p i p j of P is homotopic to the sub-path p i , … , p j . We present a method that in O ( n ( m + n ) log ( n + m ) ) time identifies all such shortcuts. If P is x-monotone, we show that this problem can be solved in O ( m log ( n + m ) + n log n log ( n + m ) + k ) time, where k is the number of such shortcuts. We can use Imai and Iri's framework [24] to obtain the simplification at the additional cost of T F ( n ) .

[1]  A. Melkman,et al.  On Polygonal Chain Approximation , 1988 .

[2]  Mark de Berg,et al.  Streaming Algorithms for Line Simplification , 2010, Discret. Comput. Geom..

[3]  Joseph S. B. Mitchell,et al.  Computing the visibility graph of points within a polygon , 2004, SCG '04.

[4]  Jack Snoeyink,et al.  Counting and Reporting Red/Blue Segment Intersections , 1994, CVGIP Graph. Model. Image Process..

[5]  Mark W. Krentel The Complexity of Optimization Problems , 1988, J. Comput. Syst. Sci..

[6]  John Hershberger,et al.  An O(nlogn) implementation of the Douglas-Peucker algorithm for line simplification , 1994, SCG '94.

[7]  W. S. Chan,et al.  Approximation of Polygonal Curves with Minimum Number of Line Segments , 1992, ISAAC.

[8]  Sergei N. Bespamyatnikh Computing homotopic shortest paths in the plane , 2003, SODA '03.

[9]  Michael T. Goodrich Efficient piecewise-linear function approximation using the uniform metric , 1995, Discret. Comput. Geom..

[10]  Jack Snoeyink,et al.  Testing Homotopy for Paths in the Plane , 2004, Discret. Comput. Geom..

[11]  Lilian Buzer Optimal simplification of polygonal chains for subpixel-accurate rendering , 2009, Comput. Geom..

[12]  M. V. Kreveld,et al.  Topologically correct subdivision simplification using the bandwidth criterion , 1998 .

[13]  W. S. Chan,et al.  Approximation of Polygonal Curves with Minimum Number of Line Segments or Minimum error , 1996, Int. J. Comput. Geom. Appl..

[14]  David H. Douglas,et al.  ALGORITHMS FOR THE REDUCTION OF THE NUMBER OF POINTS REQUIRED TO REPRESENT A DIGITIZED LINE OR ITS CARICATURE , 1973 .

[15]  Mark de Berg,et al.  Computational geometry: algorithms and applications , 1997 .

[16]  Nabil H. Mustafa,et al.  Near-Linear Time Approximation Algorithms for Curve Simplification , 2005, Algorithmica.

[17]  M. Iri,et al.  Polygonal Approximations of a Curve — Formulations and Algorithms , 1988 .

[18]  Sergei Bespamyatnikh An optimal morphing between polylines , 2002 .

[19]  Robert E. Tarjan,et al.  Making data structures persistent , 1986, STOC '86.

[20]  Joseph S. B. Mitchell,et al.  Simplifying a polygonal subdivision while keeping it simple , 2001, SCG '01.

[21]  Leonidas J. Guibas,et al.  New Similarity Measures between Polylines with Applications to Morphing and Polygon Sweeping , 2002, Discret. Comput. Geom..

[22]  Thomas K. Peucker,et al.  2. Algorithms for the Reduction of the Number of Points Required to Represent a Digitized Line or its Caricature , 2011 .

[23]  Mark de Berg,et al.  Computational Geometry: Algorithms and Applications, Second Edition , 2000 .

[24]  Sariel Har-Peled,et al.  Approximating the Fréchet Distance for Realistic Curves in Near Linear Time , 2012, Discret. Comput. Geom..

[25]  Stefan Schirra,et al.  A new approach to subdivision simplification , 1995 .

[26]  Bernard Chazelle An algorithm for segment-dragging and its implementation , 2005, Algorithmica.

[27]  Hiroshi Imai,et al.  An optimal algorithm for approximating a piecewise linear function , 1986 .

[28]  Godfried T. Toussaint,et al.  On Approximating Polygonal Curves in Two and Three Dimensions , 1994, CVGIP Graph. Model. Image Process..

[29]  Mohammad Ghodsi,et al.  Computing polygonal path simplification under area measures , 2012, Graph. Model..

[30]  Leonidas J. Guibas,et al.  Approximating Polygons and Subdivisions with Minimum Link Paths , 1991, Int. J. Comput. Geom. Appl..