The OpenVX Specification  dba1aa3
Reconstruction from a Laplacian Image Pyramid

Detailed Description

Reconstructs the original image from a Laplacian Image Pyramid.

This vision function reconstructs the image of the highest possible resolution from a Laplacian pyramid. The upscaled input image is added to the last level of the Laplacian pyramid \(L_{N-1}\):

\[ I_{N-1} = UpSample(input) + L_{N-1} \]

For the definition of the \(UpSample\) function please see vxLaplacianPyramidNode . Correspondingly, for each pyramid level \(i = 0..N-2\):

\[ I_{i} = UpSample(I_{i+1}) + L_i \]

Finally, the output image is:

\[ output = I_0 \]

Functions

vx_node VX_API_CALL vxLaplacianReconstructNode (vx_graph graph, vx_pyramid laplacian, vx_image input, vx_image output)
 [Graph] Reconstructs an image from a Laplacian Image pyramid. More...
 
vx_status VX_API_CALL vxuLaplacianReconstruct (vx_context context, vx_pyramid laplacian, vx_image input, vx_image output)
 [Immediate] Reconstructs an image from a Laplacian Image pyramid. More...
 

Function Documentation

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

[Graph] Reconstructs an image from a Laplacian Image pyramid.

Parameters
[in]graphThe reference to the graph.
[in]laplacianThe Laplacian pyramid with VX_DF_IMAGE_S16 format.
[in]inputThe lowest resolution image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format for the Laplacian pyramid.
[out]outputThe output image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format with the highest possible resolution reconstructed from the Laplacian pyramid. The output image format should be same as input image format.
See also
Object: Pyramid
Returns
vx_node.
Return values
0Node could not be created.
*Node handle.
vx_status VX_API_CALL vxuLaplacianReconstruct ( vx_context  context,
vx_pyramid  laplacian,
vx_image  input,
vx_image  output 
)

[Immediate] Reconstructs an image from a Laplacian Image pyramid.

Parameters
[in]contextThe reference to the overall context.
[in]laplacianThe Laplacian pyramid with VX_DF_IMAGE_S16 format.
[in]inputThe lowest resolution image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format for the Laplacian pyramid.
[out]outputThe output image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format with the highest possible resolution reconstructed from the Laplacian pyramid. The output image format should be same as input image format.
See also
Object: Pyramid
Returns
A vx_status enumeration.
Return values
VX_SUCCESSSuccess.
*An error occured. See vx_status_e