The OpenVX Specification
dba1aa3
|
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... | |
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.
[in] | graph | The reference to the graph. |
[in] | laplacian | The Laplacian pyramid with VX_DF_IMAGE_S16 format. |
[in] | input | The lowest resolution image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format for the Laplacian pyramid. |
[out] | output | The 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. |
vx_node
. 0 | Node 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.
[in] | context | The reference to the overall context. |
[in] | laplacian | The Laplacian pyramid with VX_DF_IMAGE_S16 format. |
[in] | input | The lowest resolution image in VX_DF_IMAGE_U8 or VX_DF_IMAGE_S16 format for the Laplacian pyramid. |
[out] | output | The 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. |
vx_status
enumeration. VX_SUCCESS | Success. |
* | An error occured. See vx_status_e |