The OpenVX Specification  dba1aa3
Bitwise NOT

Detailed Description

Performs a bitwise NOT operation on a VX_DF_IMAGE_U8 input image. The output image dimensions should be the same as the dimensions of the input image.

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

\[ 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...
 
vx_status VX_API_CALL vxuNot (vx_context context, vx_image input, vx_image output)
 [Immediate] Computes the bitwise not of an image. More...
 

Function Documentation

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.
[in]inputA VX_DF_IMAGE_U8 input image.
[out]outputThe VX_DF_IMAGE_U8 output image, which must have the same dimensions as the input image.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus
vx_status VX_API_CALL vxuNot ( vx_context  context,
vx_image  input,
vx_image  output 
)

[Immediate] Computes the bitwise not of an image.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe VX_DF_IMAGE_U8 input image
[out]outputThe VX_DF_IMAGE_U8 output image.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.