Woolz Image Processing Version 1.4.0
WlzValueTableUtils.c File Reference

Functions for computing value amd value table types. More...

Functions

WlzObjectType WlzGreyTableType (WlzObjectType tableType, WlzGreyType greyType, WlzErrorNum *dstErr)
 Computes a grey table type from table and grey types.
WlzGreyType WlzGreyTableTypeToGreyType (WlzObjectType gTabType, WlzErrorNum *dstErr)
 Computes the type of grey from a grey table type.
WlzObjectType WlzGreyTableTypeToTableType (WlzObjectType gTabType, WlzErrorNum *dstErr)
 Computes the type of table from a grey table type.
WlzObjectType WlzGreyTableIsTiled (WlzObjectType gTabType)
 Determines whether the grey table type is tiled.
WlzGreyType WlzGreyTypeFromObj (WlzObject *obj, WlzErrorNum *dstErr)
 Gets the grey type of the values in a Woolz object. If the object is not a domain object with values an error is returned. If the object is a 3D domain object with values, all 2D value tables are checked and an error is returned if they don't all have the same grey type.
WlzDVertex3 WlzVozelSz (WlzObject *obj, WlzErrorNum *dstErr)
 Gets the given 3D domain objects voxel size.
void * WlzIndexedValueGet (WlzIndexedValues *ixv, int idx)
 Gets a pointer to the valuetable entry for the given index. If the indexed values are not valid for the given index NULL will be returned. See also WlzIndexedValueExtGet().
void * WlzIndexedValueExtGet (WlzIndexedValues *ixv, int idx)
 Gets a pointer to the valuetable entry for the given index. The value table is extended as required so that there should always be a valid entry unless memory allocation fails. See also WlzIndexedValueGet().
WlzErrorNum WlzIndexedValuesSet (WlzObject *obj, size_t cnt, void *val)
 Sets all values covered by the domain in the given object to the given value. Ths function calls memcpy() for each indexed value using the given value count and pointer.

Detailed Description

Functions for computing value amd value table types.

Author:
Bill Hill, Richard Baldock
Date:
March 1999
Version:
Id:
be00ef91a153565a76de2ff174451cd7d7e2fa1c
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.