Woolz Image Processing  Version 1.7.0
WlzCMeshSurfaceMap
Name
WlzCMeshSurfaceMap - computes a conforming mesh transform which maps a surface in 3D to a plane.
Synopsis
WlzCMeshSurfaceMap [-2] [-h] [-i#] [-n #] [-d<domain object>]
                   [-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.
-d Optional 2D spatial domain object.
-i Maximum number of iterations, 0 implies one iteration and mapping will preserve angles (unimplemented).
-n Weight for preserving angles, range 0.0 - 1.0 (unimplemented).
-o Output object file.
-p Displacements file.
-r Weight for preserving areas, range 0.0 - 1.0 (unimplemented).
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. If a 2D spatial domain object is supplied, then it must be a single piece, it's boundary must correspond to that of the input mesh and the given displacements must lie on (or be very near to) the spatial domain and mesh boundaries. It is possible that an invalid mesh will be generated when the surface is too heavily constrained. 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 precision numbers that are white space separated. 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) WlzCMeshFromGM(3)
Name
WlzCMeshSurfaceMap - Computes a conforming mesh transform for surface using least squares best conformal mapping.
Synopsis
WlzCMeshSurfaceMap [-2] [-h] [-i#] [-n #] [-d<domain object>]
                   [-o<output object>] [-p<points file>] [-r#]
                   [<input object>]
Options
-2 Output a 2D mesh rather than a 3D mesh with displacements.
-d Optional 2D spatial domain object.
-h Help, prints usage message.
-i Maximum number of iterations, 0 implies one iteration and mapping will preserve angles (unimplimented).
-n Weight for preserving angles, range 0.0 - 1.0 (unimplimented).
-p Displacements file.
-o Output object file.
-r Weight for preserving areas, range 0.0 - 1.0 (unimplimented).
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. If a 2D spatial domain object is supplied, then it must be a single piece, it's boundary must correspond to that of the input mesh and the given displacements must lie on (or be very near to) the spatial domain and mesh boundaries. It is possible that an invalid mesh will be generated when the surface is too heavily constrained. 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 precision numbers that are white space separated. 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) WlzCMeshCompSurfMapToDomain WlzCMeshCompSurfMapToDomain(3) WlzCMeshCompSurfMap WlzCMeshCompSurfMap(3) WlzCMeshExtract2D WlzCMeshExtract2D(3)