The OpenVX Specification  dba1aa3

Detailed Description

Accumulates an input image into output image. The accumulation image dimensions should be the same as the dimensions of the input 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...
 

Function Documentation

vx_node VX_API_CALL vxAccumulateImageNode ( vx_graph  graph,
vx_image  input,
vx_image  accum 
)

[Graph] Creates an accumulate node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input VX_DF_IMAGE_U8 image.
[in,out]accumThe accumulation image in VX_DF_IMAGE_S16, which must have the same dimensions as the input image.
Returns
vx_node.
Return values
vx_nodeA 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.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input VX_DF_IMAGE_U8 image.
[in,out]accumThe accumulation image in VX_DF_IMAGE_S16
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.