CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Functions | |
VX_API_ENTRY vx_node VX_API_CALL | vxOpticalFlowPyrLKNode (vx_graph graph, vx_pyramid old_images, vx_pyramid new_images, vx_array old_points, vx_array new_points_estimates, vx_array new_points, vx_enum termination, vx_scalar epsilon, vx_scalar num_iterations, vx_scalar use_initial_estimate, vx_size window_dimension) |
[Graph] Creates a Lucas Kanade Tracking Node. | |
VX_API_ENTRY vx_status VX_API_CALL | vxuOpticalFlowPyrLK (vx_context context, vx_pyramid old_images, vx_pyramid new_images, vx_array old_points, vx_array new_points_estimates, vx_array new_points, vx_enum termination, vx_scalar epsilon, vx_scalar num_iterations, vx_scalar use_initial_estimate, vx_size window_dimension) |
[Immediate] Computes an optical flow on two images. | |
VX_API_ENTRY vx_node VX_API_CALL vxOpticalFlowPyrLKNode | ( | vx_graph | graph, |
vx_pyramid | old_images, | ||
vx_pyramid | new_images, | ||
vx_array | old_points, | ||
vx_array | new_points_estimates, | ||
vx_array | new_points, | ||
vx_enum | termination, | ||
vx_scalar | epsilon, | ||
vx_scalar | num_iterations, | ||
vx_scalar | use_initial_estimate, | ||
vx_size | window_dimension ) |
#include <vx_nodes.h>
[Graph] Creates a Lucas Kanade Tracking Node.
[in] | graph | The reference to the graph. |
[in] | old_images | Input of first (old) image pyramid in VX_DF_IMAGE_U8 . |
[in] | new_images | Input of destination (new) image pyramid VX_DF_IMAGE_U8 . |
[in] | old_points | An array of key points in a vx_array of VX_TYPE_KEYPOINT ; those key points are defined at the old_images high resolution pyramid. |
[in] | new_points_estimates | An array of estimation on what is the output key points in a vx_array of VX_TYPE_KEYPOINT ; those keypoints are defined at the new_images high resolution pyramid. |
[out] | new_points | An output array of key points in a vx_array of VX_TYPE_KEYPOINT ; those key points are defined at the new_images high resolution pyramid. |
[in] | termination | The termination can be VX_TERM_CRITERIA_ITERATIONS or VX_TERM_CRITERIA_EPSILON or VX_TERM_CRITERIA_BOTH . |
[in] | epsilon | The vx_float32 error for terminating the algorithm. |
[in] | num_iterations | The number of iterations. Use a VX_TYPE_UINT32 scalar. |
[in] | use_initial_estimate | Use a VX_TYPE_BOOL scalar. |
[in] | window_dimension | The size of the window on which to perform the algorithm. See VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION |
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 vxuOpticalFlowPyrLK | ( | vx_context | context, |
vx_pyramid | old_images, | ||
vx_pyramid | new_images, | ||
vx_array | old_points, | ||
vx_array | new_points_estimates, | ||
vx_array | new_points, | ||
vx_enum | termination, | ||
vx_scalar | epsilon, | ||
vx_scalar | num_iterations, | ||
vx_scalar | use_initial_estimate, | ||
vx_size | window_dimension ) |
#include <vxu.h>
[Immediate] Computes an optical flow on two images.
[in] | context | The reference to the overall context. |
[in] | old_images | Input of first (old) image pyramid in VX_DF_IMAGE_U8 . |
[in] | new_images | Input of destination (new) image pyramid in VX_DF_IMAGE_U8 |
[in] | old_points | an array of key points in a vx_array of VX_TYPE_KEYPOINT those key points are defined at the old_images high resolution pyramid |
[in] | new_points_estimates | an array of estimation on what is the output key points in a vx_array of VX_TYPE_KEYPOINT those keypoints are defined at the new_images high resolution pyramid |
[out] | new_points | an output array of key points in a vx_array of VX_TYPE_KEYPOINT those key points are defined at the new_images high resolution pyramid |
[in] | termination | termination can be VX_TERM_CRITERIA_ITERATIONS or VX_TERM_CRITERIA_EPSILON or VX_TERM_CRITERIA_BOTH |
[in] | epsilon | is the vx_float32 error for terminating the algorithm |
[in] | num_iterations | is the number of iterations. Use a VX_TYPE_UINT32 scalar. |
[in] | use_initial_estimate | Can be set to either vx_false_e or vx_true_e . |
[in] | window_dimension | The size of the window on which to perform the algorithm. See VX_CONTEXT_OPTICAL_FLOW_MAX_WINDOW_DIMENSION |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |