CoreFlow 1.0.0
A modern orchestration and execution runtime
|
Classes | |
struct | _vx_hough_lines_p_t |
Hough lines probability parameters. More... | |
Typedefs | |
typedef struct _vx_hough_lines_p_t | vx_hough_lines_p_t |
Hough lines probability parameters. | |
Functions | |
VX_API_ENTRY vx_node VX_API_CALL | vxHoughLinesPNode (vx_graph graph, vx_image input, const vx_hough_lines_p_t *params, vx_array lines_array, vx_scalar num_lines) |
[Graph] Finds the Probabilistic Hough Lines detected in the input binary image, each line is stored in the output array as a set of points (x1, y1, x2, y2) . | |
VX_API_ENTRY vx_status VX_API_CALL | vxuHoughLinesP (vx_context context, vx_image input, const vx_hough_lines_p_t *params, vx_array lines_array, vx_scalar num_lines) |
[Immediate] Finds the Probabilistic Hough Lines detected in the input binary image, each line is stored in the output array as a set of points (x1, y1, x2, y2) . | |
typedef struct _vx_hough_lines_p_t vx_hough_lines_p_t |
#include <vx_types.h>
Hough lines probability parameters.
VX_API_ENTRY vx_node VX_API_CALL vxHoughLinesPNode | ( | vx_graph | graph, |
vx_image | input, | ||
const vx_hough_lines_p_t * | params, | ||
vx_array | lines_array, | ||
vx_scalar | num_lines ) |
#include <vx_nodes.h>
[Graph] Finds the Probabilistic Hough Lines detected in the input binary image, each line is stored in the output array as a set of points (x1, y1, x2, y2) .
Some implementations of the algorithm may have a random or non-deterministic element. If the target application is in a safety-critical environment this should be borne in mind and steps taken in the implementation, the application or both to achieve the level of determinism required by the system design.
[in] | graph | graph handle |
[in] | input | A single channel binary source image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 . |
[in] | params | parameters of the struct vx_hough_lines_p_t |
[out] | lines_array | lines_array contains array of lines, see vx_line2d_t The order of lines in implementation dependent |
[out] | num_lines | [optional] The total number of detected lines in image. Use a VX_TYPE_SIZE scalar |
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 vxuHoughLinesP | ( | vx_context | context, |
vx_image | input, | ||
const vx_hough_lines_p_t * | params, | ||
vx_array | lines_array, | ||
vx_scalar | num_lines ) |
#include <vxu.h>
[Immediate] Finds the Probabilistic Hough Lines detected in the input binary image, each line is stored in the output array as a set of points (x1, y1, x2, y2) .
Some implementations of the algorithm may have a random or non-deterministic element. If the target application is in a safety-critical environment this should be borne in mind and steps taken in the implementation, the application or both to achieve the level of determinism required by the system design.
[in] | context | The reference to the overall context. |
[in] | input | A single channel binary source image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1 . |
[in] | params | parameters of the struct vx_hough_lines_p_t |
[out] | lines_array | lines_array contains array of lines, see vx_line2d_t The order of lines in implementation dependent |
[out] | num_lines | [optional] The total number of detected lines in image. Use a VX_TYPE_SIZE scalar |
vx_status_e
enumeration. VX_SUCCESS | Success |
* | An error occurred. See vx_status_e . |