If you use the code in your projects, I appreciate much if you could cite the following paper: Y. Jia and T. Darrell. ``Heavy-tailed Distances for Gradient Based Image Descriptors''. NIPS 2011. The code is obsolete now and is included in the new pipeline called iceberk.