Woolz Image Processing  Version 1.7.5
WlzIterate.c File Reference

Functions for iteration through Woolz objects. More...

Functions

WlzRasterDir WlzRasterDir2D (WlzRasterDir dir)
 Masks a 2 or 3D raster direction so that it is valid for 2D. More...
 
WlzIterateWSpaceWlzIterateInit (WlzObject *obj, WlzRasterDir dir, int grey, WlzErrorNum *dstErr)
 Creates a new domain object iteration workspace that may be used to iterate through either a 2 or 3D domain object. More...
 
void WlzIterateWSpFree (WlzIterateWSpace *itWSp)
 Frees the given iteration workspace including it's interval and grey workspaces. The object and 2D object are freed if non NULL. More...
 
WlzErrorNum WlzIterate (WlzIterateWSpace *itWSp)
 Iterates through an object for which the given workspace was initialised. This function will return WLZ_ERR_EOO when there are no more pixels/voxels remaining. More...
 

Detailed Description

Functions for iteration through Woolz objects.

Author
Bill Hill
Date
April 2011
Version
Id
8f48faf17aaafc34ff83cadc2055a0aa47250cff
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.