Authors: Sofien Bouaziz and Andrea Tagliasacchi
Linear Time Distance Transform (C++ with MATLAB MEX), implementation of this (truly excellent) paper:
@article{felzenszwalb_12,
Author = {Felzenszwalb, Pedro F and Huttenlocher, Daniel P},
Journal = {Theory of Computing},
Title = {Distance Transforms of Sampled Functions},
Year = {2012}}