VisionWorks Toolkit Reference

December 18, 2015 | 1.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Pixel-wise Multiplication Extensions

Adds various extensions to the Pixel-wise Multiplication vision function.

This section describes extensions to the standard Pixel-wise Multiplication vision function.

Supported Formats

In addition to standard formats for the Pixel-wise Multiplication primitive, VisionWorks supports the F32 format. If either of in1, in2 or out has the NVX_DF_IMAGE_F32 format, then all three must have that format. In this case, the overflow_policy and convert_policy parameters are ignored (although they must still name valid policies).

Example Code

vx_image src1 = vxCreateImage(context, 640, 480, NVX_DF_IMAGE_F32);
vx_image src2 = vxCreateImage(context, 640, 480, NVX_DF_IMAGE_F32);
vx_image dst = vxCreateImage(context, 640, 480, NVX_DF_IMAGE_F32);
vxReleaseContext(&context);