The OpenVX Specification  a73e458
Bitwise EXCLUSIVE OR

Detailed Description

Performs a bitwise EXCLUSIVE OR (XOR) operation between two VX_DF_IMAGE_U8 images [R00025].

Bitwise XOR is computed by the following, for each bit in each pixel in the input images [R00026]:

\[ out(x,y) = in_1(x,y) \oplus 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 vxXorNode (vx_graph graph, vx_image in1, vx_image in2, vx_image out)
 [Graph] Creates a bitwise EXCLUSIVE OR node. More...
 

Function Documentation

◆ vxXorNode()

vx_node VX_API_CALL vxXorNode ( vx_graph  graph,
vx_image  in1,
vx_image  in2,
vx_image  out 
)

[Graph] Creates a bitwise EXCLUSIVE OR node.

Parameters
[in]graphThe reference to the graph [R00303].
[in]in1A VX_DF_IMAGE_U8 input image [R00304].
[in]in2A VX_DF_IMAGE_U8 input image [R00305].
[out]outThe VX_DF_IMAGE_U8 output image [R00306].
Returns
vx_node [R00307].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus