Finds lines in binary image using Hough transform.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public CvSeq HoughLines2( CvMemStorage lineStorage, HoughLinesMethod method, double rho, double theta, int threshold )
Parameters
- lineStorage
- Type: OpenCvSharpCvMemStorage
The storage for the lines detected. It can be a memory storage or single row/single column matrix (CvMat*) of a particular type to which the lines' parameters are written. - method
- Type: OpenCvSharpHoughLinesMethod
The Hough transform variant. - rho
- Type: SystemDouble
Distance resolution in pixel-related units. - theta
- Type: SystemDouble
Angle resolution measured in radians. - threshold
- Type: SystemInt32
Threshold parameter. A line is returned by the function if the corresponding accumulator value is greater than threshold.
Return Value
Type: CvSeq[Missing <returns> documentation for "M:OpenCvSharp.CvArr.HoughLines2(OpenCvSharp.CvMemStorage,OpenCvSharp.HoughLinesMethod,System.Double,System.Double,System.Int32)"]
See Also