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)


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.

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

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