VisionX V4 | VXpZVAL | VisionX V4 |
VXpzval, VXpzset, VXpchan − VisionX primitive image functions |
float VXpzval(iptr); VisXelem_t *ipr; void VXpzset(iptr, val); float val; int VXpchan(iptr ); |
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 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 VXzvalimage returns MAXFLOAT. |
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 returns the number of channels in the image structure. If there is a problem with the image structure |
VXmakeimage(3). |
A. P. Reeves |