I. Introduction
Video sensors have been widely used for collecting vehicle trajectory data to support academic research, traffic operations, management, and design. One of the most influential video-based trajectory datasets is the Next Generation SIMulation (NGSIM) trajectory dataset [1], which has significantly boosted traffic flow and modeling research by revealing microscopic traffic characteristics. As highlighted by a survey paper [2], although video-based trajectory datasets have greatly improved the simulations of driver behavior models and their calibration/training, there is still a substantial demand for high-quality, high-resolution trajectory data. Collecting useful trajectory data from traffic cameras with satisfactory accuracy is challenging. The traditional trajectory extraction approach, which contains multi-stage procedures, is error-prone. Previous practice for data quality control is very inefficient, involving manual processes to modify, add or delete tracked objects by hand. The signal-processing-based noise removal methods are unsatisfactory because they can only detect some incongruity points that deviate from the average driver’s behavior. However, they cannot address the root cause of detection and tracking failures. The scanline method efficiently validates extracted vehicle trajectories by showing vehicle movements on the static Spatial-temporal Map (STMap), allowing directly identifying the error for each vehicle.