The OpenVX Specification  dba1aa3

Detailed Description

Computes a Box filter over a window of the input image. The output image dimensions should be the same as the dimensions of the input image.

This filter uses the following convolution matrix:

\[ \mathbf{K}_{box} = \begin{vmatrix} 1 & 1 & 1\\ 1 & 1 & 1\\ 1 & 1 & 1 \end{vmatrix} * \frac{1}{9} \]

Functions

vx_node VX_API_CALL vxBox3x3Node (vx_graph graph, vx_image input, vx_image output)
 [Graph] Creates a Box Filter Node. More...
 
vx_status VX_API_CALL vxuBox3x3 (vx_context context, vx_image input, vx_image output)
 [Immediate] Computes a box filter on the image by a 3x3 window. More...
 

Function Documentation

vx_node VX_API_CALL vxBox3x3Node ( vx_graph  graph,
vx_image  input,
vx_image  output 
)

[Graph] Creates a Box Filter Node.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[out]outputThe output image in VX_DF_IMAGE_U8 format, 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 vxuBox3x3 ( vx_context  context,
vx_image  input,
vx_image  output 
)

[Immediate] Computes a box filter on the image by a 3x3 window.

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