CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Functions | |
VX_API_ENTRY vx_node VX_API_CALL | vxWeightedAverageNode (vx_graph graph, vx_image img1, vx_scalar alpha, vx_image img2, vx_image output) |
[Graph] Creates a image weighted average node. | |
VX_API_ENTRY vx_status VX_API_CALL | vxuWeightedAverage (vx_context context, vx_image img1, vx_scalar alpha, vx_image img2, vx_image output) |
[Immediate] Computes a weighted average image. | |
VX_API_ENTRY vx_status VX_API_CALL vxuWeightedAverage | ( | vx_context | context, |
vx_image | img1, | ||
vx_scalar | alpha, | ||
vx_image | img2, | ||
vx_image | output ) |
#include <vxu.h>
[Immediate] Computes a weighted average image.
[in] | context | The reference to the overall context. |
[in] | img1 | The first VX_DF_IMAGE_U8 image. |
[in] | alpha | A VX_TYPE_FLOAT32 type, the input value with the range \( 0.0 \le \alpha \le 1.0 \). |
[in] | img2 | The second VX_DF_IMAGE_U8 image. |
[out] | output | The output VX_DF_IMAGE_U8 image. |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |
VX_API_ENTRY vx_node VX_API_CALL vxWeightedAverageNode | ( | vx_graph | graph, |
vx_image | img1, | ||
vx_scalar | alpha, | ||
vx_image | img2, | ||
vx_image | output ) |
#include <vx_nodes.h>
[Graph] Creates a image weighted average node.
[in] | graph | The reference to the graph. |
[in] | img1 | The first input VX_DF_IMAGE_U8 image. |
[in] | alpha | The input VX_TYPE_FLOAT32 scalar value with a value in the range of \( 0.0 \le \alpha \le 1.0 \). |
[in] | img2 | The second VX_DF_IMAGE_U8 image, which must have the same dimensions as the img1. |
[out] | output | The output VX_DF_IMAGE_U8 image, which must have the same dimensions as the img1. |
vx_node
. vx_node | A node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus |