Woolz Image Processing Version 1.4.0
|
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. |
Functions for computing value amd value table types.
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.