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
.
[Graph] Creates an accumulate node.
- Parameters
-
[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 , 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 an accumulation.
- Parameters
-
- Returns
- A
vx_status_e
enumeration.
- Return values
-