Woolz Image Processing Version 1.4.0
WlzCMeshSurfMap.c File Reference

Functions for computing surface mappings that are based on conformal transformations. More...

Functions

WlzObjectWlzCMeshCompSurfMapToCircle (WlzObject *inObj, WlzErrorNum *dstErr)
 Computes a conforming mesh transform which maps the given surface mesh to a circular domain on a plane.
WlzObjectWlzCMeshCompSurfMap (WlzObject *inObj, int nDV, WlzDVertex3 *dV, int nSV, WlzDVertex3 *sV, WlzErrorNum *dstErr)
 Computes a least squares conformal transformation which maps the source surface to a destination plane with z coordinate zero. See WlzCMeshCompSurfMapIdx().
WlzObjectWlzCMeshCompSurfMapIdx (WlzCMesh2D5 *mesh, int nP, WlzDVertex3 *dPV, int *pIdx, WlzErrorNum *dstErr)
 Computes a least squares conformal transformation which maps the source surface to a destination plane with z coordinate zero. The algorithm used here is based on the paper: Bruno L'evy, etal "Least Squares Conformal Maps for Automatic Texture Atlas Generation" SIGGRAPH 2002.
WlzObjectWlzCMeshToContour (WlzObject *mObj, double disp, WlzErrorNum *dstErr)
 Creates a contour corresponding to the given conforming mesh which must be a 2D5 mesh, ie a surface.
WlzGMModelWlzCMeshToGMModel (WlzObject *mObj, double disp, WlzErrorNum *dstErr)
 Creates a geometric model corresponding to the given conforming mesh which must be either a 2D or 2D5 mesh, ie a surface. The resulting model will have either have type WLZ_GMMOD_3D (from 2D5) or WLZ_GMMOD_2D (from 2D).
WlzObjectWlzCMeshFlatten2D5 (WlzObject *gObj, WlzErrorNum *dstErr)
 Creates a new 2D conforming mesh object by flattening the given 2D5 conforming mesh object. This is done by applying the 2D5 object's indexed values which are assumed to be valid displacements to a plane. See WlzCMeshCompSurfMap().

Detailed Description

Functions for computing surface mappings that are based on conformal transformations.

Author:
Bill Hill
Date:
May 2010
Version:
Id:
859be19534a5ead8b40cb871b7432b14533cd62e
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.