Woolz Image Processing  Version 1.7.5
WlzClosestVertices
Name
WlzClosestVertices - finds an objects closest vertices to those in a list.
Synopsis
WlzClosestVertices  [-h] [-2] [-3] [-s <transform>] [-t <transform>]
                    [-u <vertices>] [-o<output file>] [<input file>]
Options
-h Help, prints usage message.
-2 Vertices and object are 2D.
-3 Vertices and object are 3D.
-s Affine transform to be applied to the given vertices.
-t Affine transform to be applied to the given object.
-u File containing vertices encoded as ASCII in x, y, z order.
-o Output file for closest vertices to those given that have been found in in the given object. These are in the same order as the given vertices and have the same format.
Description
Reads vertices, optional affine transforms and a Woolz object which has a vertex representation (such as boundaries and contours) and finds the closest points ion the given object to those given.
Examples
WlzClosestVertices -3 -s tr.wlz -o out.num -u in.num surf.wlz
Reads a target surface object from file surf.wlz and 3D vertices from file in.num. Transforms the vertices using an affine transform read from the file tr.wlz. For each transformed vertex finds the closest vertex in the surface object and then saves the list of closest surface vertices to the file out.num.
File
WlzClosestVertices.c
See Also
WlzIntro(1) WlzVerticesBuildTree(3) AlcKDTGetNN(3)