The OpenVX Specification  r28647
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Gaussian Image Pyramid

Detailed Description

Computes a Gaussian Image Pyramid from an input image.

This vision function creates the Gaussian image pyramid from the input image using the particular 5x5 Gaussian Kernel:

\[ \mathbf{G}=\frac{1}{256} * \begin{vmatrix} 1 & 4 & 6 & 4 & 1 \\ 4 & 16 & 24 & 16 & 4 \\ 6 & 24 & 36 & 24 & 6 \\ 4 & 16 & 24 & 16 & 4 \\ 1 & 4 & 6 & 4 & 1 \\ \end{vmatrix} \]

on each level of the pyramid then scales the image to the next level using VX_INTERPOLATION_TYPE_NEAREST_NEIGHBOR. Level 0 shall always have the same resolution as the input image. For the Gaussian pyramid, level 0 shall be the same as the input image. The pyramids must be configured with one of the following level scaling:

Functions

vx_node vxGaussianPyramidNode (vx_graph graph, vx_image input, vx_pyramid gaussian)
 [Graph] Creates a node for a Gaussian Image Pyramid. More...
 
vx_status vxuGaussianPyramid (vx_context context, vx_image input, vx_pyramid gaussian)
 [Immediate] Computes a Gaussian pyramid from an input image. More...
 

Function Documentation

vx_node vxGaussianPyramidNode ( vx_graph  graph,
vx_image  input,
vx_pyramid  gaussian 
)

[Graph] Creates a node for a Gaussian Image Pyramid.

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[out]gaussianThe Gaussian pyramid with VX_DF_IMAGE_U8 to construct.
See also
Object: Pyramid
Returns
vx_node.
Return values
0Node could not be created.
*Node handle.
vx_status vxuGaussianPyramid ( vx_context  context,
vx_image  input,
vx_pyramid  gaussian 
)

[Immediate] Computes a Gaussian pyramid from an input image.

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image in VX_DF_IMAGE_U8
[out]gaussianThe Gaussian pyramid with VX_DF_IMAGE_U8 to construct.
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.