Polygonal Curve Simplification

Slides:



Advertisements
Similar presentations
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Advertisements

Computational Movement Analysis Lecture 3:
Part 2: Digital convexity and digital segments p q Goddess of fortune smiles again.
MATH 224 – Discrete Mathematics
C&O 355 Lecture 23 N. Harvey TexPoint fonts used in EMF. Read the TexPoint manual before you delete this box.: A A A A A A A A A A.
Nearest Neighbor Search in High Dimensions Seminar in Algorithms and Geometry Mica Arie-Nachimson and Daniel Glasner April 2009.
Fundamental tools: clustering
University of Minnesota 1 Exploiting Page-Level Upper Bound (PLUB) for Multi-Type Nearest Neighbor (MTNN) Queries Xiaobin Ma Advisor: Shashi Shekhar Dec,
~1~ Infocom’04 Mar. 10th On Finding Disjoint Paths in Single and Dual Link Cost Networks Chunming Qiao* LANDER, CSE Department SUNY at Buffalo *Collaborators:
Approximations of points and polygonal chains
CS16: Introduction to Data Structures & Algorithms
Approximation Algorithms Chapter 5: k-center. Overview n Main issue: Parametric pruning –Technique for approximation algorithms n 2-approx. algorithm.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Advanced Topics in Algorithms and Data Structures Lecture 7.1, page 1 An overview of lecture 7 An optimal parallel algorithm for the 2D convex hull problem,
A Recursive Algorithm for Calculating the Relative Convex Hull Gisela Klette AUT University Computing & Mathematical Sciences Auckland, New Zealand.
Da Yan, Zhou Zhao and Wilfred Ng The Hong Kong University of Science and Technology.
Zoo-Keeper’s Problem An O(nlogn) algorithm for the zoo-keeper’s problem Sergei Bespamyatnikh Computational Geometry 24 (2003), pp th CGC Workshop.
Fractional Cascading CSE What is Fractional Cascading anyway? An efficient strategy for dealing with iterative searches that achieves optimal.
Lasse Deleuran 1/37 Homotopic Polygonal Line Simplification Lasse Deleuran PhD student.
Comparing Images Using the Hausdorff Distance Mark Bouts 6th April 2006.
1 Processing & Analysis of Geometric Shapes Shortest path problems Shortest path problems The discrete way © Alexander & Michael Bronstein, ©
Counting and Representing Intersections Among Triangles in R 3 Esther Ezra and Micha Sharir.
P-Center & The Power of Graphs A part of the facility location problem set By Kiril Yershov and Alla Segal For Geometric Optimizations course Fall 2010.
Recent Development on Elimination Ordering Group 1.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
Math443/543 Mathematical Modeling and Optimization
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Spring, 2003 Review Lecture Tuesday, 5/6/03.
Trajectory Simplification
Finding Compact Structural Motifs Presented By: Xin Gao Authors: Jianbo Qian, Shuai Cheng Li, Dongbo Bu, Ming Li, and Jinbo Xu University of Waterloo,
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2002 Review Lecture Tuesday, 12/10/02.
Mark Waitser Computational Geometry Seminar December Iterated Snap Rounding.
Introduction Outline The Problem Domain Network Design Spanning Trees Steiner Trees Triangulation Technique Spanners Spanners Application Simple Greedy.
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
DAST, Spring © L. Joskowicz 1 Data Structures – LECTURE 1 Introduction Motivation: algorithms and abstract data types Easy problems, hard problems.
The Fundamentals: Algorithms, the Integers & Matrices.
Finding a Hausdorff Core of a Polygon: On Convex Polygon Containment with Bounded Hausdorff Distance Reza Dorrigiv, Stephane Durocher, Arash Farzan, Robert.
CSIE in National Chi-Nan University1 Approximate Matching of Polygonal Shapes Speaker: Chuang-Chieh Lin Advisor: Professor R. C. T. Lee National Chi-Nan.
Tree Decomposition Benoit Vanalderweireldt Phan Quoc Trung Tram Minh Tri Vu Thi Phuong 1.
Algorithms  Al-Khwarizmi, arab mathematician, 8 th century  Wrote a book: al-kitab… from which the word Algebra comes  Oldest algorithm: Euclidian algorithm.
4/28/15CMPS 3130/6130 Computational Geometry1 CMPS 3130/6130 Computational Geometry Spring 2015 Shape Matching Carola Wenk A B   (B,A)
The Fast Optimal Voltage Partitioning Algorithm For Peak Power Density Minimization Jia Wang, Shiyan Hu Department of Electrical and Computer Engineering.
FAST DYNAMIC QUANTIZATION ALGORITHM FOR VECTOR MAP COMPRESSION Minjie Chen, Mantao Xu and Pasi Fränti University of Eastern Finland.
CSCI 3160 Design and Analysis of Algorithms Chengyu Lin.
Approximate Convex Decomposition of Polygons Reporter: Hong guang Zhou Math Dept. ZJU May 17th, 2007 Jyh-Ming Lien Nancy M. Amato Computational Geometry:
CSE 589 Part VI. Reading Skiena, Sections 5.5 and 6.8 CLR, chapter 37.
Stabbing balls and simplifying proteins Ovidiu Daescu and Jun Luo Department of Computer Science University of Texas at Dallas Richardson, TX
Geodesic Fréchet Distance Inside a Simple Polygon Atlas F. Cook IV & Carola Wenk Proceedings of the 25th International Symposium on Theoretical Aspects.
using Radial Basis Function Interpolation
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Review Lecture Tuesday, 12/11/01.
Curve Simplification under the L 2 -Norm Ben Berg Advisor: Pankaj Agarwal Mentor: Swaminathan Sankararaman.
Efficient Point Coverage in Wireless Sensor Networks Jie Wang and Ning Zhong Department of Computer Science University of Massachusetts Journal of Combinatorial.
The 2x2 Simple Packing Problem André van Renssen Supervisor: Bettina Speckmann.
2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 5: Simplification.
Clustering Motion or Crunching Clusters, Hiding Logs
Abolfazl Asudeh Azade Nazi Nan Zhang Gautam DaS
Enumerating Distances Using Spanners of Bounded Degree
Finding Subgraphs with Maximum Total Density and Limited Overlap
Computing Vertex Normals from Arbitrary Meshes
Efficient Algorithms for the Weighted k-Center Problem on a Real Line
Danny Z. Chen and Haitao Wang University of Notre Dame Indiana, USA
Feodor F. Dragan 1990 Ph.D. in Theoretical Computer Science Institute of Mathematics of the Byelorussian Academy of Science, Minsk Moldova State University.
2IMG15 Algorithms for Geographic Data
Algorithms for Budget-Constrained Survivable Topology Design
Approximating Points by A Piecewise Linear Function: I
Haitao Wang Utah State University WADS 2017, St. John’s, Canada
An O(n log n)-Time Algorithm for the k-Center Problem in Trees
Danny Z. Chen1, Yan Gu2, Jian Li2, and Haitao Wang1
L1 Shortest Path Queries among Polygonal Obstacles in the Plane
Clustering.
Area Coverage Problem Optimization by (local) Search
Presentation transcript:

