The OpenVX Specification  r28647
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Bitwise NOT

Detailed Description

Performs a bitwise NOT operation on a VX_DF_IMAGE_U8 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 vxNotNode (vx_graph graph, vx_image input, vx_image output)
 [Graph] Creates a bitwise NOT node. More...
 
vx_status vxuNot (vx_context context, vx_image input, vx_image output)
 [Immediate] Computes the bitwise not of an image. More...
 

Function Documentation

vx_node 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.
Returns
vx_node.
Return values
0Node could not be created.
*Node handle.
vx_status 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.