The matlab code of the cvpr paper, but it seems there is a bug somewhere because the code does not generate the same results as the cuda version code.