The OpenVX Specification  a73e458
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 [R00068]:

\[ \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_NEAREST_NEIGHBOR [R00069]. For the Gaussian pyramid, level 0 shall always have the same resolution and contents as the input image [R00070]. Pyramids configured with one of the following level scaling must be supported [R00071]:

Functions

vx_node VX_API_CALL vxGaussianPyramidNode (vx_graph graph, vx_image input, vx_pyramid gaussian)
 [Graph] Creates a node for a Gaussian Image Pyramid. More...
 

Function Documentation

◆ vxGaussianPyramidNode()

vx_node VX_API_CALL 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 [R00252].
[in]inputThe input image in VX_DF_IMAGE_U8 format [R00253].
[out]gaussianThe Gaussian pyramid with VX_DF_IMAGE_U8 to construct [R00254].
See also
Object: Pyramid
Returns
vx_node [R00255].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus