The OpenVX Specification
dba1aa3
|
Performs a bitwise INCLUSIVE OR operation between two VX_DF_IMAGE_U8
images. The output image dimensions should be the same as the dimensions of the input images.
Bitwise INCLUSIVE OR is computed by the following, for each bit in each pixel in the input images:
\[ out(x,y) = in_1(x,y) \vee in_2(x,y) \]
Or expressed as C code:
Functions | |
vx_node VX_API_CALL | vxOrNode (vx_graph graph, vx_image in1, vx_image in2, vx_image out) |
[Graph] Creates a bitwise INCLUSIVE OR node. More... | |
vx_status VX_API_CALL | vxuOr (vx_context context, vx_image in1, vx_image in2, vx_image out) |
[Immediate] Computes the bitwise inclusive-or between two images. More... | |
[Graph] Creates a bitwise INCLUSIVE OR node.
[in] | graph | The reference to the graph. |
[in] | in1 | A VX_DF_IMAGE_U8 input image. |
[in] | in2 | A VX_DF_IMAGE_U8 input image. |
[out] | out | The VX_DF_IMAGE_U8 output image, which must have the same dimensions as the input images. |
vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
vx_status VX_API_CALL vxuOr | ( | vx_context | context, |
vx_image | in1, | ||
vx_image | in2, | ||
vx_image | out | ||
) |
[Immediate] Computes the bitwise inclusive-or between two images.
[in] | context | The reference to the overall context. |
[in] | in1 | A VX_DF_IMAGE_U8 input image |
[in] | in2 | A VX_DF_IMAGE_U8 input image |
[out] | out | The VX_DF_IMAGE_U8 output image. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |