Apply Canny Edge Detector follows by Probabilistic Hough transform to find line segments in the image

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)

Syntax

         
 C#  Visual Basic  Visual C++ 
public LineSegment2D[][] HoughLines(
	TColor cannyThreshold,
	TColor cannyThresholdLinking,
	double rhoResolution,
	double thetaResolution,
	int threshold,
	double minLineWidth,
	double gapBetweenLines
)
Public Function HoughLines ( _
	cannyThreshold As TColor, _
	cannyThresholdLinking As TColor, _
	rhoResolution As Double, _
	thetaResolution As Double, _
	threshold As Integer, _
	minLineWidth As Double, _
	gapBetweenLines As Double _
) As LineSegment2D()()
public:
array<array<LineSegment2D>^>^ HoughLines(
	TColor cannyThreshold, 
	TColor cannyThresholdLinking, 
	double rhoResolution, 
	double thetaResolution, 
	int threshold, 
	double minLineWidth, 
	double gapBetweenLines
)

Parameters

cannyThreshold
TColor
The threshhold to find initial segments of strong edges
cannyThresholdLinking
TColor
The threshold used for edge Linking
rhoResolution
Double
Distance resolution in pixel-related units.
thetaResolution
Double
Angle resolution measured in radians
threshold
Int32
A line is returned by the function if the corresponding accumulator value is greater than threshold
minLineWidth
Double
Minimum width of a line
gapBetweenLines
Double
Minimum gap between lines

Return Value

The line segments detected for each of the channels

See Also