FastLineDetector Constructor |
http://www.emgu.com
Initializes a new instance of the FastLineDetector object.
Namespace:
Emgu.CV.XImgproc
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic FastLineDetector(
int lengthThreshold = 10,
float distanceThreshold = 1.414214f,
double cannyThreshold1 = 50,
double cannyThreshold2 = 50,
int cannyApertureSize = 3,
bool doMerge = false
)
Public Sub New (
Optional lengthThreshold As Integer = 10,
Optional distanceThreshold As Single = 1.414214F,
Optional cannyThreshold1 As Double = 50,
Optional cannyThreshold2 As Double = 50,
Optional cannyApertureSize As Integer = 3,
Optional doMerge As Boolean = false
)
public:
FastLineDetector(
int lengthThreshold = 10,
float distanceThreshold = 1.414214f,
double cannyThreshold1 = 50,
double cannyThreshold2 = 50,
int cannyApertureSize = 3,
bool doMerge = false
)
new :
?lengthThreshold : int *
?distanceThreshold : float32 *
?cannyThreshold1 : float *
?cannyThreshold2 : float *
?cannyApertureSize : int *
?doMerge : bool
(* Defaults:
let _lengthThreshold = defaultArg lengthThreshold 10
let _distanceThreshold = defaultArg distanceThreshold 1.414214f
let _cannyThreshold1 = defaultArg cannyThreshold1 50
let _cannyThreshold2 = defaultArg cannyThreshold2 50
let _cannyApertureSize = defaultArg cannyApertureSize 3
let _doMerge = defaultArg doMerge false
*)
-> FastLineDetector
Parameters
- lengthThreshold (Optional)
- Type: SystemInt32
Segment shorter than this will be discarded. - distanceThreshold (Optional)
- Type: SystemSingle
A point placed from a hypothesis line segment farther than this will be regarded as an outlier. - cannyThreshold1 (Optional)
- Type: SystemDouble
First threshold for hysteresis procedure in Canny(). - cannyThreshold2 (Optional)
- Type: SystemDouble
Second threshold for hysteresis procedure in Canny(). - cannyApertureSize (Optional)
- Type: SystemInt32
Aperture size for the Sobel operator in Canny(). - doMerge (Optional)
- Type: SystemBoolean
If true, incremental merging of segments will be performed
See Also