| FastLineDetectorCreate Method |
Creates a smart pointer to a FastLineDetector object and initializes it
Namespace:
OpenCvSharp.XImgProc
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static FastLineDetector Create(
int lengthThreshold = 10,
float distanceThreshold = 1.414214f,
double cannyTh1 = 50,
double cannyTh2 = 50,
int cannyApertureSize = 3,
bool doMerge = false
)
Public Shared Function Create (
Optional lengthThreshold As Integer = 10,
Optional distanceThreshold As Single = 1.414214F,
Optional cannyTh1 As Double = 50,
Optional cannyTh2 As Double = 50,
Optional cannyApertureSize As Integer = 3,
Optional doMerge As Boolean = false
) As FastLineDetector
public:
static FastLineDetector^ Create(
int lengthThreshold = 10,
float distanceThreshold = 1.414214f,
double cannyTh1 = 50,
double cannyTh2 = 50,
int cannyApertureSize = 3,
bool doMerge = false
)
static member Create :
?lengthThreshold : int *
?distanceThreshold : float32 *
?cannyTh1 : float *
?cannyTh2 : float *
?cannyApertureSize : int *
?doMerge : bool
(* Defaults:
let _lengthThreshold = defaultArg lengthThreshold 10
let _distanceThreshold = defaultArg distanceThreshold 1.414214f
let _cannyTh1 = defaultArg cannyTh1 50
let _cannyTh2 = defaultArg cannyTh2 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 - cannyTh1 (Optional)
- Type: SystemDouble
First threshold for hysteresis procedure in Canny() - cannyTh2 (Optional)
- Type: SystemDouble
Second threshold for hysteresis procedure in Canny() - cannyApertureSize (Optional)
- Type: SystemInt32
Aperturesize for the sobel operator in Canny() - doMerge (Optional)
- Type: SystemBoolean
If true, incremental merging of segments will be perfomred
Return Value
Type:
FastLineDetector[Missing <returns> documentation for "M:OpenCvSharp.XImgProc.FastLineDetector.Create(System.Int32,System.Single,System.Double,System.Double,System.Int32,System.Boolean)"]
See Also