Click or drag to resize
CvInvokeHoughLinesP Method (IInputArray, IOutputArray, 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 void HoughLinesP(
	IInputArray image,
	IOutputArray lines,
	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: Emgu.CVIOutputArray
Output vector of lines. Each line is represented by a 4-element vector (x1, y1, x2, y2)
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.
See Also