Kurt Mehlhorn, MPI für Informatik. Curve and Surface Reconstruction p.1/25

Similar documents
Curve Reconstruction

Cycle Bases in Graphs Structure, Algorithms, Applications, Open Problems p.1/56

Algorithms for Euclidean TSP

Combinatorial Optimization - Lecture 14 - TSP EPFL

Correctness. The Powercrust Algorithm for Surface Reconstruction. Correctness. Correctness. Delaunay Triangulation. Tools - Voronoi Diagram

Estimating Geometry and Topology from Voronoi Diagrams

Planar Graphs. 1 Graphs and maps. 1.1 Planarity and duality

Computational Geometry

Surfaces Beyond Classification

Optimal tour along pubs in the UK

/ Approximation Algorithms Lecturer: Michael Dinitz Topic: Linear Programming Date: 2/24/15 Scribe: Runze Tang

Advanced Algorithms Computational Geometry Prof. Karen Daniels. Fall, 2012

Divided-and-Conquer for Voronoi Diagrams Revisited. Supervisor: Ben Galehouse Presenter: Xiaoqi Cao

c 2001 Society for Industrial and Applied Mathematics

In what follows, we will focus on Voronoi diagrams in Euclidean space. Later, we will generalize to other distance spaces.

Other Voronoi/Delaunay Structures

Simplicial Hyperbolic Surfaces

3. Voronoi Diagrams. 3.1 Definitions & Basic Properties. Examples :

Sublinear Geometric Algorithms

MVE165/MMG630, Applied Optimization Lecture 8 Integer linear programming algorithms. Ann-Brith Strömberg

Linear Programming and Integer Linear Programming

The Medial Axis of the Union of Inner Voronoi Balls in the Plane

Computational Geometry. Algorithm Design (10) Computational Geometry. Convex Hull. Areas in Computational Geometry

Geometric Modeling in Graphics

ARTICLE IN PRESS. Robotics and Computer-Integrated Manufacturing

Voronoi Diagram. Xiao-Ming Fu

Course 16 Geometric Data Structures for Computer Graphics. Voronoi Diagrams

Travelling Salesman Problem. Algorithms and Networks 2015/2016 Hans L. Bodlaender Johan M. M. van Rooij

Fast marching methods

Module 6 NP-Complete Problems and Heuristics

Spectral Surface Reconstruction from Noisy Point Clouds

Bicriteria approach to the optimal location of surveillance cameras *

Dynamic programming. Trivial problems are solved first More complex solutions are composed from the simpler solutions already computed

Assignment 3b: The traveling salesman problem

Polynomial Time Approximation Schemes for the Euclidean Traveling Salesman Problem

Outline. Reconstruction of 3D Meshes from Point Clouds. Motivation. Problem Statement. Applications. Challenges

Research Interests Optimization:

Geometric Steiner Trees

COMPUTATIONAL GEOMETRY

2. Optimization problems 6

An O(log n/ log log n)-approximation Algorithm for the Asymmetric Traveling Salesman Problem

14.5 Directional Derivatives and the Gradient Vector

f xx (x, y) = 6 + 6x f xy (x, y) = 0 f yy (x, y) = y In general, the quantity that we re interested in is

Module 6 P, NP, NP-Complete Problems and Approximation Algorithms

Voronoi diagram and Delaunay triangulation

Approximation Algorithms

6.3 Poincare's Theorem

Appendix E Calculating Normal Vectors

Simplicial Complexes: Second Lecture

Voronoi Diagrams. A Voronoi diagram records everything one would ever want to know about proximity to a set of points

Lecture Notes: Euclidean Traveling Salesman Problem

Computational Topology in Reconstruction, Mesh Generation, and Data Analysis

Linear and Integer Programming :Algorithms in the Real World. Related Optimization Problems. How important is optimization?

Traveling Salesman Problem (TSP) Input: undirected graph G=(V,E), c: E R + Goal: find a tour (Hamiltonian cycle) of minimum cost

Dominating Sets in Triangulations on Surfaces

Traveling Salesman Problem. Algorithms and Networks 2014/2015 Hans L. Bodlaender Johan M. M. van Rooij

Surface Reconstruction with MLS

Outline. CS38 Introduction to Algorithms. Approximation Algorithms. Optimization Problems. Set Cover. Set cover 5/29/2014. coping with intractibility

