HoughLinesPointSet function
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,
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.cv_HoughLinesPointSet(
point.ref,
lines!.ref,
lines_max,
threshold,
min_rho,
max_rho,
rho_step,
min_theta,
max_theta,
theta_step,
ffi.nullptr,
),
);
return lines;
}