The OpenVX Specification  a73e458
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 [R00072]. 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 [R00073]:

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

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

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...
 

Function Documentation

◆ vxLaplacianPyramidNode()

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 [R00256].
[in]inputThe input image in VX_DF_IMAGE_U8 format [R00257].
[out]laplacianThe Laplacian pyramid with VX_DF_IMAGE_S16 to construct [R00258].
[out]outputThe lowest resolution image of type VX_DF_IMAGE_S16 necessary to reconstruct the input image from the pyramid [R00259].
See also
Object: Pyramid
Returns
vx_node [R00260].
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus