CoreFlow 1.0.0
A modern orchestration and execution runtime
Loading...
Searching...
No Matches
Kernel: Hough Lines P

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) .
 

Detailed Description

Typedef Documentation

◆ vx_hough_lines_p_t

#include <vx_types.h>

Hough lines probability parameters.

Function Documentation

◆ vxHoughLinesPNode()

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.

Parameters
[in]graphgraph handle
[in]inputA single channel binary source image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1.
[in]paramsparameters of the struct vx_hough_lines_p_t
[out]lines_arraylines_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
Returns
vx_node.
Return values
vx_nodeA node reference. Any possible errors preventing a successful creation should be checked using vxGetStatus

◆ vxuHoughLinesP()

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.

Parameters
[in]contextThe reference to the overall context.
[in]inputA single channel binary source image of type VX_DF_IMAGE_U8 or VX_DF_IMAGE_U1.
[in]paramsparameters of the struct vx_hough_lines_p_t
[out]lines_arraylines_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
Returns
A vx_status_e enumeration.
Return values
VX_SUCCESSSuccess
*An error occurred. See vx_status_e.