Finds lines in a set of points using the standard Hough transform
lines = cv.HoughLinesPointSet(points)
lines = cv.HoughLinesPointSet(points, 'OptionName',optionValue, ...)
Input
- points Input vector of points
{[x,y], ...}
, floating-point type.
Output
- lines Output cell-array of found lines. Each line is encoded as a
3-element vector
[votes, rho, theta]
. The larger the value of votes
,
the higher the reliability of the Hough line.
Options
- LinesMax Max count of hough lines. default 200
- Threshold Accumulator threshold parameter. Only those lines are
returned that get enough votes (
> Threshold
). default 10
- RhoMin Minimum Distance value of the accumulator in pixels. default 0
- RhoMax Maximum Distance value of the accumulator in pixels.
default 100
- RhoStep Distance resolution of the accumulator in pixels. default 1
- ThetaMin Minimum angle value of the accumulator in radians. default 0
- ThetaMax Maximum angle value of the accumulator in radians.
default pi/2
- ThetaStep Angle resolution of the accumulator in radians.
default pi/180
The function finds lines in a set of points using a modification of the
Hough transform.