Woolz Image Processing
Version 1.8.3
|
Functions to convert vector values held in a compound array to scalar values in a domain object. More...
Functions | |
WlzObject * | WlzCompoundArrayToScalar (WlzCompoundArray *cpd, WlzBinaryOperatorType bop, WlzErrorNum *dstErr) |
Computes an object with scalar values from the given compound array object using the given binary operator. More... | |
Functions to convert vector values held in a compound array to scalar values in a domain object.
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.
WlzObject* WlzCompoundArrayToScalar | ( | WlzCompoundArray * | cpd, |
WlzBinaryOperatorType | bop, | ||
WlzErrorNum * | dstErr | ||
) |
Computes an object with scalar values from the given compound array object using the given binary operator.
cpd | Given compound array in which all objects must be of the same type and have the same domain. |
bop | Binary operator. Currently only WLZ_BO_MODULUS is implimented. |
dstErr | Destiantion error pointer, may be NULL. |
References _WlzValues::core, _WlzDomain::core, _WlzObject::domain, _WlzCompoundArray::n, _WlzCompoundArray::o, _WlzObject::type, _WlzCompoundArray::type, _WlzCoreDomain::type, _WlzCoreValues::type, _WlzObject::values, WLZ_2D_DOMAINOBJ, WLZ_COMPOUND_ARR_1, WLZ_ERR_DOMAIN_NULL, WLZ_ERR_DOMAIN_TYPE, WLZ_ERR_NONE, WLZ_ERR_OBJECT_DATA, WLZ_ERR_OBJECT_NULL, WLZ_ERR_OBJECT_TYPE, WLZ_ERR_VALUES_NULL, WLZ_ERR_VALUES_TYPE, WlzGreyTableIsTiled(), and WlzIntersectN().