Você está na página 1de 3

The OpenVX Specication: Sobel 3x3 https://www.khronos.org/registry/OpenVX/specs...

Sobel 3x3
Vision Functions

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 Gx , Gy are dened as:

1 0 +1 1 2 1
Gx = 2
0 +2 , Gy = 0 0

0
1 0 +1 +1 +2 +1

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

vx_status vxuSobel3x3 (vx_context context, vx_image input, vx_image output_x,


vx_image output_y)
[Immediate] Invokes an immediate Sobel 3x3. More...

Function Documentation

1 of 3 Friday 14 April 2017 11:22 AM


The OpenVX Specication: Sobel 3x3 https://www.khronos.org/registry/OpenVX/specs...

vx_node vxSobel3x3Node ( vx_graph graph,


vx_image input,
vx_image output_x,
vx_image output_y
)

[Graph] Creates a Sobel3x3 node.

Parameters
[in] graph The reference to the graph.
[in] input The input image in VX_DF_IMAGE_U8 format.
[out] output_x [optional] The output gradient in the x direction in
VX_DF_IMAGE_S16.
[out] output_y [optional] The output gradient in the y direction in
VX_DF_IMAGE_S16.

See also
VX_KERNEL_SOBEL_3x3

Returns
vx_node.

Return values
0 Node could not be created.
* Node handle.

2 of 3 Friday 14 April 2017 11:22 AM


The OpenVX Specication: Sobel 3x3 https://www.khronos.org/registry/OpenVX/specs...

vx_status vxuSobel3x3 ( vx_context context,


vx_image input,
vx_image output_x,
vx_image output_y
)

[Immediate] Invokes an immediate Sobel 3x3.

Parameters
[in] context The reference to the overall context.
[in] input The input image in VX_DF_IMAGE_U8 format.
[out] output_x [optional] The output gradient in the x direction in
VX_DF_IMAGE_S16.
[out] output_y [optional] The output gradient in the y direction in
VX_DF_IMAGE_S16.

Returns
A vx_status_e enumeration.

Return values
VX_SUCCESS Success
* An error occurred. See vx_status_e.

3 of 3 Friday 14 April 2017 11:22 AM

Você também pode gostar