Parallel linear time n-dimensional Euclidean distance transform.