VisionX V4VXpZVALVisionX V4
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 VXzvalimage 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

SEE ALSO

VXmakeimage(3).

AUTHOR

A. P. Reeves