The Hough transform variant
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Members
Member name | Value | Description | |
---|---|---|---|
Standard | 0 | Classical or standard Hough transform. Every line is represented by two floating-point numbers (ρ, θ), where ρ is a distance between (0,0) point and the line, and θ is the angle between x-axis and the normal to the line. Thus, the matrix must be (the created sequence will be) of CV_32FC2 type. [CV_HOUGH_STANDARD] | |
Probabilistic | 1 | Probabilistic Hough transform (more efficient in case if picture contains a few long linear segments). It returns line segments rather than the whole lines. Every segment is represented by starting and ending points, and the matrix must be (the created sequence will be) of CV_32SC4 type. [CV_HOUGH_PROBABILISTIC] | |
MultiScale | 2 | Multi-scale variant of classical Hough transform. The lines are encoded the same way as in HoughLinesMethod.Standard. [CV_HOUGH_MULTI_SCALE] |
See Also