CAD & Computational Geometry Course plan

3 INTEGER LINEAR PROGRAMMING

04 - Normal Estimation, Curves

Effective Tour Searching for Large TSP Instances. Gerold Jäger

Topological estimation using witness complexes. Vin de Silva, Stanford University

Chapter 12 and 11.1 Planar graphs, regular polyhedra, and graph colorings

56:272 Integer Programming & Network Flows Final Exam -- December 16, 1997

Dijkstra's Algorithm

The geometry and combinatorics of closed geodesics on hyperbolic surfaces

Certifying Algorithms p.1/20

Voronoi diagrams Delaunay Triangulations. Pierre Alliez Inria

Mathematical and Algorithmic Foundations Linear Programming and Matchings

6.2 Classification of Closed Surfaces

Integer Programming. Xi Chen. Department of Management Science and Engineering International Business School Beijing Foreign Studies University

Shape Modeling and Geometry Processing

Algorithmische Geometrie Voronoi Diagram

6 Randomized rounding of semidefinite programs

3 Fractional Ramsey Numbers

Surfaces, meshes, and topology

The Topology of Bendless Orthogonal Three-Dimensional Graph Drawing. David Eppstein Computer Science Dept. Univ. of California, Irvine

Topology Changes for Surface Meshes in Active Contours

Hyperbolic Structures from Ideal Triangulations

Voronoi Diagrams and Delaunay Triangulations. O Rourke, Chapter 5

Computational Geometry

COMPUTING CONSTRAINED DELAUNAY

Partitioning Regular Polygons Into Circular Pieces II: Nonconvex Partitions

Persistent Homology and Nested Dissection

Wolfgang Mulzer Institut für Informatik. Planar Delaunay Triangulations and Proximity Structures

Subdivision Surfaces

Surface Reconstruction. Gianpaolo Palma

Approximating Geodesic Distances on 2-Manifolds in R 3

Week 8 Voronoi Diagrams

Notes for Lecture 24

Using a Divide and Conquer Method for Routing in a PC Vehicle Routing Application. Abstract

COMP Analysis of Algorithms & Data Structures

The following is a summary, hand-waving certain things which actually should be proven.

1 Proximity via Graph Spanners

A constant-factor approximation algorithm for the asymmetric travelling salesman problem

Chapter 8. Voronoi Diagrams. 8.1 Post Oce Problem

Möbius Transformations in Scientific Computing. David Eppstein

Methods and Models for Combinatorial Optimization Exact methods for the Traveling Salesman Problem

Tutorial 3 Comparing Biological Shapes Patrice Koehl and Joel Hass

Transcription:

Curve and Surface Reconstruction Kurt Mehlhorn MPI für Informatik Curve and Surface Reconstruction p.1/25

Curve Reconstruction: An Example probably, you see more than a set of points Curve and Surface Reconstruction p.2/25

Curve Reconstruction: An Example reconstructed by algorithm described in Ernst Althaus and Kurt Mehlhorn: Traveling Salesman-Based Curve Reconstruction in Polynomial Time, SIAM Journal on Computing, 31, pages 27 66, 2002 Curve and Surface Reconstruction p.2/25

Surface Reconstruction: An Example probably, you see more than a point cloud Curve and Surface Reconstruction p.3/25

Surface Reconstruction: An Example reconstructed by algorithm described in G. Tewari, C. Gotsman, and S. Gortler, Meshing Genus-1 Point Clouds using Discrete One-Forms, Harvard Technical Report 2005 Curve and Surface Reconstruction p.3/25

Problem Definition: Curve and Surface Reconstruction Input: A finite sample P from an unknown curve γ IR 2 or surface S IR 3 Output (Curve): G(P,E) where xy E iff x and y are adjacent on γ. Output (Surface): A triangulation of P topologically equivalent and geometrically close to S The Goal: Algorithms with guarantees (preferably, simple algorithms): reconstuction succeeds if γ Γ (= a class of curves) or S Γ (= a class of surfaces) and P satisfies a certain sampling condition. low asymptotic (as function of n = P ) and practical complexity Motivation: line drawings from raster images surface reconstruction Curve and Surface Reconstruction p.4/25

