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:
[Graph] Creates a bitwise NOT node.
- Parameters
-
[in] | graph | The reference to the graph. |
[in] | input | A VX_DF_IMAGE_U8 input image. |
[out] | output | The VX_DF_IMAGE_U8 output image, which must have the same dimensions as the input image. |
- Returns
vx_node
.
- Return values
-
vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
[Immediate] Computes the bitwise not of an image.
- Parameters
-
- Returns
- A
vx_status_e
enumeration.
- Return values
-