Table of Contents

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

lengthThreshold int

Segment shorter than this will be discarded

distanceThreshold float

A point placed from a hypothesis line segment farther than this will be regarded as an outlier

cannyTh1 double

First threshold for hysteresis procedure in Canny()

cannyTh2 double

Second threshold for hysteresis procedure in Canny()

cannyApertureSize int

Aperture size for the sobel operator in Canny()

doMerge bool

If true, incremental merging of segments will be performed

Returns

FastLineDetector