Click or drag to resize

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
)

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