VisionWorks Toolkit Reference

December 18, 2015 | 1.2 Release

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Half Scale Gaussian

Detailed Description

Performs a Gaussian Blur on an image then half-scales it.

Functions

vx_node VX_API_CALL vxHalfScaleGaussianNode (vx_graph graph, vx_image input, vx_image output, vx_int32 kernel_size)
 [Graph] Performs a Gaussian Blur on an image then half-scales it. More...
 
vx_status VX_API_CALL vxuHalfScaleGaussian (vx_context context, vx_image input, vx_image output, vx_int32 kernel_size)
 [Immediate] Performs a Gaussian Blur on an image then half-scales it. More...
 

Function Documentation

vx_node VX_API_CALL vxHalfScaleGaussianNode ( vx_graph  graph,
vx_image  input,
vx_image  output,
vx_int32  kernel_size 
)

[Graph] Performs a Gaussian Blur on an image then half-scales it.

The output image size is determined by:

\[ W_{output} = \frac{W_{input} + 1}{2} \\ , H_{output} = \frac{H_{input} + 1}{2} \]

Parameters
[in]graphThe reference to the graph.
[in]inputThe input VX_DF_IMAGE_U8 image.
[out]outputThe output VX_DF_IMAGE_U8 image.
[in]kernel_sizeThe input size of the Gaussian filter. Supported values are 3 and 5.
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus
vx_status VX_API_CALL vxuHalfScaleGaussian ( vx_context  context,
vx_image  input,
vx_image  output,
vx_int32  kernel_size 
)

[Immediate] Performs a Gaussian Blur on an image then half-scales it.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input VX_DF_IMAGE_U8 image.
[out]outputThe output VX_DF_IMAGE_U8 image.
[in]kernel_sizeThe input size of the Gaussian filter. Supported values are 3 and 5.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.