Polygonal Curve Simplification Open Problem 24 Polygonal Curve Simplification From the Open Problems Project http://maven.smith.edu/~orourke/TOPP/ Jory Denny Computational Geometry CSCE620-600 Professor Nancy M. Amato 1 1

Outline Introduction Results Conclusion Problem Definition Applications Results Douglas and Peuker Optimal Algorithms Approximate Algorithms Conclusion Summary of Results Future Directions 2 2

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 𝑃′

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)

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

Introduction Applications Geographic Information Systems Cartography Computer Graphics Medical Imaging Data Compression http://cs.joensuu.fi/~koles/approximation/Image42.gif

Outline Introduction Results Conclusion Problem Definition Applications Results Douglas and Peuker Optimal Algorithms Approximate Algorithms Conclusion Summary of Results Future Directions 7 7

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

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.

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

Results Optimal Algorithms First subquadratic time algorithms used Clique Cover Graph construction technique using distance metrics (other than Euclidean) to achieve 𝑂( 𝑛 4 3 +𝛿 )-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)

Results Approximate Algorithms Other work in approximate algorithms under certain criterion show interesting results 𝑂( 𝑛 4 3 +𝛿 )-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)

Outline Introduction Results Conclusion Problem Definition Applications Results Douglas and Peuker Optimal Algorithms Approximate Algorithms Conclusion Summary of Results Future Directions 13 13

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 𝑂( 𝑛 4 3 +𝛿 )-time Approximate algorithms vary but all have near linear running time

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?

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):112-122, 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., 383-384,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:273-291, 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,168-174, 2007.