Research Article

Application of Artificial Intelligence in an Unsupervised Algorithm for Trajectory Segmentation Based on Multiple Motion Features

Algorithm 1

Trajectory segmentation algorithm based on the Pearson coefficient.
Input: The raw trajectory , time threshold , Pearson coefficient threshold
Output: Segment point sequence
1:  Calculate the Pearson coefficient of all adjacent trajectory points
2:  add and to
3:   the sum of the num of points with
4:   time complexity is
5:    the minimum value of and the corresponding points
6:    the adjacent segmentation points of in the
7:   Time interval between and
8:    Time interval between and
9:   
10:    add to
11:   end if
12:  end for
13: