with Adaptive parameters (ATC), where the
automatic threshold calculation is realized by
inputting an expected compression rate λ by users.
Kangasuan et al. (Hansuddhisuntorn K., Horanont T.,
2019) proposed Improvement of TD-TR Algorithm.
Inspired by the success of deep learning in recent
years, this paper aims to improve the performance of
trajectory compressing by using Convolutional
Neural Network (CNN). A new algorithm, named
Trajectory Compression based on Convolutional
Neural network (TC-CNN) is proposed, which
utilizes CNN to perform points classification, and
then obtain a compressed trajectory by removing
redundant points according to points classification
results, and finally reduce the compression error. The
contributions of this paper are as follows:
1 To the best of our knowledge, it is the first work
to utilize deep learning technique on the problem
of offline trajectory compression. The CNN-
based recognition of feature points and non-
feature points is leveraged to compress tracks.
2 The designed CNN can classify the feature
points and redundant points in the track with
high precision, and significantly reduces the cost
of labour-intensive threshold adjustments
required by most of the existing trajectory
compression algorithms;
3 Experiments are conducted to compare the
performance of the proposed approach with
several benchmark algorithms. The results show
the efficacy of the proposed approach.
2 RELATED WORK
2.1 Trajectory Compression Algorithm
Douglas–Peucker (DP) (Singh A K, Aggarwal V &
Saxena P, 2017) is the most classic algorithm in the
off-line trajectory compression algorithm. It needs to
set a distance threshold
ε , and then calculate the
maximum vertical distance between the other points
in the track and the starting and ending points of the
track. If the distance is less than the threshold, then all
the points except the starting and ending points of the
track will be removed as redundant points. If the
distance is greater than the threshold, the trajectory is
split from the point, and then the sub trajectory is
recursively processed. DP is used widely as a
benchmark of trajectory compression algorithm.
Trajectory compression algorithm with adaptive
parameters (ATC) (Long Hao et al., 2018) abandoned
the compression threshold in the traditional trajectory
compression algorithm by setting the compression
ratio λ, and used the compression ratio to calculate the
threshold automatically. At the same time, the
compression algorithm is divided into three stages.
Firstly, the synchronous Euclidean distance of
each trajectory data point is calculated, and the
maximum value is selected.
Secondly, the compression threshold ε is
calculated according to the preset compression ratio λ
and the maximum synchronous Euclidean distance. If
the current Trajectory compression ratio is greater
than the preset value λ, the current Trajectory
compression threshold will be adjusted to 90% of the
previous compression threshold each time except for
the first time to achieve the purpose of automatic
calculation of the threshold until the compression
ratio is less than λ.
Finally, the first point whose synchronous
Euclidean distance is greater than ε will be found as
the dividing point. At the same time, all the track
points whose synchronous Euclidean distance is less
than ε will be eliminated. According to the dividing
point, the track composed of the remaining points will
be divided into two new tracks, and then the ATC
algorithm will be used recursively to compress until
the compression ratio is less than or equal to λ.
ATC achieves a relatively high fitting degree, but
incurs a low execution efficiency.
2.2 Trajectory Compression Evaluation
Metric
The widely used evaluation metric is Trajectory
Compression Ratio (TCR). The main purpose of
trajectory compression algorithm is to fit the original
trajectory with as few data points as possible, so as to
reduce the memory occupation of trajectory while
reducing the distortion of trajectory as much as
possible. Therefore, TCR is usually an important
metric for measuring the effectiveness of a trajectory
compression algorithm. TCR is defined as the
percentage of the number of track points P
c
after
compression and the number of track points P
u
before
compression, as shown in Eqn. (1)
.
u
c
p
p
=
λ
(1)
Another metric is Average Compression Error
(ACE). It is the difference between the original track
and the compressed track in geometry. The