39
Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Embed Size (px)

Citation preview

Page 1: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Time - Space

Sandra Bies Marc van Kreveld

maps from triangulations

Page 2: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Showing travel times between places in a country by train

Page 3: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 4: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

50 km

Page 5: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

60 min

From Amsterdam: Rotterdam: 63 min.; ‘s-Hertogenbosch: 59 min.; Arnhem: 70 min.

Page 6: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Can we deform the map so that any time-contour from Amsterdam becomes a circle?

Page 7: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 8: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

6090120150

Page 9: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 10: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

The idea of using triangulations

• Triangulations to define map deformations (Saalfeld, SoCG 1987)

• Triangulations for contiguous-area cartograms (Edelsbrunner and Waupotitsch, SoCG 1995)

Spring embedder: Kocmoud and House, 1998

Page 11: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

everything inside a triangle moves according to a linear interpolation of the movement of the vertices

Barycentric coordinates

Page 12: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 13: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 14: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 15: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 16: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 17: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 18: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 1: Can we extend the deformation naturally outside the convex hull of the point set?

Page 19: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 1: Can we extend the deformation naturally outside the convex hull of the point set?

Yes, we can make a bounding box with vertices that are stationary. The deformation dies out towards the outside.

Page 20: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 2: Is there a triangulation that is “good” for the original point set and the moved point set?

Page 21: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 2: Is there a triangulation that is “good” for the original point set and the moved point set?

Yes, we can use a “radial” triangulation.No moving point will cause a triangle to collapse.

Page 22: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 2: Is there a triangulation that is “good” for the original point set and the moved point set?

Yes, we can use a “radial” triangulation.No moving point will cause a triangle to collapse.

Page 23: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 3: Does this give a nice deformation?

Page 24: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 3: Does this give a nice deformation?

No, it has many artifacts.

Static radial

Page 25: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 4: Is there a different triangulation that does not have collapses and gives a nice deformation?

Page 26: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 4: Is there a different triangulation that does not have collapses and gives a nice deformation?

Usually. For a given input we can flip toward a triangulation that is “maximally” Delaunay but does not have collapses.

Page 27: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 4: Is there a different triangulation that does not have collapses and gives a nice deformation?

Usually. For a given input we can flip toward a triangulation that is “maximally” Delaunay but does not have collapses.

Page 28: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 5: Does this give a nice deformation?

Page 29: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 5: Does this give a nice deformation?

Much nicer. But there are still artifacts.

Static hybrid

Page 30: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 6: Can we somehow change the triangulation when moving the points from geographic to time location?

Page 31: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 6: Can we somehow change the triangulation when moving the points from geographic to time location?

This is a great idea! We maintain the Delaunay triangulation for moving points, and flip when the in-circle predicate is violated.

Page 32: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 7: Does this give a nice deformation?

Page 33: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Triangulations for Time-Space Maps

Question 7: Does this give a nice deformation?

Dynamic Delaunay

Usually very nice. Occasionally there may be visually unpleasant parts.

Page 34: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

t=0

t=1

t=0t=1

t=0

t=0t=1

t=1

t=0; t=1

Page 35: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

t=0

t=0

t=0t=1

t=1

t=1

t=0t=1

t=0; t=1

Page 36: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

ComparisonStatic radial Static hybrid Dynamic Delaunay

compute deformation ( n cities )

O(n log n) O(n2 log n) O(n3 log n) (*)

compute deformed map ( m vertices )

O(m log n) O(m log n) O(m n3 log n) (*)

distance deformation 58.8 km 27.3 km 7.0 kmangle deformation 37.0 o 26.3 o 19.6 o

25 km 25 + X km

60o 60o ± Y

Page 37: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 38: Time - Space Sandra Bies Marc van Kreveld maps from triangulations
Page 39: Time - Space Sandra Bies Marc van Kreveld maps from triangulations

Conclusions

• Time-space maps• Triangulations make deformations• Maintaining the Delaunay triangulation during

point movement gives good deformations