ImageTColor, TDepthHoughLines Method |
http://www.emgu.com
Apply Canny Edge Detector follows by Probabilistic Hough transform to find line segments in the image
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic LineSegment2D[][] HoughLines(
double cannyThreshold,
double cannyThresholdLinking,
double rhoResolution,
double thetaResolution,
int threshold,
double minLineWidth,
double gapBetweenLines
)
Public Function HoughLines (
cannyThreshold As Double,
cannyThresholdLinking As Double,
rhoResolution As Double,
thetaResolution As Double,
threshold As Integer,
minLineWidth As Double,
gapBetweenLines As Double
) As LineSegment2D()()
public:
array<array<LineSegment2D>^>^ HoughLines(
double cannyThreshold,
double cannyThresholdLinking,
double rhoResolution,
double thetaResolution,
int threshold,
double minLineWidth,
double gapBetweenLines
)
member HoughLines :
cannyThreshold : float *
cannyThresholdLinking : float *
rhoResolution : float *
thetaResolution : float *
threshold : int *
minLineWidth : float *
gapBetweenLines : float -> LineSegment2D[][]
Parameters
- cannyThreshold
- Type: SystemDouble
The threshold to find initial segments of strong edges - cannyThresholdLinking
- Type: SystemDouble
The threshold used for edge Linking - rhoResolution
- Type: SystemDouble
Distance resolution in pixel-related units. - thetaResolution
- Type: SystemDouble
Angle resolution measured in radians - threshold
- Type: SystemInt32
A line is returned by the function if the corresponding accumulator value is greater than threshold - minLineWidth
- Type: SystemDouble
Minimum width of a line - gapBetweenLines
- Type: SystemDouble
Minimum gap between lines
Return Value
Type:
LineSegment2DThe line segments detected for each of the channels
See Also