Output-Sensitive Voronoi Diagrams and Delaunay Triangulations
Upcoming SlideShare
Loading in...5
×
 

Output-Sensitive Voronoi Diagrams and Delaunay Triangulations

on

  • 500 views

Voronoi diagrams and their duals, Delaunay triangulations, are used in many areas of computing and the sciences.  Starting in 3-dimensions, there is a substantial (i.e. polynomial) difference between ...

Voronoi diagrams and their duals, Delaunay triangulations, are used in many areas of computing and the sciences.  Starting in 3-dimensions, there is a substantial (i.e. polynomial) difference between the best case and the worst case complexity of these objects when starting with n points.  This motivates the search for algorithms that are output-senstiive rather than relying only on worst-case guarantees.  In this talk, I will describe a simple, new algorithm for computing Voronoi diagrams in d-dimensions that runs in O(f log n log spread) time, where f is the output size and the spread of the input points is the ratio of the diameter to the closest pair distance.  For a wide range of inputs, this is the best known algorithm.  The algorithm is novel in the that it turns the classic algorithm of Delaunay refinement for mesh generation on its head, working backwards from a quality mesh to the Delaunay triangulation of the input.  Along the way, we will see instances of several other classic problems for which no higher-dimensional results are known, including kinetic convex hulls and splitting Delaunay triangulations.

Statistics

Views

Total Views
500
Views on SlideShare
461
Embed Views
39

Actions

Likes
0
Downloads
2
Comments
0

3 Embeds 39

