The OpenVX Specification
r28647
|
Computes the absolute difference between two images.
Absolute Difference is computed by:
\[ out(x,y) = |in_1(x,y) - in_2(x,y)| \]
Functions | |
vx_node | vxAbsDiffNode (vx_graph graph, vx_image in1, vx_image in2, vx_image out) |
[Graph] Creates an AbsDiff node. More... | |
vx_status | vxuAbsDiff (vx_context context, vx_image in1, vx_image in2, vx_image out) |
[Immediate] Computes the absolute difference between two images. More... | |
[Graph] Creates an AbsDiff node.
[in] | graph | The reference to the graph. |
[in] | in1 | An input image in VX_DF_IMAGE_U8 |
[in] | in2 | An input image in VX_DF_IMAGE_U8 |
[out] | out | The output image in VX_DF_IMAGE_U8 |
vx_node
. 0 | Node could not be created. |
* | Node handle. |
vx_status vxuAbsDiff | ( | vx_context | context, |
vx_image | in1, | ||
vx_image | in2, | ||
vx_image | out | ||
) |
[Immediate] Computes the absolute difference between two images.
[in] | context | The reference to the overall context. |
[in] | in1 | An input image |
[in] | in2 | An input image |
[out] | out | The output image. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |