CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Functions | |
VX_API_ENTRY vx_node VX_API_CALL | vxScaleImageNode (vx_graph graph, vx_image src, vx_image dst, vx_enum type) |
[Graph] Creates a Scale Image Node. | |
VX_API_ENTRY vx_node VX_API_CALL | vxHalfScaleGaussianNode (vx_graph graph, vx_image input, vx_image output, vx_int32 kernel_size) |
[Graph] Performs a Gaussian Blur on an image then half-scales it. The interpolation mode used is nearest-neighbor. | |
VX_API_ENTRY vx_status VX_API_CALL | vxuScaleImage (vx_context context, vx_image src, vx_image dst, vx_enum type) |
[Immediate] Scales an input image to an output image. | |
VX_API_ENTRY vx_status VX_API_CALL | vxuHalfScaleGaussian (vx_context context, vx_image input, vx_image output, vx_int32 kernel_size) |
[Immediate] Performs a Gaussian Blur on an image then half-scales it. The interpolation mode used is nearest-neighbor. | |
VX_API_ENTRY vx_node VX_API_CALL vxHalfScaleGaussianNode | ( | vx_graph | graph, |
vx_image | input, | ||
vx_image | output, | ||
vx_int32 | kernel_size ) |
#include <vx_nodes.h>
[Graph] Performs a Gaussian Blur on an image then half-scales it. The interpolation mode used is nearest-neighbor.
The output image size is determined by:
\[W_{output} = \frac{W_{input} + 1}{2} \\ , H_{output} = \frac{H_{input} + 1}{2} \]
[in] | graph | The reference to the graph. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[out] | output | The output VX_DF_IMAGE_U8 image. |
[in] | kernel_size | The input size of the Gaussian filter. Supported values are 1, 3 and 5. |
vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
VX_API_ENTRY vx_node VX_API_CALL vxScaleImageNode | ( | vx_graph | graph, |
vx_image | src, | ||
vx_image | dst, | ||
vx_enum | type ) |
#include <vx_nodes.h>
[Graph] Creates a Scale Image Node.
[in] | graph | The reference to the graph. |
[in] | src | The source image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 . |
[out] | dst | The destination image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 . The output type must be the same as that of the input image. |
[in] | type | The interpolation type to use. |
VX_NODE_BORDER
value VX_BORDER_UNDEFINED
, VX_BORDER_REPLICATE
and VX_BORDER_CONSTANT
are supported. vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |
VX_API_ENTRY vx_status VX_API_CALL vxuHalfScaleGaussian | ( | vx_context | context, |
vx_image | input, | ||
vx_image | output, | ||
vx_int32 | kernel_size ) |
#include <vxu.h>
[Immediate] Performs a Gaussian Blur on an image then half-scales it. The interpolation mode used is nearest-neighbor.
[in] | context | The reference to the overall context. |
[in] | input | The input VX_DF_IMAGE_U8 image. |
[out] | output | The output VX_DF_IMAGE_U8 image. |
[in] | kernel_size | The input size of the Gaussian filter. Supported values are 1, 3 and 5. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |
VX_API_ENTRY vx_status VX_API_CALL vxuScaleImage | ( | vx_context | context, |
vx_image | src, | ||
vx_image | dst, | ||
vx_enum | type ) |
#include <vxu.h>
[Immediate] Scales an input image to an output image.
[in] | context | The reference to the overall context. |
[in] | src | The source image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 . |
[out] | dst | The destination image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 . Must be of the same format as the input image. |
[in] | type | The interpolation type. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |