Top Banner
Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(), text(), Y + X
20

Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Jan 04, 2016

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Maps, images, spatial displays - Always look at the data

responses, "Y" explanatories, "X"

Saskatchewan, Canada

responses,"Y" explanatories,"X"polygon(), text(), library(maps), ...

Y + X

Page 2: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Examples from the news

Costa Concordia - Giglio

Page 3: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Hetch Hetchy water route - pipelines and tunnels

Page 4: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

SF Chronicle centerfold

Page 5: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

NY Times 01/27/09

Coal used for electricity circles(), polygon()

Page 6: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Spatial process data.

(s,t): geographic coordinates,

e.g. (latitude, longitude), (x-coord,y-coord)

y(s,t): real-valued

e.g. available for s=0,...,S-1; t=0,...,T-1

(s,t) in A

Page 7: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Height of 500mb surface S=64, T=32

1200 GMT January 1, 1986

data based on many observations, interpolated to grid

display by contours over a world map

Page 8: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

overall mean subtracted

map(), lines(), 2

Page 9: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

map(), image(...,add=T, col=)

Page 10: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Starkey Reserve, Oregon - persp(), points()

Page 11: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

red: eastward blue: westward

http://www.oscar.noaa.gov/

map(), arrows()

Ocean currents

Page 12: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Stacking.

Galton - photos of faces

electron micrographs

crystal, purple membrane

symmetries

160 "units"

j=1160 yj(s,t)/160

stacking via FFT fft(), lines()

Page 13: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

micrographs

not stacked and stacked

J=1 J=160

Page 14: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Data may be aggregate, e.g. over polygons

coordinates of vertices

choropleth plot: a thematic map in which areas are shaded

map(), polygon()

computational geometry,

point in polygon library(splancs)

Saskatchewan births, counts, rates

Page 15: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

polygon(,density=)

Page 16: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

perspective plot persp()

hidden lines

Page 17: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Contouring.

Contour line, , (a function of two variables), is a curve connecting points where the function has the same value.

Smooth function f: R2 R

c: value

f-1 (c) = x,y

There may be more than one component

Page 18: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

One method.

Suppose f(s,t) available for a regular grid

Suupose wish f-1(c)

Pick an edge, AB, of a pixel

I. It will be intercepted if min{f(A),f(B)}cmax{f(A),f(B)}

using this can learn all edges intercepted

II. If one edge of a cell is intercepted, so is another one

search in order E-S-W-N

III. Get intersection coordinates by interpolation

connect by line

IV. Move to pertinent adjacent cell and continue

Page 19: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Line process - set of lines {l1 , l2 , ls ,...}

Point process {(p(l1),(l1)),(p(l2),(l2)),...}

p: distance : angle

Page 20: Maps, images, spatial displays - Always look at the data responses, "Y" explanatories, "X" Saskatchewan, Canada responses,"Y" explanatories,"X" polygon(),

Tesselation

#{cells completely in set A}

polygon()