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, CvMat lineStorage, HoughLinesMethod method, double rho, double theta, int threshold, double param1, double param2 )
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: OpenCvSharpCvMat
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. - param1
- Type: SystemDouble
The first method-dependent parameter. - param2
- Type: SystemDouble
The second method-dependent parameter.
Return Value
Type: CvSeq[Missing <returns> documentation for "M:OpenCvSharp.Cv.HoughLines2(OpenCvSharp.CvArr,OpenCvSharp.CvMat,OpenCvSharp.HoughLinesMethod,System.Double,System.Double,System.Int32,System.Double,System.Double)"]
See Also