Semantic segmentation of trajectories with improved agent models for pedestrian behavior analysis. (16th February 2019)