Extraction and clustering of motion trajectories in video | Synapse