VIA - Volumetric Image Analysis
|
Functions | |
VImage | VChamferDist2d (VImage src, VImage dest, VBand band) |
2d chamfer distance transform.
For each foreground pixel, the length of the shortest 2D path to the nearest background pixel is computed. The chamfer distance metric is an approximation to the Euclidian distance.
VImage VChamferDist2d | ( | VImage | src, |
VImage | dest, | ||
VBand | band | ||
) |
src | input image (bit repn) |
dest | output image (float repn) |
band | id of band to be processed. To select all bands, use 'VAllBands'. |