xv4Package | VXpZVAL | xv4Package |
NAME
|
VXpzval, VXpzset, VXpchan − VisionX primitive image
functions
|
SYNOPSIS
|
float VXpzval(iptr);
VisXelem_t *ipr;
void VXpzset(iptr, val);
float val;
int VXpchan(iptr );
|
DESCRIPTION
|
The primitive image functions operate on an image
specification without the reference structure created by
VXmakeimage(3). An image in a data list consists of two
consecutive data elements, a bounding box followed by a
conforming pixel data element. These functions accept as an
argument either of these two elements.
|
VXPZVAL
|
VXpzval returns the z coordinate value associated
with an image; if no value is asssociated with the image
(i.e., there are no z-values in the bounding box or both
values are the same) then VXpzval returns
MAXFLOAT.
|
VXPZSET
|
VXpzset sets the z parameter in an image structure
to the value specified by val. This value is set by
consecutive numbers in the z elements of the bounding box.
If there are not enough elements in the bounding box
VXpzset will add them.
|
VXPCHAN
|
VXpchan returns the number of channels in the
image structure. If there is a problem with the image
structure VXpchan returns zero.
|
SEE ALSO
AUTHOR
|
Program and Documentation Copyright Anthony P. Reeves
|
|