ImageTColor, TDepthHoughLinesBinary Method |
http://www.emgu.com
Apply Probabilistic 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.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic LineSegment2D[][] HoughLinesBinary(
double rhoResolution,
double thetaResolution,
int threshold,
double minLineWidth,
double gapBetweenLines
)
Public Function HoughLinesBinary (
rhoResolution As Double,
thetaResolution As Double,
threshold As Integer,
minLineWidth As Double,
gapBetweenLines As Double
) As LineSegment2D()()
public:
array<array<LineSegment2D>^>^ HoughLinesBinary(
double rhoResolution,
double thetaResolution,
int threshold,
double minLineWidth,
double gapBetweenLines
)
member HoughLinesBinary :
rhoResolution : float *
thetaResolution : float *
threshold : int *
minLineWidth : float *
gapBetweenLines : float -> LineSegment2D[][]
Parameters
- 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