Woolz Image Processing Version 1.4.0
|
Functions for computing surface mappings that are based on conformal transformations. More...
Functions | |
WlzObject * | WlzCMeshCompSurfMapToCircle (WlzObject *inObj, WlzErrorNum *dstErr) |
Computes a conforming mesh transform which maps the given surface mesh to a circular domain on a plane. | |
WlzObject * | WlzCMeshCompSurfMap (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(). | |
WlzObject * | WlzCMeshCompSurfMapIdx (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. | |
WlzObject * | WlzCMeshToContour (WlzObject *mObj, double disp, WlzErrorNum *dstErr) |
Creates a contour corresponding to the given conforming mesh which must be a 2D5 mesh, ie a surface. | |
WlzGMModel * | WlzCMeshToGMModel (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). | |
WlzObject * | WlzCMeshFlatten2D5 (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(). |
Functions for computing surface mappings that are based on conformal transformations.
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.