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 static CvSeq HoughLines2( CvArr image, CvMemStorage lineStorage, HoughLinesMethod method, double rho, double theta, int threshold )
Parameters
- image
- Type: OpenCvSharpCvArr
The input 8-bit single-channel binary image. In case of probabilistic method the image is modified by the function. - 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.Cv.HoughLines2(OpenCvSharp.CvArr,OpenCvSharp.CvMemStorage,OpenCvSharp.HoughLinesMethod,System.Double,System.Double,System.Int32)"]
See Also