http://donsheehy.net 24
http://www.cs.cmu.edu 13
http://donsheehy.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Output-Sensitive Voronoi Diagrams and Delaunay Triangulations Output-Sensitive Voronoi Diagrams and Delaunay Triangulations Presentation Transcript

  • An Output-Sensitive Algorithm for Voronoi Diagrams andDelaunay Triangulations Don Sheehy INRIA Saclay, France Joint work with Gary Miller at CMU
  • Voronoi Diagrams
  • Voronoi DiagramsThe Voronoi cell of p is the set of reverse nearest neighbors of p.
  • Voronoi DiagramsThe Voronoi cell of p is the set of reverse nearest neighbors of p.
  • Voronoi DiagramsThe Voronoi cell of p is the set of reverse nearest neighbors of p. The Voronoi diagram is dual to the Delaunay triangulation.
  • Voronoi DiagramsThe Voronoi cell of p is the set of reverse nearest neighbors of p. The Voronoi diagram is dual to the Delaunay triangulation.
  • Voronoi DiagramsThe Voronoi cell of p is the set of reverse nearest neighbors of p. The Voronoi diagram is dual to the Delaunay triangulation.
  • Voronoi DiagramsThe Voronoi cell of p is the set of reverse nearest neighbors of p. The Voronoi diagram is dual to the Delaunay triangulation. Voronoi k-face Delaunay (d-k)-face
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere.
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850 Snow 1854 (probably a myth, but a fun one)
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850 Snow 1854 (probably a myth, but a fun one) Voronoi 1908
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850 Snow 1854 (probably a myth, but a fun one) Voronoi 1908 Thiessen 1911 (meteorology)
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850 Snow 1854 (probably a myth, but a fun one) Voronoi 1908 Thiessen 1911 (meteorology) Geographical Information Systems
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850 Snow 1854 (probably a myth, but a fun one) Voronoi 1908 Thiessen 1911 (meteorology) Geographical Information Systems Graphics
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850 Snow 1854 (probably a myth, but a fun one) Voronoi 1908 Thiessen 1911 (meteorology) Geographical Information Systems Graphics Topological Data Analysis
  • Voronoi Diagrams and Delaunaytriangulations are used everywhere. Descartes 1644 Dirichlet 1850 Snow 1854 (probably a myth, but a fun one) Voronoi 1908 Thiessen 1911 (meteorology) Geographical Information Systems Graphics Topological Data Analysis Mesh Generation
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.Parabolic lifting into d+1 dimensions.The Delaunay triangulation is the projection of lower hull.Other liftings yield weighted Delaunay triangulations.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.Parabolic lifting into d+1 dimensions.The Delaunay triangulation is the projection of lower hull.Other liftings yield weighted Delaunay triangulations.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.Parabolic lifting into d+1 dimensions.The Delaunay triangulation is the projection of lower hull.Other liftings yield weighted Delaunay triangulations.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.Parabolic lifting into d+1 dimensions.The Delaunay triangulation is the projection of lower hull.Other liftings yield weighted Delaunay triangulations.
  • Delaunay triangulations and Voronoidiagrams are projections of polyhedra.Parabolic lifting into d+1 dimensions.The Delaunay triangulation is the projection of lower hull.Other liftings yield weighted Delaunay triangulations.
  • Weighted Voronoi Diagrams
  • Weighted Voronoi Diagrams The diagrams remain piecewise linear.
  • Weighted Voronoi Diagrams The diagrams remain piecewise linear. Some points disappear.
  • Weighted Voronoi Diagrams The diagrams remain piecewise linear. Some points disappear. Circumballs are replaced by orthoballs.
  • Weighted Voronoi Diagrams The diagrams remain piecewise linear. Some points disappear. Circumballs are replaced by orthoballs.
  • (Convex Hull)A brief history of Voronoi Diagram algorithms.
  • (Convex Hull)A brief history of Voronoi Diagram algorithms. d/2 Chazelle O(n log n + n )
  • (Convex Hull)A brief history of Voronoi Diagram algorithms. d/2 Chazelle O(n log n + n ) Avis O(nf )
  • (Convex Hull)A brief history of Voronoi Diagram algorithms. d/2 Chazelle O(n log n + n ) Avis O(nf ) 2 Seidel O(n + f log n)
  • (Convex Hull)A brief history of Voronoi Diagram algorithms. d/2 Chazelle O(n log n + n ) Avis O(nf ) 2 Seidel O(n + f log n) Matousek and 2− 2 O(1) Schwartzkopf O(n d/2 +1 log n + f log n)
  • (Convex Hull)A brief history of Voronoi Diagram algorithms. d/2 Chazelle O(n log n + n ) Avis O(nf ) 2 Seidel O(n + f log n) Matousek and 2− 2 O(1) Schwartzkopf O(n d/2 +1 log n + f log n) 1 1− O(1) Chan O(n log f + (nf ) d/2 +1 log n)
  • (Convex Hull)A brief history of Voronoi Diagram algorithms. d/2 Chazelle O(n log n + n ) Avis O(nf ) 2 Seidel O(n + f log n) Matousek and 2− 2 O(1) Schwartzkopf O(n d/2 +1 log n + f log n) 1 1− O(1) Chan O(n log f + (nf ) d/2 +1 log n) Chan, 1 2 1− 1− O(1) Snoeyink, O((n + (nf ) d/2 + fn d/2 ) log n) Yap
  • (Convex Hull)A brief history of Voronoi Diagram algorithms. d/2 Chazelle O(n log n + n ) Avis O(nf ) 2 Seidel O(n + f log n) Matousek and 2− 2 O(1) Schwartzkopf O(n d/2 +1 log n + f log n) 1 1− O(1) Chan O(n log f + (nf ) d/2 +1 log n) Chan, 1 2 1− 1− O(1) Snoeyink, O((n + (nf ) d/2 + fn d/2 ) log n) Yap Miller and Sheehy O(f log n log ∆) (today’s talk)
  • Mesh Generation
  • Mesh GenerationDecompose a domaininto simple elements.
  • Mesh GenerationDecompose a domaininto simple elements.
  • Mesh GenerationDecompose a domain Mesh Qualityinto simple elements. Radius/Edge < const
  • Mesh GenerationDecompose a domain Mesh Qualityinto simple elements. X ✓ X Radius/Edge < const
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const Voronoi Diagram
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const Voronoi Diagram OutRadius/InRadius < const
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const X ✓ Voronoi Diagram OutRadius/InRadius < const
  • Mesh GenerationDecompose a domain Mesh Quality Conforming to Inputinto simple elements. X ✓ X Radius/Edge < const X ✓ Voronoi Diagram OutRadius/InRadius < const
  • Meshing Points Input: P ⊂ Rd Output: M ⊃ P with a “nice” Voronoi diagram n = |P |, m = |M |
  • Meshing Points Input: P ⊂ Rd Output: M ⊃ P with a “nice” Voronoi diagram n = |P |, m = |M |
  • Meshing Points Input: P ⊂ Rd Output: M ⊃ P with a “nice” Voronoi diagram n = |P |, m = |M |
  • Meshing Points Input: P ⊂ Rd Output: M ⊃ P with a “nice” Voronoi diagram n = |P |, m = |M |
  • Meshing Points Input: P ⊂ Rd Output: M ⊃ P with a “nice” Voronoi diagram n = |P |, m = |M | Counterintuitive Fact about Meshing: It’s sometimes easier to build the Voronoi/Delaunay of a superset of the input, than of the input alone.
  • Meshing Guarantees Aspect Ratio (quality): v Rv Rv rv ≤τ rv Cell Sizing: lfs(x) := d(x, P {NN(x)}) 1 lfs(v) ≤ Rv ≤ Klfs(v) K Constant Local Complexity: Each cell has at most a constant number of faces. Optimality and Running time: |M | = Θ(|Optimal|) Running time: O(n log n + |M |)
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Mesh Generation in reverse?Build a quality mesh.Increase the weightsof the input points.Update the structurefor each local change.
  • Local changes are flips.
  • Local changes are flips.
  • Local changes are flips.
  • Local changes are flips.
  • Local changes are flips.
  • Local changes are flips.
  • Local changes are flips.
  • Local changes are flips. Flips correspond to intersections of the Voronoi diagram of the mesh and the Voronoi diagram of the input points.
  • Computing the flip times only requires asingle determinant computation.
  • Computing the flip times only requires asingle determinant computation.   p1 ··· pd+2 d+2 points cospherical iff det  1 ··· 1 =0 2 2 p1 ··· pd+2
  • Computing the flip times only requires asingle determinant computation.   p1 ··· pd+2 d+2 points cospherical iff det  1 ··· 1 =0 2 2 p1 ··· pd+2 d+2 weighted points on a common orthosphere iff   p1 ··· pd+2 det  1 ··· 1 =0 p1 2 − w 1 · · · pd+2 2 − wd+2
  • Computing the flip times only requires asingle determinant computation.   p1 ··· pd+2 d+2 points cospherical iff det  1 ··· 1 =0 2 2 p1 ··· pd+2 d+2 weighted points on a common orthosphere iff   p1 ··· pd+2 det  1 ··· 1 =0 p1 2 − w 1 · · · pd+2 2 − wd+2 t if pi ∈ P Define wi = 0 otherwise
  • Computing the flip times only requires asingle determinant computation.   p1 ··· pd+2 d+2 points cospherical iff det  1 ··· 1 =0 2 2 p1 ··· pd+2 d+2 weighted points on a common orthosphere iff   p1 ··· pd+2 det  1 ··· 1 =0 p1 2 − w 1 · · · pd+2 2 − wd+2 t if pi ∈ P Define wi = 0 otherwise   p1 ··· pd+2 So, det  1 ··· 1  is linear in t. p1 2 − w 1 ··· pd+2 2 − wd+2
  • The Algorithm
  • The Algorithm Add a bounding box around the points.
  • The Algorithm Add a bounding box around the points. Build a quality mesh of the points.
  • The Algorithm Add a bounding box around the points. Build a quality mesh of the points. Keep potential flips on a heap ordered by flip time.
  • The Algorithm Add a bounding box around the points. Build a quality mesh of the points. Keep potential flips on a heap ordered by flip time. (flip time is the weight of the input points when the flip happens)
  • The Algorithm Add a bounding box around the points. Build a quality mesh of the points. Keep potential flips on a heap ordered by flip time. (flip time is the weight of the input points when the flip happens) Repeatedly pop a flip, attempt to do it, and update.
  • The Algorithm Add a bounding box around the points. Build a quality mesh of the points. Keep potential flips on a heap ordered by flip time. (flip time is the weight of the input points when the flip happens) Repeatedly pop a flip, attempt to do it, and update. (at most O(1) new potential flips are added to the heap)
  • The Algorithm Add a bounding box around the points. Build a quality mesh of the points. Keep potential flips on a heap ordered by flip time. (flip time is the weight of the input points when the flip happens) Repeatedly pop a flip, attempt to do it, and update. (at most O(1) new potential flips are added to the heap) When the heap is empty, remove the bounding box and all incident Delaunay faces.
  • Flips happen at the intersections ofVoronoi diagrams.
  • There are only log(spread) flips per face.
  • There are only log(spread) flips per face.
  • There are only log(spread) flips per face.
  • A summary of the analysis.
  • A summary of the analysis. Full dimensional mesh cells intersect output faces at most log(spread) times.
  • A summary of the analysis. Full dimensional mesh cells intersect output faces at most log(spread) times. Since each mesh cell has only a constant number of faces, we only get O(f log(spread)) total flips.
  • A summary of the analysis. Full dimensional mesh cells intersect output faces at most log(spread) times. Since each mesh cell has only a constant number of faces, we only get O(f log(spread)) total flips. Each flip generates at most O(1) new flips on the heap.
  • A summary of the analysis. Full dimensional mesh cells intersect output faces at most log(spread) times. Since each mesh cell has only a constant number of faces, we only get O(f log(spread)) total flips. Each flip generates at most O(1) new flips on the heap. The heap operations require O(log n) time each.
  • A summary of the analysis. Full dimensional mesh cells intersect output faces at most log(spread) times. Since each mesh cell has only a constant number of faces, we only get O(f log(spread)) total flips. Each flip generates at most O(1) new flips on the heap. The heap operations require O(log n) time each. Total running time is O(f log n log (spread)).
  • Summary
  • Summary A new output-sensitive algorithm for Voronoi diagrams and Delaunay triangulations in d-dimensions.
  • Summary A new output-sensitive algorithm for Voronoi diagrams and Delaunay triangulations in d-dimensions. Start with a quality mesh and then remove the Steiner points.
  • Summary A new output-sensitive algorithm for Voronoi diagrams and Delaunay triangulations in d-dimensions. Start with a quality mesh and then remove the Steiner points. Use geometry to bound the combinatorial changes.
  • Summary A new output-sensitive algorithm for Voronoi diagrams and Delaunay triangulations in d-dimensions. Start with a quality mesh and then remove the Steiner points. Use geometry to bound the combinatorial changes. Running time: O(f log n log ∆)
  • Summary A new output-sensitive algorithm for Voronoi diagrams and Delaunay triangulations in d-dimensions. Start with a quality mesh and then remove the Steiner points. Use geometry to bound the combinatorial changes. Running time: O(f log n log ∆) Thank you.