Distance transform
dt = dtransform(im, options) is the distance transform of the binary image im. The value of each output pixel is the distance (pixels) to the closest set pixel.
| 'Euclidean' | use Euclidean distance (default) |
| 'cityblock' | use cityblock (Manhattan) distance |
| 'show', T | display the evolving distance transform, with a delay of T seconds between frames |
Machine Vision Toolbox for MATLAB © 1990-2014 Peter Corke.