CvInvokeHoughLinesP Method (IInputArray, IOutputArray, Double, Double, Int32, Double, Double) |
http://www.emgu.com
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: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic static void HoughLinesP(
IInputArray image,
IOutputArray lines,
double rho,
double theta,
int threshold,
double minLineLength = 0,
double maxGap = 0
)
Public Shared Sub HoughLinesP (
image As IInputArray,
lines As IOutputArray,
rho As Double,
theta As Double,
threshold As Integer,
Optional minLineLength As Double = 0,
Optional maxGap As Double = 0
)
public:
static void HoughLinesP(
IInputArray^ image,
IOutputArray^ lines,
double rho,
double theta,
int threshold,
double minLineLength = 0,
double maxGap = 0
)
static member HoughLinesP :
image : IInputArray *
lines : IOutputArray *
rho : float *
theta : float *
threshold : int *
?minLineLength : float *
?maxGap : float
(* Defaults:
let _minLineLength = defaultArg minLineLength 0
let _maxGap = defaultArg maxGap 0
*)
-> unit
Parameters
- image
- Type: Emgu.CVIInputArray
8-bit, single-channel binary source image. The image may be modified by the function. - lines
- Type: Emgu.CVIOutputArray
Output vector of lines. Each line is represented by a 4-element vector (x1, y1, x2, y2) - rho
- Type: SystemDouble
Distance resolution of the accumulator in pixels - theta
- Type: SystemDouble
Angle resolution of the accumulator in radians - threshold
- 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