Developer Reference

  • 2021
  • 03/26/2021
  • Public Content

Distance Transform Functions

This section describes the distance transform functions.
Distance transform is used for calculating the distance to an object. The input is an image with feature and non-feature pixels. The function labels every non-feature pixel in the output image with a distance to the closest feature pixel. Feature pixels are marked with zero.
Distance transform is used for a wide variety of subjects including skeleton finding and shape analysis.

Product and Performance Information


Performance varies by use, configuration and other factors. Learn more at