The OpenVX Specification
2b213f9
|
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 input image is added to the last level of the Laplacian pyramid \(L_{n-2}\), the resulting image is upsampled to the resolution of the next pyramid level:
\[ I_{n-2} = upsample(input + L_{n-1}) \]
Correspondingly, for each pyramid level \(i\), except for the first \(i=0\) and the last \(i=n-1\):
\[ I_{i-1} = upsample(I_i + L_i) \]
Finally, the output image is:
\[ output = I_0 + L_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 of type VX_DF_IMAGE_S16 for the Laplacian pyramid |
[out] | output | The output image of type VX_DF_IMAGE_U8 with the highest possible resolution reconstructed from the Laplacian pyramid. |
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 of type VX_DF_IMAGE_S16 for the Laplacian pyramid |
[out] | output | The output image of type VX_DF_IMAGE_U8 with the highest possible resolution reconstructed from the Laplacian pyramid. |
vx_status
enumeration. VX_SUCCESS | Success. |
* | An error occured. See vx_status_e |