Functions | |
| VImage | VChamferDist2d (VImage src, VImage dest, VBand band) |
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'. |
1.5.5