Code from [Want@INRIA](http://lear.inrialpes.fr/people/wang/dense_trajectories)