The OpenVX Specification
2b213f9
|
Accumulates an input image into output image.
Accumulation is computed by:
\[ accum(x,y) = accum(x,y) + input(x,y) \]
The overflow policy used is VX_CONVERT_POLICY_SATURATE
.
Functions | |
vx_node VX_API_CALL | vxAccumulateImageNode (vx_graph graph, vx_image input, vx_image accum) |
[Graph] Creates an accumulate node. More... | |
vx_status VX_API_CALL | vxuAccumulateImage (vx_context context, vx_image input, vx_image accum) |
[Immediate] Computes an accumulation. More... | |
vx_node VX_API_CALL vxAccumulateImageNode | ( | vx_graph | graph, |
vx_image | input, | ||
vx_image | accum | ||
) |
[Graph] Creates an accumulate node.
[in] | graph | The reference to the graph. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[in,out] | accum | The accumulation image in VX_DF_IMAGE_S16 . |
vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
vx_status VX_API_CALL vxuAccumulateImage | ( | vx_context | context, |
vx_image | input, | ||
vx_image | accum | ||
) |
[Immediate] Computes an accumulation.
[in] | context | The reference to the overall context. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[in,out] | accum | The accumulation image in VX_DF_IMAGE_S16 |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |