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.
[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. |
- See Also
- Object: Pyramid
- Returns
vx_node
.
- Return values
-
vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
[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. |
- See Also
- Object: Pyramid
- Returns
- A
vx_status
enumeration.
- Return values
-