State of the Art: Curve Reconstruction till 97, uniformly sampled smooth closed curves 97, non-uniformly sampled smooth closed curves, Amenta/Bern/Epstein, Dey/Kumar 99, non-uniformly sampled smooth open and closed curves, Dey/Mehlhorn/Ramos 99, TSP reconstructs uniformly sampled non-smooth curves, Giesen 00, TSP reconstructs non-uniformly sampled non-smooth curves in polynomial time, Althaus/Mehlhorn 01, near-linear time reconstruction of non-uniformly sampled non-smooth curves, Funke/Ramos smooth curve: tangent everywhere uniform sample: at least one sample from every curve segment of length ε. non-uniform sample: sampling rate depends on local features of the curve. Curve and Surface Reconstruction p.5/25

Surface Reconstruction till 97, only heuristics 98, non-uniformly sampled smooth closed surfaces, Amenta/Bern, Boissonnat/Casals 00, non-uniformly sampled smooth closed surfaces, topological and geometric guarantee, Amenta/Choi/Dey/Leekha 02, near-linear time, non-uniformly sampled smooth closed surfaces Funke/Ramos 02, various attempts to generalize to non-smooth surfaces and surfaces with boundary many Curve and Surface Reconstruction p.6/25

The Cocone Algorithm I Amenta/Choi/Dey/Leekha Voronoi and Delaunay Diagram of P Voronoi region V (p) of p P consists of all points in the plane which are closer to p than to any other point in P. Delaunay diagram of P: connect two points in P if their Voronoi regions share an edge Curve and Surface Reconstruction p.7/25

The Cocone Algorithm II Voronoi region V (p) of p P consists of all points in the plane which are closer to p than to any other point in P. Pole of p P: direction to vertex of V (p) farthest from p Cocone idea: pole is a good estimate of curve normal select edges of Delaunay diagram which are (almost) perpendicular to pole and then do a bit more run demo Curve and Surface Reconstruction p.8/25

The Cocone Algorithm III generalizes nicely to three dimensions algorithm reconstructs a triangulation which is topologically equivalent and geometrically close to S if the following sampling condition holds: for every x S there is a p P with dist(x, p) 0.1 f (x) where f (x) is the distance of x to the medial axis of S. f(x) x running time is quadratic O(n 2 ), Funke/Ramos improved to O(nlogn) algorithms work for large samples, n up to 10 6 Curve and Surface Reconstruction p.9/25

BUT open and closed curves sharp corners branching points branching points are open, open and closed curves and non-smooth curves can be handled Curve and Surface Reconstruction p.10/25

Open and Closed Curves DMR (Compgeo 99): A variant reconstructs non-uniformly sampled open and closed curves. (a) (b) (c) (d) (e) (f) DK ABE DMR Curve and Surface Reconstruction p.11/25

The Traveling Salesman Problem Problem Definition (Geometric TSP) given a set P of points in the plane find the shortest closed tour passing through all the points Graphic TSP given a graph G = (V,E) with integral edge weights find a shortest closed tour passing through all the vertices computationally very difficult no algorithm with polynomial running time is known smallest unsolved problems have only a few hundred points or nodes graphic TSP is NP-complete, geometric TSP is NP-hard or Curve and Surface Reconstruction p.12/25

Sharp Corners semi-regular curve: left and right tangent exists and turning angle < π. YES NO Giesen (Compgeo99): TSP reconstructs uniformly-sampled semi-regular curves, i.e., for every semi-regular curve γ there is an ε > 0: if P contains at least one point from every curve segment of length ε then TSP(P) reconstructs γ. exact TSP is required, approximate TSP will not do result is structural, not algorithmic Curve and Surface Reconstruction p.13/25

