This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)


gives the inverse distance transform of image, returning the result as a binary image.
  • 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.
Reconstruct a shape from its skeleton transform:
Reconstruct a shape from its skeleton transform:
Click for copyable input
Reconstruct a rectangle:
Find the reduced medial axis:
Reconstruct from the medial axis, and show that the result is the same as the original input:
Euclidean inverse distance transform:
Inverse distance transform using Manhattan distance:
Inverse distance transform using chessboard distance:
Reconstruct a shape from a noisy distance transform image:
New in 8