The OpenVX Specification  a73e458
Dilate Image

Detailed Description

Implements Dilation, which grows 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 [R00053].

\[ dst(x,y) = \max_{ \begin{array}{c} x-1 \le x' \le x+1 \\ y-1 \le y' \le y+1 \end{array} } src(x',y') \]

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

Functions

vx_node VX_API_CALL vxDilate3x3Node (vx_graph graph, vx_image input, vx_image output)
 [Graph] Creates a Dilation Image Node. More...
 

Function Documentation

◆ vxDilate3x3Node()

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

[Graph] Creates a Dilation Image Node.

Parameters
[in]graphThe reference to the graph [R00225].
[in]inputThe input image in VX_DF_IMAGE_U8 format [R00226].
[out]outputThe output image in VX_DF_IMAGE_U8 format [R00227].
Returns
vx_node [R00228].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus