HoughLinesPointSet function

Mat HoughLinesPointSet(
  1. InputArray point,
  2. int lines_max,
  3. int threshold,
  4. double min_rho,
  5. double max_rho,
  6. double rho_step,
  7. double min_theta,
  8. double max_theta,
  9. double theta_step, {
  10. OutputArray? lines,
})

HoughLinesPointSet implements the Hough transform algorithm for line detection on a set of points. For a good explanation of Hough transform, see: http:///homepages.inf.ed.ac.uk/rbf/HIPR2/hough.htm

For further details, please see: https:///docs.opencv.org/master/dd/d1a/group__imgproc__feature.html#ga2858ef61b4e47d1919facac2152a160e

Implementation

Mat HoughLinesPointSet(
  InputArray point,
  int lines_max,
  int threshold,
  double min_rho,
  double max_rho,
  double rho_step,
  double min_theta,
  double max_theta,
  double theta_step, {
  OutputArray? lines,
}) {
  lines ??= Mat.empty();
  cvRun(
    () => cimgproc.HoughLinesPointSet(
      point.ref,
      lines!.ref,
      lines_max,
      threshold,
      min_rho,
      max_rho,
      rho_step,
      min_theta,
      max_theta,
      theta_step,
    ),
  );
  return lines;
}