Apply Hough transform to find line segments.
The current image must be a binary image (eg. the edges as a result of the Canny edge detector)
Namespace:
Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.0.1.0 (2.0.1.0)
Syntax
C# |
---|
public LineSegment2D[][] HoughLinesBinary( double rhoResolution, double thetaResolution, int threshold, double minLineWidth, double gapBetweenLines ) |
Visual Basic (Declaration) |
---|
Public Function HoughLinesBinary ( _ rhoResolution As Double, _ thetaResolution As Double, _ threshold As Integer, _ minLineWidth As Double, _ gapBetweenLines As Double _ ) As LineSegment2D()() |
Visual C++ |
---|
public: array<array<LineSegment2D>^>^ HoughLinesBinary( double rhoResolution, double thetaResolution, int threshold, double minLineWidth, double gapBetweenLines ) |
Parameters
- rhoResolution
- Type: System..::.Double
Distance resolution in pixel-related units.
- thetaResolution
- Type: System..::.Double
Angle resolution measured in radians
- threshold
- Type: System..::.Int32
A line is returned by the function if the corresponding accumulator value is greater than threshold
- minLineWidth
- Type: System..::.Double
Minimum width of a line
- gapBetweenLines
- Type: System..::.Double
Minimum gap between lines