Click or drag to resize
CvInvokeHoughLinesP Method (IInputArray, Double, Double, Int32, Double, Double)
Finds line segments in a binary image using the probabilistic Hough transform.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: (
public static LineSegment2D[] HoughLinesP(
	IInputArray image,
	double rho,
	double theta,
	int threshold,
	double minLineLength = 0,
	double maxGap = 0


Type: Emgu.CVIInputArray
8-bit, single-channel binary source image. The image may be modified by the function.
Type: SystemDouble
Distance resolution of the accumulator in pixels
Type: SystemDouble
Angle resolution of the accumulator in radians
Type: SystemInt32
Accumulator threshold parameter. Only those lines are returned that get enough votes
minLineLength (Optional)
Type: SystemDouble
Minimum line length. Line segments shorter than that are rejected.
maxGap (Optional)
Type: SystemDouble
Maximum allowed gap between points on the same line to link them.

Return Value

Type: LineSegment2D
The found line segments
See Also