Professional Documents
Culture Documents
Voronoi Presentation
Voronoi Presentation
Nirav Patel
Binghamton University
Department of Computer Science
Thomas J. Watson School of Engineering and Applied Science
Definition
For a set P of points p1 , p2 , . . . , pn in the Euclidean plane, the
partition Vor (P) of the plane into regions R(p1 ), R(p2 ), . . . , R(pn )
associated with each member of P, such that each point in a
region R(pi ), 1 ≤ i ≤ n is closer to pi than any other point in P.
Voronoi Vertex
Infinite Voronoi
Edges
Generators
Ordinary Voronoi
Edge
Voronoi Vertex
Infinite Voronoi
Edges
Generators
Ordinary Voronoi
Edge
Voronoi Vertex
Infinite Voronoi
Edges
Generators
Ordinary Voronoi
Edge
(a) (b)
• Sweep line
• Divide-and-conquer
• Spiral-search
• Three dimensional convex hull
• Incremental
Point generators
1
Source:http://www.diku.dk/hjemmesider/studerende/duff/Fortune/
Nirav Patel Voronoi Diagrams
Properties of sweep line algorithms
Exact Arithmetic
The topological structure is decided based on the signs of results of
numerical computations. Two strategies:
1 Implementing the algorithms on top of a model of exact
arithmetic capable of infinite precision computation.
2 Restricting the precision of input data (e.g., using only 24 bit
integers) such that other techniques may be used that
guarantee correctness of specific mathematical operations on
that data.
Tolerance based
Every numerical computation is accompanied by calculation of an
upper bound on its error. Based on this, the result is judged to be
either reliable or unreliable.
• Program code is comparatively complex because there must
be two branches for processing after each calculation, one
each for the reliable and unreliable case
• Software is less portable because the errors are often tied to a
particular computation environment
Small
Topology Oriented
Does not rely directly on numerical computations because of the
assumption that there is error associated with all numeric computa-
tions.
• Derived topological properties are given higher priority and
only the numerical computations consistent with that derived
topology are accepted
• This approach can guarantee correctness at a relatively low
cost since models of exact computation or restrictions on
input are not required
l1
l1
l3 pb
pb
l2
l2
(a) (b)
Figure: Computing bisector point pb of lines l1 and l2 (a) normal case (b)
nearly parallel lines, l3 is the generated line
u7
u8 u2 u6
u1 u3
u5
u4
u9 u 10
(a) (b)
1 u1 , u2 , u3 , u4 are the
vertices to be removed
u5
(b)
(c)
Parabolic Edges
Endpoint separators
Separator
Vertices
Apex
Vertex
Line Generators
ek
Separator
vertices R p1 R p2
(a)
(a)
Separators
R p2
R p1 Re k
(b)
l1 separator
converge normal
p1
R p1
separator
l2
Key:
Generators
Voronoi Vertices
(a) Voronoi Edges
Skeleton Vertices
OUT IN IN OUT
OUT IN IN OUT
l1 l1
p1 p1
l2
l2
(b) (c)
separator
parallel
IN
l1 p1 l2
OUT
separator
R p1 parallel
(a)
Key:
Generators
Voronoi Vertices
Voronoi Edges
Nirav Patel Voronoi Diagrams Skeleton Vertices
Key:
Parallel Vertices - Skeleton Generators
Voronoi Vertices
Voronoi Edges
Skeleton Vertices
IN
p1
l1 l2
OUT
(b)
Key:
Angle of Concavity
2
3 CEP Norms
Characteristic edge
points (CEPs)
250.00
200.00
No reordering
150.00
100.00 Reordering based on
grid
50.00
0.00
00
00
00
00
0
00
,0
,0
,0
,0
0,
10
20
50
70
10
No. of points
12000.00
10000.00
8000.00 No reordering
6000.00
Reordering based on
4000.00 grid
2000.00
0.00
00
00
00
00
0
00
,0
,0
,0
,0
0,
10
20
50
70
10
No. of lines
0.1400
0.1200
milliseconds
0.1000
0.0800 pvd
0.0600 ours
0.0400
0.0200
0.0000
64
24
48
96
92
8
12
25
51
38
76
10
20
40
81
16
32
No. of line segments