The OpenVX Specification  a73e458

Detailed Description

Implements the Sobel Image Filter Kernel.

This kernel produces two output planes (one can be omitted) in the x and y plane. The Sobel Operators \( G_x, G_y \) are defined as [R00114]:

\[ \mathbf{G}_x=\begin{vmatrix} -1 & 0 & +1\\ -2 & 0 & +2\\ -1 & 0 & +1 \end{vmatrix} , \mathbf{G}_y=\begin{vmatrix} -1 & -2 & -1 \\ 0 & 0 & 0 \\ +1 & +2 & +1 \end{vmatrix} \]

Functions

vx_node VX_API_CALL vxSobel3x3Node (vx_graph graph, vx_image input, vx_image output_x, vx_image output_y)
 [Graph] Creates a Sobel3x3 node. More...
 

Function Documentation

◆ vxSobel3x3Node()

vx_node VX_API_CALL vxSobel3x3Node ( vx_graph  graph,
vx_image  input,
vx_image  output_x,
vx_image  output_y 
)

[Graph] Creates a Sobel3x3 node.

Parameters
[in]graphThe reference to the graph [R00171].
[in]inputThe input image in VX_DF_IMAGE_U8 format [R00172].
[out]output_x[optional] [R00173] The output gradient in the x direction in VX_DF_IMAGE_S16 [R00174].
[out]output_y[optional] [R00175] The output gradient in the y direction in VX_DF_IMAGE_S16 [R00176].
See also
VX_KERNEL_SOBEL_3x3
Returns
vx_node [R00177].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus