Spatial Data
CS444
http://www.slate.com/blogs/future_tense/2013/12/06/ winter_storm_cleon_record_lows_us_weather_map_today_is_completely_insane.html http://www.sci.utah.edu/~miriah/cs6630/lectures/L17-isosurfaces.pdf
Chapter 8, VA&D
Spatial Data CS444 Chapter 8, VA&D - - PowerPoint PPT Presentation
Spatial Data CS444 Chapter 8, VA&D http://www.sci.utah.edu/~miriah/cs6630/lectures/L17-isosurfaces.pdf http://www.slate.com/blogs/future_tense/2013/12/06/ winter_storm_cleon_record_lows_us_weather_map_today_is_completely_insane.html Recap
http://www.slate.com/blogs/future_tense/2013/12/06/ winter_storm_cleon_record_lows_us_weather_map_today_is_completely_insane.html http://www.sci.utah.edu/~miriah/cs6630/lectures/L17-isosurfaces.pdf
Chapter 8, VA&D
position of a data point on the screen
positional information
infinitely many data points in a weather map
finite memory and finite time
problem?
2
1 1 f(x) = ⇢ 1, if − 1
2 ≤ x ≤ 1 2
0,
2
1 1
f(x) = 1 + x, if − 1 ≤ x ≤ 0 1 − x, if 0 ≤ x ≤ 1 0,
scaled versions of these simple functions
scaled versions of these simple functions 2
1 1
2
1 1
scaled versions of these simple functions
2
1 1
scaled versions of these simple functions
2
1 1
scaled versions of these simple functions
2
1 1
scaled versions of these simple functions
2
1 1
scaled versions of these simple functions
2
1 1
scaled versions of these simple functions
2
1 1
scaled versions of these simple functions
2
1 1
ϕ(x)
2
1 1
sums shifts scales
simple functions
ϕ(x)
2
1 1 ϕ(x)
ϕ(x) 2
1 1
Alternative formulation: f(x) = v0(1 − x) + v1x
ϕ(x)
ϕ(x) Alternative formulation:
ϕ(x)
http://www.cs.berkeley.edu/~sequin/CS284/IMGS/ makingbasisfunctions.gif
statements, after all
easily
space where all we do is change the “simple function”
ϕ(x) dϕ dx (x)
ϕ(x) Basis function for bilinear interpolation
f(x, y) = v00 (1 − x) (1 − y) + v10 (x) (1 − y) + v01 (1 − x) (y) + v11 (x) (y)
rf(~ x) = @f/@x @f/@y
First we remember our friend the Taylor series: Now we ask ourselves: if we move a little away from , in what direction does grow the fastest? f (x0, y0) f ✓ x y ◆ = f ✓ x0 y0 ◆ + rf ✓ x0 y0 ◆T x x0 y y0
f ✓ x y ◆ = f ✓ x0 y0 ◆ + rf ✓ x0 y0 ◆T x x0 y y0
rf ✓ x0 y0 ◆T dx dy
∂f/∂x ∂f/∂y T dx dy
∂f/∂y
dy
∂f/∂y
dy
The gradient points in the direction of greatest increase and its length is the rate of greatest increase
the range of the function as the domain
to convert from the domain of the function to positions on the screen
according to the scale
http://www.nytimes.com/interactive/2015/04/16/upshot/ marriage-penalty-couples-income.html?abt=0002&abg=0
http://ryanhill1.blogspot.com/2011/07/isoline-map.html
How do we compute them?
http://ryanhill1.blogspot.com/2011/07/isoline-map.html
grid points of opposite sign
530 - Introduction to Scientific Visualization Oct 7, 2014,
Interpolate along grid lines
+
x
Get cell Identify grid lines w/cross Find crossings Primitives naturally chain together
No Crossings Case Polarity Rotation Total x2 2 Singlet x2 8 x4 Double adjacent x2 4 x2 (4) Double Opposite x2 2 x1 (2) (x2 for polarity) 16 = 24
+
x x x x
x x x x x x x x x x x x