Finding a Hausdorff Core of a Polygon: On Convex Polygon Containment with Bounded Hausdorff Distance Reza Dorrigiv, Stephane Durocher, Arash Farzan, Robert.

Slides:



Advertisements
Similar presentations
Algorithms for Geometric Covering and Piercing Problems Robert Fraser PhD defence Nov. 23, 2012.
Advertisements

UNC Chapel Hill Lin/Foskey/Manocha Steps in DP: Step 1 Think what decision is the “last piece in the puzzle” –Where to place the outermost parentheses.
Triangle partition problem Jian Li Sep,2005.  Proposed by Redstar in Algorithm board in Fudan BBS.  Motivated by some network design strategy.
Incremental Linear Programming Linear programming involves finding a solution to the constraints, one that maximizes the given linear function of variables.
Approximations of points and polygonal chains
Advanced Topics in Algorithms and Data Structures Lecture 7.2, page 1 Merging two upper hulls Suppose, UH ( S 2 ) has s points given in an array according.
CSE 681 Bounding Volumes. CSE 681 Bounding Volumes Use simple volume enclose object(s) tradeoff for rays where there is extra intersection test for object.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
Motion Planning CS 6160, Spring 2010 By Gene Peterson 5/4/2010.
Polynomial Time Approximation Schemes Presented By: Leonid Barenboim Roee Weisbert.
Prune-and-Search Method
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.
The Divide-and-Conquer Strategy
A (1+  )-Approximation Algorithm for 2-Line-Center P.K. Agarwal, C.M. Procopiuc, K.R. Varadarajan Computational Geometry 2003.
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,
Da Yan, Zhou Zhao and Wilfred Ng The Hong Kong University of Science and Technology.
1 s-t Graph Cuts for Binary Energy Minimization  Now that we have an energy function, the big question is how do we minimize it? n Exhaustive search is.
1st Meeting Industrial Geometry Computational Geometry ---- Some Basic Structures 1st IG-Meeting.
Steps in DP: Step 1 Think what decision is the “last piece in the puzzle” –Where to place the outermost parentheses in a matrix chain multiplication (A.
Complexity 16-1 Complexity Andrei Bulatov Non-Approximability.
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Offset of curves. Alina Shaikhet (CS, Technion)
Prune-and-search Strategy
A general approximation technique for constrained forest problems Michael X. Goemans & David P. Williamson Presented by: Yonatan Elhanani & Yuval Cohen.
The Theory of NP-Completeness
Finding Compact Structural Motifs Presented By: Xin Gao Authors: Jianbo Qian, Shuai Cheng Li, Dongbo Bu, Ming Li, and Jinbo Xu University of Waterloo,
MAE 552 – Heuristic Optimization Lecture 26 April 1, 2002 Topic:Branch and Bound.
Polynomial time approximation scheme Lecture 17: Mar 13.
Computability and Complexity 24-1 Computability and Complexity Andrei Bulatov Approximation.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
Fat Curves and Representation of Planar Figures L.M. Mestetskii Department of Information Technologies, Tver’ State University, Tver, Russia Computers.
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2004 O’Rourke Chapter 8 Motion Planning.
Sandia is a multiprogram laboratory operated by Sandia Corporation, a Lockheed Martin Company, for the United States Department of Energy under contract.
Backtracking.
Approximation Algorithms
Outline Introduction The hardness result The approximation algorithm.
Delaunay Triangulations Presented by Glenn Eguchi Computational Geometry October 11, 2001.
CSE53111 Computational Geometry TOPICS q Preliminaries q Point in a Polygon q Polygon Construction q Convex Hulls Further Reading.
Section 11.4 Areas and Lengths in Polar Coordinates.
MCS312: NP-completeness and Approximation Algorithms
Nattee Niparnan. Easy & Hard Problem What is “difficulty” of problem? Difficult for computer scientist to derive algorithm for the problem? Difficult.
Approximation schemes Bin packing problem. Bin Packing problem Given n items with sizes a 1,…,a n  (0,1]. Find a packing in unit-sized bins that minimizes.
Planning Near-Optimal Corridors amidst Obstacles Ron Wein Jur P. van den Berg (U. Utrecht) Dan Halperin Athens May 2006.
5 -1 Chapter 5 The Divide-and-Conquer Strategy A simple example finding the maximum of a set S of n numbers.
© The McGraw-Hill Companies, Inc., Chapter 6 Prune-and-Search Strategy.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
1 Prune-and-Search Method 2012/10/30. A simple example: Binary search sorted sequence : (search 9) step 1  step 2  step 3  Binary search.
Stabbing balls and simplifying proteins Ovidiu Daescu and Jun Luo Department of Computer Science University of Texas at Dallas Richardson, TX
Computing Inner and Outer Shape Approximations Joseph S.B. Mitchell Stony Brook University.
Polygon Definition Bounded by a closed circuit of straight-line segment. Term Edge : straight line segment Vertices : points.
11 -1 Chapter 12 On-Line Algorithms On-Line Algorithms On-line algorithms are used to solve on-line problems. The disk scheduling problem The requests.
Curve Simplification under the L 2 -Norm Ben Berg Advisor: Pankaj Agarwal Mentor: Swaminathan Sankararaman.
Common Intersection of Half-Planes in R 2 2 PROBLEM (Common Intersection of half- planes in R 2 ) Given n half-planes H 1, H 2,..., H n in R 2 compute.
Introduction to NP Instructor: Neelima Gupta 1.
1 The instructor will be absent on March 29 th. The class resumes on March 31 st.
The geometric GMST problem with grid clustering Presented by 楊劭文, 游岳齊, 吳郁君, 林信仲, 萬高維 Department of Computer Science and Information Engineering, National.
3. Polygon Triangulation
8.3.2 Constant Distance Approximations
Polygonal Curve Simplification
Haim Kaplan and Uri Zwick
Computability and Complexity
Locating an Obnoxious Line among Planar Objects
Haitao Wang Utah State University WADS 2017, St. John’s, Canada
Integer Programming (정수계획법)
Optimal Point Movement for Covering Circular Regions
Donghui Zhang, Tian Xia Northeastern University
Presentation transcript:

Finding a Hausdorff Core of a Polygon: On Convex Polygon Containment with Bounded Hausdorff Distance Reza Dorrigiv, Stephane Durocher, Arash Farzan, Robert Fraser, Alejandro López-Ortiz, J. Ian Munro, Alejandro Salinger, and Matthew Skala

Outline Hausdorff Distance Polygonal Approximation Hausdorff vs. MACS (potato, skull) Polygonal Approximation Enclosure vs. Inclusion Disk-based Approximate Solution Decision Version Optimization Version (via parametric search) Analysis

Hausdorff Distance Hausdorff Example

Our Problem Given a simple polygon P and a metric d, a d-core of P is a convex polygon Q contained in P that minimizes d(P,Q). We are interested in Hausdorff distance, which we denote as H(P,Q). Does there exist a convex polygon Q contained in P such that H(P,Q) <= k? Note: the 1-centre of a polygon P is the point c which minimizes H(P,c).

Application Approximating Contours for Navigation Given: a set of contours representing the ocean floor; a proposed path for a ship. Want to quickly determine whether the path is feasible. Use a hierarchical decomposition of convex regions, which are monotonic with respect to the original curve.

Why Hausdorff? There are many measures. Hausdorff distance is intended to capture the “closeness” of two objects.

Polygonal Approximation Enclosure Problems Convex Hull Smallest Enclosing k-gon Inclusion Problems Convex Skull (potato peeling, MACS) Largest Included k-gon Hausdorff Approximation

Hausdorff Approximation Approximating a convex polygon solved by Lopez and Reisner. min-# min-ε Hausdorff approximation when 1-centre is contained in P solved by Chassery and Coeurjolly.

Hausdorff Core Properties . Only need to consider points on the convex hull of P. Circles of radius k centred on the vertices of P will intersect the solution if H(P,Q) <= k

One Point in the Solution Can we say anything definite about what the solution may contain? If the solution does not contain the 1-centre of the polygon, then it can intersect at least one vertex of P.

Proposed Solution Sketch Given a radius r, if it is possible to form a simple closed convex path touching each circle, a solution exists for H(P,Q) = r. Explore path using a “right-most first” approach. Finally, determine the minimum disk radius for which a solution exists.

Why is this challenging? Tri Star

Why is this challenging? (2) Evil E

Approximation Algorithm No obvious way to solve exact problem. We propose an approximation scheme based upon a discretization of space. Intuition: Divide the disks into discrete segments. Grow the disks slightly such that at least one segment of each expanded disk will be contained in the optimal solution. Check for a solution among all intervals on all disks.

Decision Version Given r. Does a solution Q’ exist where H(P,Q’)<=r+2ε’? We grow the circles by ε’, and search for a convex path contacting each disk and contained in P. What is ε’? Suppose we are given ε as input, then we compute ε’=ε∙dvf, where dvf is the distance from the 1-centre to the farthest vertex.

Discrete Disk Intervals Disks have radius r+ε’, what length should the intervals on the disks be? Required: If an exact solution Q exists for radius r, then we must find an approximate solution. Therefore, at least one interval on each expanded disk must be contained in Q. Need to know minimum angle in solution.

Minimum Angle in Solution Can we find a straight line segment that would serve as a solution? Consider a circular segment C of radius 2∙dvf and arc length ε’. The interior angle of this segment is ε/2. If Q’ can be covered by C, then a straight line segment Qℓ exists such that H(Q’,Qℓ)<ε’.

How to find an approximating line? Assume that an approximating line exists, i.e. H(Q’,Qℓ)<ε’. Grow all disks by ε’ so that they have radius r+2ε’. The approximating line must intersect each disk. The line must also intersect p, which may be the 1-centre or a vertex of P. Build an visibility interval graph from p to each disk. Given an interval graph containing an intersection of all disks, we have a solution. Big Picture: If there exists a solution Q s.t. H(P,Q)<=r, and if Q can be approximated s.t. H(Q,Qℓ)<2ε’, we find Qℓ .

Else If we cannot approximate with a line, we try to approximate with a convex polygon. We know the interior angles of Q are all greater than ε/2. The intervals of the expanded disks can be defined such that at least one interval of each disk is contained in Q if it exists. Intervals are of length 12π/(ε2∙dvf). Find a solution by finding a set of intervals with mutual strong visibility (using dynamic programming). Solution is of the form Q={q1,q2,…qk}, where qi is a point on the ith disk in an interval contained in the solution.

Approximation Properties If there exists a solution Q, we are guaranteed to find an approximate solution Q’. Conversely, if we do not find an approximate solution, we know that no solution exists for the given radius r. If we find an approximate solution Q’, it does not imply that a solution exists for disks of radius r. Given these properties, it is straightforward to create a minimization version of the algorithm.

Minimization version Perform binary search over possible values for the radius of the disks in [0…dvf]. At each iteration, execute decision algorithm. If a solution is found at radius ri, shrink the disks s.t. ri+1=ri-dvf/2i. Otherwise, grow the disks s.t. ri+1=ri+dvf/2i. Our algorithm finishes when a solution is found for a radius ri, and none exists for ri-ε’. O(log(ε-1)) iterations to find solution. Solution Q’ is found s.t. H(P,Q’)<rOPT+3ε’.

Space and Time Find constrained 1-centre(s) - O(n2) Test for line solution - O(n3) Intervals on each disk - O(ε-2) Pairwise combinations of intervals - O(ε-4) Dynamic programming table entries - O(nε-4) DP table requires O(n2ε-4) space (each entry is O(n)) DP algorithm takes O(nε-6) time (checking O(ε-2) intervals for each entry in the table) Possibly O(n) 1-centres, so decision version takes O(n3+n2ε-6) time Minimization version - O((n3+n2ε-6)∙log(ε-1)) time

Conclusions and Context Presented an approximate Hausdorff core algorithm for simple polygons, leaving the exact version open. Polynomial, but impractical. Improved versions may be used as part of a system for the hierarchical decomposition of contour regions.

Future Work Explore different error metrics. Allow some degree of non-convexity in the approximate polygon. Determine better approximation technique or exact technique if possible.

Thanks NSERC Strategic Grant Shameless promotion: (for optimal data structures for organization and retrieval of spatial data) Shameless promotion: LATIN 2010 submission deadline Sept. 21st http://latin10.org April 19-23, 2010 in Oaxaca, Mexico