Table of Contents

Method HoughLinesPointSet

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

HoughLinesPointSet(InputArray, OutputArray, int, int, double, double, double, double, double, double)

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.

public static void HoughLinesPointSet(InputArray point, OutputArray lines, int linesMax, int threshold, double minRho, double maxRho, double rhoStep, double minTheta, double maxTheta, double thetaStep)

Parameters

point InputArray

Input vector of points. Each vector must be encoded as a Point vector \f$(x,y)\f$. Type must be CV_32FC2 or CV_32SC2.

lines OutputArray

Output vector of found lines. Each vector is encoded as a vector<Vec3d>

linesMax int

Max count of hough lines.

threshold int

Accumulator threshold parameter. Only those lines are returned that get enough votes

minRho double

Minimum Distance value of the accumulator in pixels.

maxRho double

Maximum Distance value of the accumulator in pixels.

rhoStep double

Distance resolution of the accumulator in pixels.

minTheta double

Minimum angle value of the accumulator in radians.

maxTheta double

Maximum angle value of the accumulator in radians.

thetaStep double

Angle resolution of the accumulator in radians.