Voronoi Diagrams and Problem Transformations Steven Love, supervised by: Jack Snoeyink and Dave Millman.

Slides:



Advertisements
Similar presentations
Alpha Shapes. Used for Shape Modelling Creates shapes out of point sets Gives a hierarchy of shapes. Has been used for detecting pockets in proteins.
Advertisements

1/22 Worst and Best-Case Coverage in Sensor Networks Seapahn Meguerdichian, Farinaz Koushanfar, Miodrag Potkonjak, and Mani Srivastava IEEE TRANSACTIONS.
Parallel Banding Algorithm to Compute Exact Distance Transform with the GPU Thanh-Tung Cao Ke Tang Anis Mohamed Tiow-Seng Tan.
Computational Geometry
Geometry. Floating point math Avoid floating point when you can –If you are given a fixed number of digits after the decimal, multiply & use integers.
Problems in curves and surfaces M. Ramanathan Problems in curves and surfaces.
Surface Reconstruction From Unorganized Point Sets
Getting A Speeding Ticket. Mesh Generation 2D Point Set Delaunay Triangulation 3D Point Set Delaunay Tetrahedralization.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
Voronoi Diagrams in n· 2 O(√lglg n ) Time Timothy M. ChanMihai Pătraşcu STOC’07.
Computational Geometry II Brian Chen Rice University Computer Science.
Closest Point Transform: The Characteristics/Scan Conversion Algorithm Sean Mauch Caltech April, 2003.
1 Voronoi Diagrams. 2 Voronoi Diagram Input: A set of points locations (sites) in the plane.Input: A set of points locations (sites) in the plane. Output:
The Divide-and-Conquer Strategy
Medial axis computation of exact curves and surfaces M. Ramanathan Department of Engineering Design, IIT Madras Medial object.
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
Convex Hulls in 3-space Jason C. Yang.
What does that mean? To get the taste we will just look only at some sample problems... [Adapted from S.Suri]
Spatial Analysis – vector data analysis
CSCE 620: Open Problem Voronoi Diagram of Moving Points Asish Ghoshal Problem 2 from The Open Problems Project 1.
Computational Geometry -- Voronoi Diagram
17. Computational Geometry Chapter 7 Voronoi Diagrams.
2. Voronoi Diagram 2.1 Definiton Given a finite set S of points in the plane , each point X of  defines a subset S X of S consisting of the points of.
Computational Geometry and Spatial Data Mining
1 Lecture 8: Voronoi Diagram Computational Geometry Prof. Dr. Th. Ottmann Voronoi Diagrams Definition Characteristics Size and Storage Construction Use.
Jack Snoeyink FWCG08 Oct 31, 2008 David L. Millman University of North Carolina - Chapel Hill.
Speaker: Tom Gur, Seminar on Voronoi Diagrams and Delaunay Triangulations Material: [AK] Sections 3.4, 4.1, 4.2,
Delaunay Triangulation on the GPU Dan Maljovec. CPU Delaunay Triangulation Randomized Incremental Algorithm 1.Construct Bounding triangle 2.Choose point.
Worst and Best-Case Coverage in Sensor Networks Seapahn Meguerdichian, Farinaz Koushanfar, Miodrag Potkonjak, Mani Srivastava IEEE TRANSACTIONS ON MOBILE.
Exploring Computational Mathematics: Unfolding Polyhedra Brittany Terese Fasy, Duke University David Millman, UNC-Chapel Hill MathFest 2008.
Introduction to Computational Geometry Computational Geometry, WS 2007/08 Lecture 1 – Part II Prof. Dr. Thomas Ottmann Algorithmen & Datenstrukturen, Institut.
Lection 1: Introduction Computational Geometry Prof.Dr.Th.Ottmann 1 History: Proof-based, algorithmic, axiomatic geometry, computational geometry today.
Fast Computation of Generalized Voronoi Diagrams Using Graphics Hardware Kenneth E. Hoff III, Tim Culver, John Keyser, Ming Lin, and Dinesh Manocha University.
Lecture 4 Unsupervised Learning Clustering & Dimensionality Reduction
UNC Chapel Hill M. C. Lin Overview of Last Lecture About Final Course Project –presentation, demo, write-up More geometric data structures –Binary Space.
Unsupervised Learning
UNC Chapel Hill M. C. Lin Point Location Chapter 6 of the Textbook –Review –Algorithm Analysis –Dealing with Degeneracies.
ADA: 14. Intro to CG1 Objective o give a non-technical overview of Computational geometry, concentrating on its main application areas Algorithm.
Voronoi diagrams and applications Prof. Ramin Zabih
PRE-TRIANGULATIONS Generalized Delaunay Triangulations and Flips Franz Aurenhammer Institute for Theoretical Computer Science Graz University of Technology,
Voronoi Diagrams 1.Given a set of points S in the plane, which are the Voronoi sites. 2.Each site s has a Voronoi cell, also called a Dirichlet cell, V(s)
Nearest Neighbor Searching Under Uncertainty
5 -1 Chapter 5 The Divide-and-Conquer Strategy A simple example finding the maximum of a set S of n numbers.
On Graphs Supporting Greedy Forwarding for Directional Wireless Networks W. Si, B. Scholz, G. Mao, R. Boreli, et al. University of Western Sydney National.
Voronoi Diagram (Supplemental)
Open Problem: Dynamic Planar Nearest Neighbors CSCE 620 Problem 63 from the Open Problems Project
Kansas State University Department of Computing and Information Sciences Friday, July 13, 2001 Mantena V. Raju Department of Computing and Information.
L8 - Delaunay triangulation L8 – Delaunay triangulation NGEN06(TEK230) – Algorithms in Geographical Information Systems.
Delaunay Triangulation on the GPU
UNC Chapel Hill M. C. Lin Delaunay Triangulations Reading: Chapter 9 of the Textbook Driving Applications –Height Interpolation –Constrained Triangulation.
IntroductionReduction to Arrangements of Hyperplanes We keep the canonical triangulation (bottom, left corner triangulation) of each convex cell of the.
CDS 301 Fall, 2008 Domain-Modeling Techniques Chap. 8 November 04, 2008 Jie Zhang Copyright ©
1 Giuseppe Romeo Voronoi based Source Detection. 2 Voronoi cell The Voronoi tessellation is constructed as follows: for each data point  i (also called.
Spatial Analysis – vector data analysis Lecture 8 10/12/2006.
Honors Track: Competitive Programming & Problem Solving Seminar Topics Kevin Verbeek.
VORONOI DIAGRAMS BY KATHARINE TISCHER Coordinating Seminar Spring 2013.
Coverage In Wireless Ad-Hoc Sensor Networks Shimon Tal Sion Cohen Instructor: Dr. Michael Segal.
Coverage and Deployment 1. Coverage Problems Coverage: is a measure of the Quality of Service (QoS) of a sensor network How well can the network observe.
Kenneth E. Hoff III, Tim Culver, John Keyser,
Abolfazl Asudeh Azade Nazi Nan Zhang Gautam DaS
VORONOI DIAGRAMS FOR PARALLEL HALFLINES IN 3D
Haim Kaplan and Uri Zwick
Algorithm design techniques Dr. M. Gavrilova
Grids Geometry Computational Geometry
Domain-Modeling Techniques
Nearest-Neighbor Classifiers
Degree-driven Geometric Algorithm Design
Clustering 77B Recommender Systems
Instance Based Learning
L1 Shortest Path Queries among Polygonal Obstacles in the Plane
Presentation transcript:

Voronoi Diagrams and Problem Transformations Steven Love, supervised by: Jack Snoeyink and Dave Millman

What is a Voronoi Diagram?  A spatial decomposition A set of polygonsA set of polyhedra Vanhoutte 2009

What is a Voronoi Diagram?  Given n Sites  Special points in the space  Create n Cells  Regions of points that are closest to each site

What is a Voronoi Diagram?  Given n Sites  Special points in the space  Create n Cells  Regions of points that are closest to each site

Why do we care? NameFieldDateDiscovery DescartesAstronomy1644“Heavens” DirichletMath 1850Dirichlet tesselation VoronoiMath1908Voronoi diagram BoldyrevGeology1909area of influence polygons ThiessenMeteorology1911Thiessen polygons NiggliCrystallography1927domains of action Wigner & SeitzPhysics1933Wigner-Seitz regions Frank & CasperPhysics1958atom domains BrownEcology1965areas potentially available MeadEcology1966plant polygons Hoofd et al.Anatomy1985capillary domains IckeAstronomy1987Voronoi diagram Okabe et al. Spatial Tessellations

Why do we care?  Examples  Post Office Problem  Toxic Waste Dump  Max-clearance path planning  Delaunay Triangulation

Why do we care?  Examples  Post Office Problem

Why do we care?  Examples  Trash Cans in Sitterson

Discretized Voronoi Diagram  n Sites  n Cells  U x U Grid  U^2 Pixels

s Discretized Voronoi Diagram  n Sites  n Cells  U x U Grid  U^2 Pixels

s Discretized Voronoi Diagram  n Sites  n Cells  U x U Grid  U^2 Pixels

Discretized Voronoi Diagram  2 sites  2 cells  5x5 grid  25 pixels MathWorks MATLAB R2012a Documentation for bwdist D is ‘distance’ transform, IDX is discrete Voronoi

Background (Precision of Algorithms)  Idea: minimize arithmetic precision requirements  Liotta, Preparata, and Tamassia  “degree-driven analysis of algorithms”  Example:  Testing pixel ‘q’ to see which site (‘i’ or ‘j’) is closer, given their coordinates  intermediate calculations use twice as many bits as input

Background (Precision of Algorithms) Name TimeDegreeTimeDegree Fortune O(n lg n)5O(lg n)6 Breu et al. O(U^2)4O(1)0 Hoff et al. O(n*U^2)Z-bufferO(1)0 Maurer, Chan O(U^2)3O(1)0 Us 1Our UsqLgUO(U^2 lg U)2O(1)0 Us 2Our UsqO(U^2)2O(1)0 NameTimeDegreeTimeDegree FortuneO(n lg n)5O(lg n)6 Breu et al. Hoff et al. Maurer, Chan Our UsqLgU Our Usq

Background (Precision of Algorithms) McNeill, 2008 NameTimeDegreeTimeDegree FortuneO(n lg n)5O(lg n)6 Breu et al.O(U^2)4O(1)0 Hoff et al. Maurer, Chan Our UsqLgU Our Usq

Background (Precision of Algorithms) NameTimeDegreeTimeDegree FortuneO(n lg n)5O(lg n)6 Breu et al.O(U^2)4O(1)0 Hoff et al.O(n*U^2)Z-bufferO(1)0 Maurer, Chan Our UsqLgU Our Usq

Background (Precision of Algorithms) NameTimeDegreeTimeDegree FortuneO(n lg n)5O(lg n)6 Breu et al.O(U^2)4O(1)0 Hoff et al.O(n*U^2)Z-bufferO(1)0 Maurer, ChanO(U^2)3O(1)0 Our UsqLgU Our Usq

Background (Precision of Algorithms) NameTimeDegreeTimeDegree FortuneO(n lg n)5O(lg n)6 Breu et al.O(U^2)4O(1)0 Hoff et al.O(n*U^2)Z-bufferO(1)0 Maurer, ChanO(U^2)3O(1)0 Our UsqLgUO(U^2 lg U)2O(1)0 Our Usq

Background (Precision of Algorithms) asdfasdfasd NameTimeDegreeTimeDegree FortuneO(n lg n)5O(lg n)6 Breu et al.O(U^2)4O(1)0 Hoff et al.O(n*U^2)Z-bufferO(1)0 Maurer, ChanO(U^2)3O(1)0 Our UsqLgUO(U^2 lg U)2O(1)0 Our UsqO(U^2)2O(1)0

Experimental Data  Precision  Speed Chan

Problem Transformation  Problem: compute discrete Voronoi on a U x U grid  Split into U different sub-problems  Each sub-problem computes one row

Problem Transformation  Find the site s that minimizes distance to pixel p Minimize Maximize

Problem Transformation Maximize

Upper Envelope  Set of line segments that are higher than all other lines  Include segments with Greatest y for a chosen x

Discrete Upper Envelope  For each x in [1,U] we assign the index of the highest line  A naïve algorithm is O(n*U) for n lines

Discrete Upper Envelope  We calculate U DUEs, one for each row DUEs consist of subsets of lines of the form y = a*x + b a is degree 1, b is degree 2  Goal: compute the DUE in O(U) and degree 2

Discrete Upper Envelope  Lower Convex Hull: O(U) time, degree 3  Binary Search  Randomization

Discrete Upper Envelope  Lower Convex Hull: O(U) time, degree 3  Binary Search: O(U lg U) time, degree 2  Randomization

Discrete Upper Envelope  Lower Convex Hull: O(U) time, degree 3  Binary Search: O(U lg U) time, degree 2  Randomization: O(U) expected time, degree 2

Timings for computing Discrete Voronoi  Lower Convex Hull  Chan  Binary Search  UsqLgU  Randomization  Usq Chan

Future Work  Minimizing degrees of other geometric algorithms  Visualizations for these complex algorithms