Woolz Image Processing  Version 1.8.3
WlzGreyValue.c File Reference

Provides functions for random access to the grey values of 2D and 3D domain objects. More...

Macros

#define WLZ_FAST_CODE
 

Functions

WlzGreyValueWSpaceWlzGreyValueMakeWSp (WlzObject *obj, WlzErrorNum *dstErrNum)
 Creates a grey value work space from the given object. The resulting grey value work space should be freed using WlzGreyValueFreeWSp(). More...
 
void WlzGreyValueFreeWSp (WlzGreyValueWSpace *gVWSp)
 Free's the given grey value work space created by WlzGreyValueMakeWSp(). More...
 
void WlzGreyValueGet (WlzGreyValueWSpace *gVWSp, double plane, double line, double kol)
 Gets a single grey value/pointer for the given point from the object with which the given work space was initialised. When the object has a non-scalar value table then only the first value will be returned, however when the value is not background all values can be accessed via the grey pointer. More...
 
void WlzGreyValueGetCon (WlzGreyValueWSpace *gVWSp, double plane, double line, double kol)
 Gets the four/eight connected grey values/pointers for the given point which lie at: More...
 
WlzGreyType WlzGreyValueGetGreyType (WlzGreyValueWSpace *gVWSp, WlzErrorNum *dstErr)
 Access function to get the object's grey type. More...
 
int WlzGreyValueGetI (WlzGreyValueWSpace *gVWSp, double plane, double line, double kol)
 Gets a single grey value for the given point from the object with which the given work space was initialised. More...
 
double WlzGreyValueGetD (WlzGreyValueWSpace *gVWSp, double plane, double line, double kol)
 Gets a single grey value for the given point from the object with which the given work space was initialised. More...
 
void WlzGreyValueGetDir (WlzGreyValueWSpace *gVWSp, int plane, int line, int kol)
 Gets a single grey value/pointer for the given point from the 3D values and domain in the work space. More...
 

Detailed Description

Provides functions for random access to the grey values of 2D and 3D domain objects.

Author
Bill Hill
Date
March 1999
Version
Id
ded0005d89f5f8115b01cdcf6177bb7c731ed347
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.

Macro Definition Documentation

◆ WLZ_FAST_CODE

#define WLZ_FAST_CODE