The OpenVX Specification  2b213f9
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Laplacian Image Pyramid

Detailed Description

Computes a Laplacian Image Pyramid from an input image.

This vision function creates the Laplacian image pyramid from the input image. First, a Gaussian pyramid with VX_SCALE_PYRAMID_HALF is created. Then, for each level \(i\), the corresponding image \(I_i\) is blurred with Gaussian 5x5 filter, and the difference between the two images is the corresponding level \(L_i\) of the Laplacian pyramid:

\[ L_i = I_i - Gaussian5x5(I_i). \]

Level 0 shall always have the same resolution as the input image.

Functions

vx_node VX_API_CALL vxLaplacianPyramidNode (vx_graph graph, vx_image input, vx_pyramid laplacian, vx_image output)
 [Graph] Creates a node for a Laplacian Image Pyramid. More...
 
vx_status VX_API_CALL vxuLaplacianPyramid (vx_context context, vx_image input, vx_pyramid laplacian, vx_image output)
 [Immediate] Computes a Laplacian pyramid from an input image. More...
 

Function Documentation

vx_node VX_API_CALL vxLaplacianPyramidNode ( vx_graph  graph,
vx_image  input,
vx_pyramid  laplacian,
vx_image  output 
)

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

Parameters
[in]graphThe reference to the graph.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[out]laplacianThe Laplacian pyramid with VX_DF_IMAGE_S16 to construct.
[out]outputThe lowest resolution image of type VX_DF_IMAGE_S16 necessary to reconstruct the input image from the pyramid.
See Also
Object: Pyramid
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 vxuLaplacianPyramid ( vx_context  context,
vx_image  input,
vx_pyramid  laplacian,
vx_image  output 
)

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

Parameters
[in]contextThe reference to the overall context.
[in]inputThe input image in VX_DF_IMAGE_U8 format.
[out]laplacianThe Laplacian pyramid with VX_DF_IMAGE_S16 to construct.
[out]outputThe lowest resolution image of type VX_DF_IMAGE_S16 necessary to reconstruct the input image from the pyramid.
See Also
Object: Pyramid
Returns
A vx_status enumeration.
Return values
VX_SUCCESSSuccess.
*An error occured. See vx_status_e