gives the inverse distance transform of image, returning the result as a binary image.
Details and Options
- InverseDistanceTransform reconstructs a binary image from its distance transform or skeleton transform.
- The inverse distance transform is computed as the union of all disks centered around each pixel of the distance transform, taking the pixel value to be the radius.
- InverseDistanceTransform takes a DistanceFunction option. The default setting is DistanceTransform->EuclideanDistance. Other possible settings are ManhattanDistance and ChessboardDistance.
Examplesopen allclose all
Introduced in 2010