2D Euclidean distance transform algorithms: a comparative survey - Fabbri, Ricardo; Costa, Luciano da Fontoura; Torelli, Julio Cesar; Bruno, Odemir Martinez (ACM Computing Surveys, 2008)