Efficient Extraction of Motion Flow Data From a Repository of Three-Dimensional Trajectories Using Bi-Dimensional Indexes