[][src]Function opencv::cudaimgproc::create_hough_lines_detector

pub fn create_hough_lines_detector(
    rho: f32,
    theta: f32,
    threshold: i32,
    do_sort: bool,
    max_lines: i32
) -> Result<Ptr<dyn CUDA_HoughLinesDetector>>

Creates implementation for cuda::HoughLinesDetector .

Parameters

  • rho: Distance resolution of the accumulator in pixels.
  • theta: Angle resolution of the accumulator in radians.
  • threshold: Accumulator threshold parameter. Only those lines are returned that get enough votes ( inline formula ).
  • doSort: Performs lines sort by votes.
  • maxLines: Maximum number of output lines.

C++ default parameters

  • do_sort: false
  • max_lines: 4096