Trajectory Simplification

Slides:



Advertisements
Similar presentations
Generating Realistic Terrains with Higher-Order Delaunay Triangulations Thierry de Kok Marc van Kreveld Maarten Löffler Center for Geometry, Imaging and.
Advertisements

Trajectory Segmentation Marc van Kreveld. Algorithms Researchers … … want their problems to be well-defined (fully specified) … care about efficiency.
Computational Movement Analysis Lecture 3:
Motion in Two Dimensions
Fundamental tools: clustering
Efficient access to TIN Regular square grid TIN Efficient access to TIN Let q := (x, y) be a point. We want to estimate an elevation at a point q: 1. should.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
Geometric Modeling Notes on Curve and Surface Continuity Parts of Mortenson, Farin, Angel, Hill and others.
1/20 Using M-Reps to include a-priori Shape Knowledge into the Mumford-Shah Segmentation Functional FWF - Forschungsschwerpunkt S092 Subproject 7 „Pattern.
Motion Planning CS 6160, Spring 2010 By Gene Peterson 5/4/2010.
DMiST- Data Mining in Spatio-Temporal sets
Marc van Kreveld (and Giri Narasimhan) Department of Information and Computing Sciences Utrecht University.
Contiguous area cartograms Ingeborg Groeneweg. Introduction What are cartograms Difficulties creating cartograms History: previous approaches Current.
Classes of Polygons Planar polygons Non-planar polygons Simple
Fractional Cascading CSE What is Fractional Cascading anyway? An efficient strategy for dealing with iterative searches that achieves optimal.
Answering Metric Skyline Queries by PM-tree Tomáš Skopal, Jakub Lokoč Department of Software Engineering, FMP, Charles University in Prague.
Data Transmission and Base Station Placement for Optimizing Network Lifetime. E. Arkin, V. Polishchuk, A. Efrat, S. Ramasubramanian,V. PolishchukA. EfratS.
Trajectory Generation How do I get there? This way!
Median trajectories: define and compute a trajectory composed of the input trajectories and that is somehow in the middle Marc van Kreveld Department of.
Computational Geometry and Spatial Data Mining Marc van Kreveld Department of Information and Computing Sciences Utrecht University.
OBBTree: A Hierarchical Structure for Rapid Interference Detection Gottschalk, M. C. Lin and D. ManochaM. C. LinD. Manocha Department of Computer Science,
Dynamic Medial Axis Based Motion Planning in Sensor Networks Lan Lin and Hyunyoung Lee Department of Computer Science University of Denver
UMass Lowell Computer Science Advanced Algorithms Computational Geometry Prof. Karen Daniels Spring, 2004 O’Rourke Chapter 8 Motion Planning.
1 University of Denver Department of Mathematics Department of Computer Science.
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
Geometric Probing with Light Beacons on Multiple Mobile Robots Sarah Bergbreiter CS287 Project Presentation May 1, 2002.
Clustering Vertices of 3D Animated Meshes
Presenter: Stefan Zickler
October 8, 2013Computer Vision Lecture 11: The Hough Transform 1 Fitting Curve Models to Edges Most contours can be well described by combining several.
Chapter 10: Image Segmentation
A Navigation Mesh for Dynamic Environments Wouter G. van Toll, Atlas F. Cook IV, Roland Geraerts CASA 2012.
Chapter 4 Motion in Two Dimensions. Using + or – signs is not always sufficient to fully describe motion in more than one dimension Vectors can be used.
Adding Vectors, Rules When two vectors are added, the sum is independent of the order of the addition. This is the Commutative Law of Addition.
October 14, 2014Computer Vision Lecture 11: Image Segmentation I 1Contours How should we represent contours? A good contour representation should meet.
Planning Near-Optimal Corridors amidst Obstacles Ron Wein Jur P. van den Berg (U. Utrecht) Dan Halperin Athens May 2006.
Computational Movement Analysis Lecture 5: Segmentation, Popular Places and Regular Patterns Joachim Gudmundsson.
CSIE in National Chi-Nan University1 Approximate Matching of Polygonal Shapes Speaker: Chuang-Chieh Lin Advisor: Professor R. C. T. Lee National Chi-Nan.
Shape Analysis and Retrieval Structural Shape Descriptors Notes courtesy of Funk et al., SIGGRAPH 2004.
Digital Image Processing CCS331 Relationships of Pixel 1.
Motion. Some Motion Terms Distance & Displacement Velocity & Speed Acceleration Uniform motion Scalar.vs. vector.
Motion. Some Motion Terms Distance & Displacement Velocity & Speed Acceleration Uniform motion Scalar.vs. vector.
1 Motion along a straight line: Position, Displacement and Velocity Lecture 03 General Physics (PHYS101)
Motion Analysis using Optical flow CIS750 Presentation Student: Wan Wang Prof: Longin Jan Latecki Spring 2003 CIS Dept of Temple.
Extraction and remeshing of ellipsoidal representations from mesh data Patricio Simari Karan Singh.
Stabbing balls and simplifying proteins Ovidiu Daescu and Jun Luo Department of Computer Science University of Texas at Dallas Richardson, TX
Spectral Sequencing Based on Graph Distance Rong Liu, Hao Zhang, Oliver van Kaick {lrong, haoz, cs.sfu.ca {lrong, haoz, cs.sfu.ca.
Generating Realistic Terrains with Higher-Order Delaunay Triangulations Thierry de Kok Marc van Kreveld Maarten Löffler Center for Geometry, Imaging and.
1 Motion Analysis using Optical flow CIS601 Longin Jan Latecki Fall 2003 CIS Dept of Temple University.
Trajectories in same homotopy classses Trajectories in different homotopy classses Definition of Homotopy Class Set of trajectories joining same start.
Course 8 Contours. Def: edge list ---- ordered set of edge point or fragments. Def: contour ---- an edge list or expression that is used to represent.
Describing Motion Physics 11. Cartesian Coordinates When we describe motion, we commonly use the Cartesian plane in order to identify an object’s position.
Splines I – Curves and Properties based on: Michael Gleicher Curves, chapter 15 in Fundamentals of Computer Graphics, 3 rd ed. (Shirley & Marschner) Slides.
Trajectory Simplification: On Minimizing the Direction-based Error
Geometric Data and Representation Pattern Recognition 2015/2016 Marc van Kreveld.
Two Finger Caging of Concave Polygon Peam Pipattanasomporn Advisor: Attawith Sudsang.
Exponential random graphs and dynamic graph algorithms David Eppstein Comp. Sci. Dept., UC Irvine.
Computing Approximate Weighted Matchings in Parallel Fredrik Manne, University of Bergen with Rob Bisseling, Utrecht University Alicia Permell, Michigan.
1 Schematization of Networks Rida Sadek. 2 This talk discusses: An algorithm that is studied in the following papers:  S. Cabello, M. de Berg, and M.
2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 3: Movement Patterns.
2IMA20 Algorithms for Geographic Data Spring 2016 Lecture 5: Simplification.
Trajectory Data: Analysis and Patterns Pattern Recognition 2015/2016.
Polygonal Curve Simplification
CS475 3D Game Development Level Of Detail Nodes (LOD)
Fall 2012 Longin Jan Latecki
Ellipses Ellipse: set of all points in a plane such that the sum of the distances from two given points in a plane, called the foci, is constant. Sum.
2IMG15 Algorithms for Geographic Data
Haitao Wang Utah State University WADS 2017, St. John’s, Canada
2IMG15 Algorithms for Geographic Data
Topological Signatures For Fast Mobility Analysis
Presentation transcript:

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 (xn,yn,tn) (x2,y2,t2) (xi,yi,ti) (x1,y1,t1)

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

Assumptions Due to lack of further information: constant speed on each segment For this presentation: equal time intervals t=14 t=16 t=12 t=18 t=20

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

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

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]

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(n3 / 2) O(n4 / 2)

trajectory simplification = line simplification? Line simplification is only about shape preservation 1 2 3 4 5 6 1 6 1 6 5

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

Where-at (t) t

Where-at (t) t

When-at (x,y) When-at (x,y) gives the time when the object is at (x,y) We cannot easily require closeness in time for When-at (x,y) of the original and simplified trajectory t (x,y)

Close in time and space ... Use a Douglas-Peucker type of approach in 3-space, where a vertex is close enough if a ball with radius  centered at the vertex intersects the approximating line segment If the approximation is not close enough, add the furthest vertex in 3-space t

Alternatives Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed Euclidean distance vertices – line segment  

Alternatives Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed Euclidean distance vertices – line segment  

Alternatives Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed Euclidean distance vertices – line segment  

Alternatives Use an Imai-Iri type of approach: needs a test to establish whether a shortcut is allowed Euclidean distance vertices – line segment  

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

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

Imai-Iri for trajectory simplification Replace Euclidean distance by time-corresponding distance to test whether a shortcut is allowed

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

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

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

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

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