Woolz Image Processing  Version 1.7.5
WlzStdStructElements.c File Reference

Standard structuring elements in 2D and 3D. More...

Functions

WlzObjectWlzMakeSpecialStructElement (WlzSpecialStructElmType eType, int elmIndex, WlzErrorNum *dstErr)
 Return a pointer to a specific requested "special" structuring element. These are inherited from the original woolz library with rather cryptic names. See detail for more explanation of the elements and the additional parameters. More...
 
WlzObjectWlzMakeSinglePixelObject (WlzObjectType oType, int k, int l, int p, WlzErrorNum *dstErr)
 Make a single pixel/voxel object at the specified coordinate position. More...
 
WlzObjectWlzMakeCircleObject (double radius, double x, double y, WlzErrorNum *dstErr)
 Generate a discretised circle domain centered at (x,y). More...
 
WlzObjectWlzMakeRectangleObject (double radiusX, double radiusY, double x, double y, WlzErrorNum *dstErr)
 Generate a rectangular object centered at (x,y) with half-width radiusX and half-height radius Y. More...
 
WlzObjectWlzMakeSphereObject (WlzObjectType oType, double radius, double x, double y, double z, WlzErrorNum *dstErr)
 Make a spherical domain object. More...
 
WlzObjectWlzMakeCuboidObject (WlzObjectType oType, double radiusX, double radiusY, double radiusZ, double x, double y, double z, WlzErrorNum *dstErr)
 Generate a cuboid object centered at (x,y,z). More...
 
WlzObjectWlzMakeQuadrilateral (double x0, double y0, double x1, double y1, double x2, double y2, double x3, double y3, WlzErrorNum *dstErr)
 Generate 2D interval domain object corresponding to the arbitrarily oriented quadrilateral with the given ordered vertex coordinates. The ordering is such that the vertices allow the rectangle to be drawn by line segments conecting v[i] to v[(i + 1)%4], with i \(\in\) [0-3]. More...
 
WlzObjectWlzMakeStdStructElement (WlzObjectType oType, WlzDistanceType dType, double radius, WlzErrorNum *dstErr)
 Makes a standard structure element - basicaly a sphere but with the appropriate connectivity or distance metric. More...
 

Detailed Description

Standard structuring elements in 2D and 3D.

Author
Richard Baldock
Date
September 2003
Version
Id
c608a965bcb5e2a841623d01fc574d9617e72609
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.