The OpenVX Specification  a73e458
Bitwise INCLUSIVE OR

Detailed Description

Performs a bitwise INCLUSIVE OR operation between two VX_DF_IMAGE_U8 images [R00027].

Bitwise INCLUSIVE OR is computed by the following, for each bit in each pixel in the input images [R00028]:

\[ out(x,y) = in_1(x,y) \vee in_2(x,y) \]

Or expressed as C code:

out(x,y) = in_1(x,y) | in_2(x,y)

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...
 

Function Documentation

◆ vxOrNode()

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.

Parameters
[in]graphThe reference to the graph [R00298].
[in]in1A VX_DF_IMAGE_U8 input image [R00299].
[in]in2A VX_DF_IMAGE_U8 input image [R00300].
[out]outThe VX_DF_IMAGE_U8 output image [R00301].
Returns
vx_node [R00302].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus