The OpenVX Specification  a73e458
Bitwise NOT

Detailed Description

Performs a bitwise NOT operation on a VX_DF_IMAGE_U8 input image [R00029].

Bitwise NOT is computed by the following, for each bit in each pixel in the input image [R00030]:

\[ out(x,y) = \overline{in(x,y)} \]

Or expressed as C code:

out(x,y) = ~in_1(x,y)

Functions

vx_node VX_API_CALL vxNotNode (vx_graph graph, vx_image input, vx_image output)
 [Graph] Creates a bitwise NOT node. More...
 

Function Documentation

◆ vxNotNode()

vx_node VX_API_CALL vxNotNode ( vx_graph  graph,
vx_image  input,
vx_image  output 
)

[Graph] Creates a bitwise NOT node.

Parameters
[in]graphThe reference to the graph [R00308].
[in]inputA VX_DF_IMAGE_U8 input image [R00309].
[out]outputThe VX_DF_IMAGE_U8 output image [R00310].
Returns
vx_node [R00311].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus