Developer Reference for Intel® Integrated Performance Primitives
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.