Download presentation
Presentation is loading. Please wait.
1
Polygonal Curve Simplification
Open Problem 24 Polygonal Curve Simplification From the Open Problems Project Jory Denny Computational Geometry CSCE Professor Nancy M. Amato 1 1
2
Outline Introduction Results Conclusion Problem Definition
Applications Results Douglas and Peuker Optimal Algorithms Approximate Algorithms Conclusion Summary of Results Future Directions 2 2
3
Introduction Problem Definition
Given a polygonal curve π= π 0 , π 1 , π 2 ,β¦, π πβ1 , a polygonal curve π β² ={ π π 0 = π 0 ,β¦, π π π = π π } is a simplification of π if π<π, and π β² βπ. Distance metric π( π 1 π 2 , π π ) β minimum distance between π π and π 1 π 2 Example: Euclidean, Manhattan, etc. Error criterion β method of calculating error π( π π π π ) Example: Hausdorff criterion - max πβ€πβ€π {π π π π π , π π } Error π of a simplification πβ² is defined as the maximum error of each line segment in πβ²
4
Introduction Problem Definition
πΌ pn p1 Solid line is original curve Dotted line is an example simplification πΌ is the error of the simplification (maximum distance of one of the original points to a line segment of the simplification)
5
Introduction Problem Definition
Problems: Min-# problem: Given a polygonal curve π and a real number πβ₯0, compute an π-approximation of π that uses the smallest number of vertices among all π-approximations of π. Min-π problem: Given a polygonal curve π and an integer π, compute an approximation of π with at most π vertices that minimizes the error over all approximations of π that have at most π vertices. Bounds dependent on the error criterion and distance metric used
6
Introduction Applications
Geographic Information Systems Cartography Computer Graphics Medical Imaging Data Compression
7
Outline Introduction Results Conclusion Problem Definition
Applications Results Douglas and Peuker Optimal Algorithms Approximate Algorithms Conclusion Summary of Results Future Directions 7 7
8
Results Douglas and Peucker (Douglas and Peucker, 73)
Input is πβ₯0 Recursive line simplification Approximate curve by line segment π 0 π π Find the vertex π π furthest from this line If the error of this vertex is within tolerance stop Else recurs on each sub-chain π 1 ={ π 0 ,β¦, π π } and π 2 = π π+1 , β¦, π πβ1 π(π log π) -time implementation (Hershberger and Snoeyink, 94) The algorithm is commonly used heuristic
9
Results Douglas and Peucker (Douglas and Peucker, 73)
Iteration 1: Intermediate point selected with largest error. Recurs on both halves. Iteration 2: Left error within π input. Recurs on right half. Iteration 3: Approximation within π limit.
10
Results Optimal Algorithms
For optimal results for both problems with any error criterion and distance metric problem was formulated as a graph search problem (Imai and Iri, 88) Trivially π( π 3 )-time Graph constructed in π( π 2 log π )-time for the min-# problem and π( π 2 log 2 π )-time for the min-π problem (Melkman and OβRourke, 88) Further reduced to π( π 2 )-time for the min-# problem and π( π 2 log π )-time for the min-π problem. Showed π π -time and π( π 2 )-time algorithms for convex case (Chan and Chin, 96) The graph is an undirected graph of all possible approximation segments π π π π which lie within π. The min-# problem is then a single source shortest path problem from π 1 to π π to minimize the number of segments Min-π problem can then be solved with binary search on Min-# as subroutine
11
Results Optimal Algorithms
First subquadratic time algorithms used Clique Cover Graph construction technique using distance metrics (other than Euclidean) to achieve π( π πΏ )-time (Agarwal and Varadarajan, 00) Special graph construction allowed for subquadratic running time For min-π problem this is expected time (i.e., randomized for this) Query based approach incrementally constructing a BFS obtained subquadratic time for Euclidean distance metric with infinite beam criterion (Daescu and Mi, 05) Only holds for specific input (π π π , π π <π πππ π π π , π π > π 2 πππ πππ 0β€π<πβ€πβ1)
12
Results Approximate Algorithms
Other work in approximate algorithms under certain criterion show interesting results π( π πΏ )-time algorithms for two different error criterion (Hausdorff and Frechet) and a number of distance metrics error π 2 (Agarwal et. al., 05) Asymptotically optimal and linear time algorithm using the area of the domain between the two curves as error criterion based on local refining/coarsening strategy (Chen et. al., 05) Optimal simplification in near linear time for specific application of rendering, which mainly focuses on retaining the shape of the curve for visual purposes (Buzer, 07) p1 pn πΌ p1 pn πΌ Hausdorff criterion Frechet criterion (parametrically determined maximum)
13
Outline Introduction Results Conclusion Problem Definition
Applications Results Douglas and Peuker Optimal Algorithms Approximate Algorithms Conclusion Summary of Results Future Directions 13 13
14
Conclusion Summary of Results
For the general min-# problem (which is the main focus in the literature) Ξ©( π 2 )-time For specific distance metrics and metric criterions exact algorithms are near linear in π( π πΏ )-time Approximate algorithms vary but all have near linear running time
15
Conclusion Future Directions
Furthur study into the min-π problem is needed, as most work focuses on min-# problem Further extension of either the query based method or Clique Cover graph construction could be used to attain optimal results in near linear time? Open question: Can the general problem be solved in subquadratic time?
16
References D. H Douglas and T. K. Peucker. Algorithms for the reduction of the number of points required to represent a line or its caricature. The Canadian Cartographer, 10(2): , 1973. H. Imai and M. Iri. Polygonal approximations of a curve β Formulations and algorithms. Computational Morphography, 1988. A. Melkman and J. OβRourke. On polygonal chain approximation. Computational Morphography, 1988. J. Hershberger and J. Snoeyink. An O(nlogn) implementation of the Douglas-Peucker algorithm for line simplification. Proc. 10th Annu. ACM Sympos. Comput. Geom., ,1994. W. S. Chan and F. Chin. Approximation of polygonal curves with minimum number of line segments or minimum error. Internat. J. Comput. Geom. Appl., 6:59-77, 1996. P. K. Agarwal and K. R. Varadarajan. Efficient algorithms for approximating polygonal chains. Discrete Comput. Geom., 23: , 2000. O. Daescu and N. Mi. Polygonal chain approximation: a query based approach. Comput. Geom. Theory Appl.,Β 30(1): 41-58, 2005. P. K. Agarwal and S. Har-Peled and N. H. Mustafa and Y. Wang. Near-linear time approximation algorithms for curve simplification. Proc. of the 10th Annual European Symp. on Algorithms, 29-41, 2005. L. Chen and J. Wang and J. Xu. Asymptotically optimal and linear-time algorithm for polygonal curve simplification. Tech. Report Penn. State Dept. of Mathematics, NO. AM274, 2005. L. Buzer. Optimal simplification of polygonal chain for rendering. Β InΒ Proc. of the 23rd annual symp. on Comp. geom, , 2007.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.