TSP does not work for turning angle equal to zero (x,x^2) (a,a^2) (0.,0 (2a,0) O = origin, x-axis, parabola y = x 2 let x be such that dist(o,(x,x 2 )) = dist(o,(2a,0)) order on curve = (2a,0) (0,0) (a,a 2 ) (x,x 2 ) wrong order = (2a,0) (a,a 2 ) (0,0) (x,x 2 ) wrong order gives shorter length than correct order for arbitrarily small a since (a,a 2 ) lies on the wrong side of the angular bisector Curve and Surface Reconstruction p.14/25

An Integer Linear Program for TSP x e variable for edge e = uv c e = Euclidean length of e = uv minimize e c e x e subject to u x uv = 2 for all v P x uv 2 for all R P with /0 R P { uv; u R,v R} 0 x e 1, integral subtour LP, remove integrality constraint subtour LP can be solved in polynomial time optimal solution of subtour LP is (in general) fractional Curve and Surface Reconstruction p.15/25

Fractional Optimal Solution 2 2 2 1/2 1/2 1/2 1 1 1 1 1 1 2 2 1/2 1/2 2 1/2 left side: edges weights right side: optimal solution to LP optimal tour has cost 4 2 + 2 1 = 10. fractional solution has cost 6 0.5 2 + 3 1 1 = 9. Curve and Surface Reconstruction p.16/25

A Cutting Plane Algorithm Solving the LP solve LP without subtour elimination constraints check for violated subtour elimination constraint let x e be the solution of the LP compute minimum cut in (P,E,x e ) a cut of value < 2 yields a violated constraint add and repeat runs in polynomial time with Ellipsoid method is practically efficient with simplex method Solving the ILP exponentially many constraints 1/2 1 1/2 1 1/2 1 1 When LP has fractional solution, branch on fractional variable 1/2 Curve and Surface Reconstruction p.17/25

The Main Result in Althaus/Mehlhorn Experimental observation: optimal solution of subtour LP is integral Theorem(AM): Let γ be a semi-regular curve. If P is a sufficiently dense sample of γ then optimal solution of subtour LP is integral (and hence a tour) can be found in polynomial time Proof Idea exploit duality of subtour LP and Held-Karp bound show that Held-Karp bound yields a tour. Curve and Surface Reconstruction p.18/25

How Dense is Sufficiently Dense? 1. for every corner (= discontinuity) p, let R(p) be largest such that (a) legs of corner turn by at most 10 within B(p,R(p)) (b) curve is connected inside the disk 2. must have at least one sample point on each leg within B(p,R(p)/4)) 3. break curve into smooth pieces by removing the disks B(p, R(p)/8)) 4. for every p in one of the smooth parts, let R(p) be largest such that (a) curve turns by at most 60 ) within B(p,R(p)) (b) curve is connected inside the disk 5. must have at least one sample point within B(p, R(p)/4)) p p p Curve and Surface Reconstruction p.19/25

Beyond Smooth Surfaces: Cocone Reconstruction Curve and Surface Reconstruction p.20/25

Beyond Smooth Surfaces: Genus Detection I genus g of a closed surface = sphere + g handles examples are genus one surfaces, i.e., homeomorphic to a torus genus detection: compute g and 2g cycles spanning the non-trivial cycles Curve and Surface Reconstruction p.21/25

Minimum Cycle Basis (MCB) in Graphs (generalized) cycle in a graph: a set of edges with respect to which every node has even degree addition of two cycles = symmetric difference cycles form a vector space (over field of two elements) under addition minimal cycle basis (MCB) = a set of cycles spanning all cycles and having minimal total length can be computed efficiently (Kavitha/Mehlhorn/Michail/Paluch, SODA 04, O(m 2 n + mn 2 logn)) Curve and Surface Reconstruction p.22/25

MCBs in Nearest Neighbor Graph Nearest Neighbor Graph G k on P (k integer parameter) connect u and v is v is one the k points closest to u and vice versa k = 4 easy to construct Theorem (Gotsman/Kaligossi/Mehlhorn/Michail/Pyrga 05): if S is smooth, P is sufficiently dense, and k appropriately chosen: MCB of G k (P) consists of short (lenght at most 2k + 3) and long (length at least 4k + 6) cycles. Moreover, the short cycles span the space of trivial cycles and the long cycles form a homology basis. alg also provably works for some non-smooth surfaces (theorem to be formulated) Curve and Surface Reconstruction p.23/25

Beyond Smooth Surfaces: Reconstruction Tewari/Gotsman/Gortler have an algorithm to reconstruct genus-1 surfaces if a basis for the trivial cycles of G k (P) is known. algorithm constructs a genus-1 triangulation of P no geometric guarantee our algorithm computes a basis for the trivial cycles of G k (P) together the algorithms reconstruct genus-1 surfaces Curve and Surface Reconstruction p.24/25

Summary curves efficient algs are known for open and closed, smooth and non-smooth curves branching points are open problem noise is partially solved surfaces efficient algs are known for closed smooth surfaces noise is partially solved open surfaces with boundary non-smooth surfaces Thank you for your attention Curve and Surface Reconstruction p.25/25