Computes a Box filter over a window 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} \]
[Graph] Creates a Box Filter Node.
- Parameters
-
[in] | graph | The reference to the graph. |
[in] | input | The input image in VX_DF_IMAGE_U8 format. |
[out] | output | The output image in VX_DF_IMAGE_U8 format. |
- Returns
vx_node
.
- Return values
-
0 | Node could not be created. |
* | Node handle. |
[Immediate] Computes a box filter on the image by a 3x3 window.
- Parameters
-
[in] | context | The reference to the overall context. |
[in] | input | The input image in VX_DF_IMAGE_U8 format. |
[out] | output | The output image in VX_DF_IMAGE_U8 format. |
- Returns
- A
vx_status_e
enumeration.
- Return values
-