The OpenVX Specification  2b213f9
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] graph The reference to the graph. [in] input The input image in VX_DF_IMAGE_U8 format. [out] laplacian The Laplacian pyramid with VX_DF_IMAGE_S16 to construct. [out] output The lowest resolution image of type VX_DF_IMAGE_S16 necessary to reconstruct the input image from the pyramid.
Object: Pyramid
Returns
vx_node.
Return values
 vx_node A 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] context The reference to the overall context. [in] input The input image in VX_DF_IMAGE_U8 format. [out] laplacian The Laplacian pyramid with VX_DF_IMAGE_S16 to construct. [out] output The lowest resolution image of type VX_DF_IMAGE_S16 necessary to reconstruct the input image from the pyramid.
A vx_status enumeration.
 VX_SUCCESS Success. * An error occured. See vx_status_e