This visualization tool computes an alignment between two or three trajectories and enables the user to explore such an alignment interactively.
The tool supports these alignment methods
- Dynamic Time Warping
- (discrete and locally correct) Fréchet Distance
- Edit Distance on Real Sequences
Run
$ ant
(Or compile and build the project within the IDE Netbeans)
You can find example files in data
folder
t bx by ax ay
t
is the current time stampbx by
x- and y-coordinates from the first trajectoryax ay
x- and y-coordinates from the second trajectory
t cx cy bx by ax ay
t
is the current time stampcx cy
x- and y-coordinates from the first trajectorybx by
x- and y-coordinates from the second trajectoryax ay
x- and y-coordinates from the third trajectory
- Launch the application by
$ java -jar dist/TrajectoryDelay.jar
- Load a data set into the application by choosing
File
in the menu bar and select:Open Trajectory Data (Pairwise)
to compute and show an alignment between two trajectoriesOpen Triplet Trajectory Data (Pair 1 2)
to compute an alignment among three trajectories and show their projections onto the delay space from trajectory 1 and 2Open Triplet Trajectory Data (Pair 1 3)
andOpen Triplet Trajectory Data (Pair 2 3)
similarly for the other pairs in the triplet
- Use the slider to browse the alignment
- Settings to adjust the visualization and/the computation of the matching
- Delay Space: the pairwise distances as a grid from the start of the trajectories
(1, 1)
, bottome-left corner, to the end(n, m)
, top-right corner, as a heated body color map - Trajectory Plot: The visualization of the trajectories and their corresponding alignment over time
- Matching slider: to navigate and browse the matching/alignment
- Distance Plot: Distances from the matching over time
- Delay Plot: Time differences, delay, from the matching over time