“…Note that, the main idea is to find for every image pixel p n a path P Ã ðp n Þ from a seed pixel p 1 2S, such that f euc ðP Ã ðp n ÞÞ is minimum. The exact Euclidean distance transform will depend on the appropriate choice of r, as demonstrated in [8]. However, for most practical situations involving eight-connected curves, such as contours and skeletons, rZ ffiffi ffi 2 p is enough [16].…”