Lec 5 Vector Field Visualization
Lec 5 Vector Field Visualization
Leif Kobbelt
Types of Data
dimension of nD
data type
3D
2D
1D
0D
1D
2
2D
3D
2
nD
dimension of
domain
Characteristic Lines
Types of characteristic lines in a vector field:
stream lines: tangential to the vector field
path lines: trajectories of massless particles
in the flow (non-static flow fields)
streak lines: trace of dye that is deposited
into the flow at a fixed position
time lines (time surfaces): propagation of
a line (surface) of massless elements in time
3
Characteristic Lines
stream lines
tangential to the vector field
stationary vector field (arbitrary, yet fixed time t)
stream line is a solution to the initial value
problem of an ordinary differential equation:
L0 x 0
dLu
v Lu
du
initial value
(seed point x0)
4
Characteristic Lines
path lines
trajectories of massless particles in the flow
vector field can be time-dependent (unsteady)
path line is a solution to the initial value problem
of an ordinary differential equation:
L0 x 0
dLt
v Lt , t
dt
Characteristic Lines
streak lines
Characteristic Lines
t0
t1
path line
t2
t3
Characteristic Lines
approaches:
arrow plots
glyphs
arrows visualization
direction of vector field
orientation
magnitude:
length of arrows
color coding
10
10
arrows
11
11
glyphs
can visualize more features of the vector field
(flow field)
12
12
13
13
14
14
15
15
16
16
17
17
18
18
19
19
20
20
dLt
v Lt , t
dt
21
21
22
22
Example:
x kx
x e kt
23
Approximation of derivative
x(t t ) x(t )
x (t t )
t
Implicit timestep
x(t t ) x(t ) t x (t t )
Solution of linear system due to the derivative at the unknown
new position
24
24
Midpoint method
1. explicit Euler step
x t f (x, t )
2. Evaluation of f at midpoint
x
t
f mid f x
,t
2
2
25
k 1 t f (x, t )
k
t
k 2 t f x 1 , t
2
2
k
t
k 3 t f x 2 , t
2
2
k 4 t f x k 3 , t t
x(t t ) x(t )
26
k1 k 2 k 3 k 4
O t 5
6
3
3
6
26
further reading:
27
27
28
28
point location
29
29
30
30
31
31
32
32
I ( x0 , y0 ) L k (t ) T (0 (t )) dt
convolution with
kernel
kernel:
33
k t dt 1
L
kernel
k(t)
-L
33
-L
34
34
Input noise
Vector field
k t dt 1
L
Convolution
kernel
k(t)
-L
-L
Final image
35
35
fast LIC
problems with LIC
improvement:
36
36
TL
xL
Tn
xn
k t
1
2L 1
x-m
T-m
37
T0
x0
T-L
x-L
37
I0
1
2L 1
i -L
TL
xL
Tn
xn
k t
1
2L 1
x-m
T-m
38
T0
x0
T-L
x-L
38
I0
1
2L 1
i -L
I1 I 0 TL 1 T- L /( 2 L 1)
1
2L 1
i -L
incremental integration:
I j 1 I j
39
T
L
1
2L 1
i -L
i j 1 Ti j
39
1
2L 1
L j 1
T- L j
40
40
-l
41
anisotropic
convolution kernel
41
42
42
43
43
44
45
summary:
46
46
3D Vector Fields
47
47
3D Vector Fields
48
48
3D Vector Fields
missing continuity
49
49
3D Vector Fields
50
50
3D Vector Fields
reduction of visual data
3D LIC
51
51
3D Vector Fields
52
52
3D Vector Fields
illumination
53
53
3D Vector Fields
illuminated streamlines [Zckler et al. 1996]
model: streamline is made of thin cylinders
problem
no distinct normal vector on surface
normal vector in plane perpendicular to tangent: normal space
cone of reflection vectors
54
54
3D Vector Fields
illuminated streamlines (cont.)
light vector is split in tangential and normal parts
V R V LT L N V (L T)T (L N)N
(L T)(V T) (L N)(V N)
(L T)(V T) 1 (L T) 2 1 (V T) 2
f (L T), (V T)
55
55