![]() |
The OpenVX Specification
a73e458
|
Implements Erosion, which shrinks the white space in a VX_DF_IMAGE_U8 Boolean image.
This kernel uses a 3x3 box around the output pixel used to determine value [R00055].
\[ dst(x,y) = \min_{ \begin{array}{c} x-1 \le x' \le x+1 \\ y-1 \le y' \le y+1 \end{array} } src(x',y') \]
vxNonLinearFilterNode. Functions | |
| vx_node VX_API_CALL | vxErode3x3Node (vx_graph graph, vx_image input, vx_image output) |
| [Graph] Creates an Erosion Image Node. More... | |
| vx_node VX_API_CALL vxErode3x3Node | ( | vx_graph | graph, |
| vx_image | input, | ||
| vx_image | output | ||
| ) |
[Graph] Creates an Erosion Image Node.
| [in] | graph | The reference to the graph [R00221]. |
| [in] | input | The input image in VX_DF_IMAGE_U8 format [R00222]. |
| [out] | output | The output image in VX_DF_IMAGE_U8 format [R00223]. |
vx_node [R00224]. | vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |