imProcessDistanceTransform

Calculates the Distance Transform of a binary image * using an aproximation of the euclidian distance.\n * Each white pixel in the binary image is * assigned a value equal to its distance from the nearest * black pixel. \n * Uses a two-pass algorithm incrementally calculating the distance. \n * Source image must be IM_BINARY, target must be IM_FLOAT. * * \verbatim im.ProcessDistanceTransform(src_image: imImage, dst_image: imImage) [in Lua 5] \endverbatim * \verbatim im.ProcessDistanceTransformNew(image: imImage) -> new_image: imImage [in Lua 5] \endverbatim * \ingroup transform

version(IM)
extern (C) @nogc nothrow
void
imProcessDistanceTransform

Meta