Woolz Image Processing Version 1.4.0
WlzCMeshSurfaceMap
Name
WlzCMeshSurfaceMap - computes a conforming mesh transform which maps a surface in 3D to a plane.
Synopsis
WlzCMeshSurfaceMap [-2] [-h] [-i#] [-n #] [-o<output object>] [-p<points file>]
                   [-r#] [<input object>]
Options
-2 Output a 2D mesh rather than a 3D mesh with displacements.
-h Help, prints usage message.
-i Maximum number of itterations, 0 implies one itteration and mapping will preserve angles.
-n Weight for preserving angles, range 0.0 - 1.0.
-o Output object file.
-p Displacements file.
-r Weight for preserving areas, range 0.0 - 1.0.
Description
Computes a conforming mesh transform which maps the surface defined by the 2D5 conforming mesh onto another surface defined by the mesh with displacements. The given displacements are used to compute the least squares best conformal (minimum angular distortion) mapping. All files are read from the standard input and written to the standard output unless filenames are given. The displacements must be specified as a list of lines with each line having six double precission numbers that are white space seperated. In each of these lines the values must have the format:
  Sx Sy Sz Dx Dy Dz
where S and D signify source and displacement.
Examples
WlzCMeshSurfaceMap -o out.wlz -p points.tie in.wlz
The displacements in the file points.tie are used to compute a least squares conformal mapping which is output as a mesh with the same domain as the input (read from in.wlz), but with the computed displacements. The output mesh is written to the file out.wlz
File
WlzCMeshSurfaceMap.c
See Also
WlzIntro(1) WlzCMeshFromContour(3)