The OpenVX Specification  a73e458
Erode Image

Detailed Description

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') \]

For kernels that use other structuring patterns than 3x3 see vxNonLinearFilterNode.


vx_node VX_API_CALL vxErode3x3Node (vx_graph graph, vx_image input, vx_image output)
 [Graph] Creates an Erosion Image Node. More...

Function Documentation

◆ vxErode3x3Node()

vx_node VX_API_CALL vxErode3x3Node ( vx_graph  graph,
vx_image  input,
vx_image  output 

[Graph] Creates an Erosion Image Node.

[in]graphThe reference to the graph [R00221].
[in]inputThe input image in VX_DF_IMAGE_U8 format [R00222].
[out]outputThe output image in VX_DF_IMAGE_U8 format [R00223].
vx_node [R00224].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus