[−][src]Function opencv::imgproc::hough_lines_point_set
pub fn hough_lines_point_set(
_point: &dyn ToInputArray,
_lines: &mut dyn ToOutputArray,
lines_max: i32,
threshold: i32,
min_rho: f64,
max_rho: f64,
rho_step: f64,
min_theta: f64,
max_theta: f64,
theta_step: f64
) -> Result<()>
Finds lines in a set of points using the standard Hough transform.
The function finds lines in a set of points using a modification of the Hough transform. @include snippets/imgproc_HoughLinesPointSet.cpp
Parameters
- _point: Input vector of points. Each vector must be encoded as a Point vector . Type must be CV_32FC2 or CV_32SC2.
- _lines: Output vector of found lines. Each vector is encoded as a vector
. The larger the value of 'votes', the higher the reliability of the Hough line. - lines_max: Max count of hough lines.
- threshold: Accumulator threshold parameter. Only those lines are returned that get enough votes ( )
- min_rho: Minimum Distance value of the accumulator in pixels.
- max_rho: Maximum Distance value of the accumulator in pixels.
- rho_step: Distance resolution of the accumulator in pixels.
- min_theta: Minimum angle value of the accumulator in radians.
- max_theta: Maximum angle value of the accumulator in radians.
- theta_step: Angle resolution of the accumulator in radians.