The OpenVX Specification  a73e458
Bitwise AND

Detailed Description

Performs a bitwise AND operation between two VX_DF_IMAGE_U8 images [R00023].

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

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

Function Documentation

◆ vxAndNode()

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

[Graph] Creates a bitwise AND node.

Parameters
[in]graphThe reference to the graph [R00293].
[in]in1A VX_DF_IMAGE_U8 input image [R00294].
[in]in2A VX_DF_IMAGE_U8 input image [R00295].
[out]outThe VX_DF_IMAGE_U8 output image [R00296].
Returns
vx_node [R00297].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus