CvInvokeHoughLines Method |
http://www.emgu.com
Finds lines in a binary image using the standard Hough transform.
Namespace: Emgu.CVAssembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax public static void HoughLines(
IInputArray image,
IOutputArray lines,
double rho,
double theta,
int threshold,
double srn = 0,
double stn = 0
)
Public Shared Sub HoughLines (
image As IInputArray,
lines As IOutputArray,
rho As Double,
theta As Double,
threshold As Integer,
Optional srn As Double = 0,
Optional stn As Double = 0
)
public:
static void HoughLines(
IInputArray^ image,
IOutputArray^ lines,
double rho,
double theta,
int threshold,
double srn = 0,
double stn = 0
)
static member HoughLines :
image : IInputArray *
lines : IOutputArray *
rho : float *
theta : float *
threshold : int *
?srn : float *
?stn : float
(* Defaults:
let _srn = defaultArg srn 0
let _stn = defaultArg stn 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 two-element vector - 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 (> threshold) - srn (Optional)
- Type: SystemDouble
For the multi-scale Hough transform, it is a divisor for the distance resolution rho . The coarse accumulator distance resolution is rho and the accurate accumulator resolution is rho/srn . If both srn=0 and stn=0 , the classical Hough transform is used. Otherwise, both these parameters should be positive. - stn (Optional)
- Type: SystemDouble
For the multi-scale Hough transform, it is a divisor for the distance resolution theta
See Also