Woolz Image Processing
Version 1.7.5
|
Functions for computing value amd value table types. More...
Functions | |
WlzObjectType | WlzGreyValueTableType (int rank, WlzGreyTableType tableType, WlzGreyType greyType, WlzErrorNum *dstErr) |
Computes a grey table type from table and grey types. This function is equivalent to the macro WLZ_GREY_TABLE_TYPE but with range checks. More... | |
WlzGreyType | WlzGreyTableTypeToGreyType (WlzObjectType gTabType, WlzErrorNum *dstErr) |
Computes the type of grey from a grey table type. This function is equivalent to the macro WLZ_GREY_TABLE_TO_GREY_TYPE but with range checks. More... | |
WlzGreyTableType | WlzGreyTableTypeToTableType (WlzObjectType gTabType, WlzErrorNum *dstErr) |
Computes the type of table from a grey table type. This function is equivalent to the macro WLZ_GREY_TABLE_TO_TABLE_TYPE but with range checks. More... | |
int | WlzGreyTableTypeToRank (WlzObjectType gTabType, WlzErrorNum *dstErr) |
Computes the rank from a grey table type. This function is equivalent to the macro WLZ_GREY_TABLE_TO_RANK but with range checks. More... | |
WlzGreyTableType | WlzGreyTableIsTiled (WlzObjectType gTabType) |
Determines whether the grey table type is tiled. More... | |
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. More... | |
WlzDVertex3 | WlzVozelSz (WlzObject *obj, WlzErrorNum *dstErr) |
Gets the given 3D domain objects voxel size. More... | |
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(). More... | |
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(). More... | |
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. More... | |
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.