Method CreateFastLineDetector
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CreateFastLineDetector(int, float, double, double, int, bool)
Creates a smart pointer to a FastLineDetector object and initializes it
public static FastLineDetector CreateFastLineDetector(int lengthThreshold = 10, float distanceThreshold = 1.4142135, double cannyTh1 = 50, double cannyTh2 = 50, int cannyApertureSize = 3, bool doMerge = false)
Parameters
lengthThresholdintSegment shorter than this will be discarded
distanceThresholdfloatA point placed from a hypothesis line segment farther than this will be regarded as an outlier
cannyTh1doubleFirst threshold for hysteresis procedure in Canny()
cannyTh2doubleSecond threshold for hysteresis procedure in Canny()
cannyApertureSizeintAperture size for the sobel operator in Canny()
doMergeboolIf true, incremental merging of segments will be performed