support different types of dense trajectories, including improved trajectory