+ All Categories
Home > Documents > Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht...

Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht...

Date post: 20-Dec-2015
Category:
View: 215 times
Download: 1 times
Share this document with a friend
Popular Tags:
27
Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin
Transcript
Page 1: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Trajectory Simplification

Marc van Kreveld

Dept. of Information and Computing Sciences

Utrecht University

Joint work with Kevin Buchin and Maike Buchin

Page 2: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

What is a trajectory?

A trajectory is a model for a motion path of a moving object (animal, car, human, hurricane, …)

A common representation is a polygonal line in the plane where the vertices have a time stamp

(xi,yi,ti)

(x2,y2,t2)

(x1,y1,t1)

(xn,yn,tn)

Page 3: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.
Page 4: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Assumptions

Due to lack of further information: constant speed on each segment

Page 5: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Assumptions

Due to lack of further information: constant speed on each segment

For this presentation: equal time intervals

t=12

t=14

t=18

t=16

t=20

Page 6: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Assumptions

Speed is a vector constant speed on each segment implies that speed is discontinuous both in magnitude and in direction at vertices

Page 7: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Why trajectory simplification?

Algorithms on trajectories are expensive

A trajectory consists of 100 – 1,000,000 vertices

We may analyze 1, 2, or many 1,000s of trajectories

Trajectory similarity

Sub-trajectory similarity

Trajectory self-similarity

Trajectory flocking

Page 8: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Algorithms on trajectories

Trajectory (shape) similarity based on the Hausdorff distance: O(n log n) time [Alt et al. 1991]

Trajectory (shape) similarity based on the Frechét distance: O(n log n) time [Alt et al. 1995]

Page 9: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Algorithms on trajectories

Sub-trajectory similarity based on average distance:O(n) time [Buchin et al. 2009]

Same start

Duration = T Duration ≥ T

Different start

O(n) O(n)

O(n3 / 2) O(n4 / 2)

Page 10: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

trajectory simplification = line simplification?

Line simplification is only about shape preservation

1 2 3 4 5 6

1 6

1 65

Page 11: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Previous research on trajectory simplification

Put trajectories in time-space (3D) and apply 3D line simplification [Cao et al. 2006] [Gudmundsson et al. 2007]

Where-at (t) gives the location at time t ; the locations in the original and simplified trajectories should be close

Page 12: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Where-at (t)

t

Page 13: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Where-at (t)

t

Page 14: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

When-at (x,y)

When-at (x,y) gives the time when the object is at (x,y)

We cannot easily requirecloseness in time forWhen-at (x,y) of theoriginal and simplifiedtrajectory

t

(x,y)

Page 15: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Close in time and space ...

Use a Douglas-Peucker type of approach in 3-space,where a vertex is closeenough if a ball with radius centered at the vertexintersects the approximatingline segment

If the approximation isnot close enough, addthe furthest vertex in3-space

t

Page 16: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Alternatives

Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed

Euclidean distance vertices – line segment

Page 17: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Alternatives

Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed

Euclidean distance vertices – line segment

Page 18: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Alternatives

Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed

Euclidean distance vertices – line segment

Page 19: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Alternatives

Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed

Euclidean distance vertices – line segment

Page 20: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Efficiency

The graph can have ~n2 edges; testing one shortcut takes time linear in the number of vertices in between

The Imai-Iri algorithm avoids spending ~n3 time by testing all shortcuts from a single vertex in linear time

Page 21: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Efficiency

The graph can have ~n2 edges; testing one shortcut takes time linear in the number of vertices in between

The Imai-Iri algorithm avoids spending ~n3 time by testing all shortcuts from a single vertex in linear time

Page 22: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Imai-Iri for trajectory simplification

Replace Euclidean distance by time-corresponding distance to test whether a shortcut is allowed

Page 23: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Imai-Iri for trajectory simplification

Replace Euclidean distance by time-corresponding distance to test whether a shortcut is allowed

All good shortcuts can be computed in O(n2 log2 n) time, or approximately in O(n2) time as in the Euclidean case

Page 24: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Not (yet) speed-preserving

Both the Douglas-Peucker approach [Cao et al.] and the Imai-Iri approach do not necessarily preserve speed well

Worse: a short stop can be simplified away, whereas it may be significant

Page 25: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Speed-preserving adaptation

For any shortcut, test if the implied speed is sufficiently similar to the speeds on the edges it replaces

Still O(n2 log2 n) time, or approximately in O(n2) time

Page 26: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Preserve features

Preserving speed as a vector will maintain winding of the simplified trajectory automatically

Page 27: Trajectory Simplification Marc van Kreveld Dept. of Information and Computing Sciences Utrecht University Joint work with Kevin Buchin and Maike Buchin.

Conclusions

Line simplifications are not directly suitable for trajectory simplification

Variations can be made that are suitable

Various properties can be preserved

Efficient implementations for optimal simplification exist


Recommended