Method Create
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Create(LineSegmentDetectorModes, double, double, double, double, double, double, int)
Creates a smart pointer to a LineSegmentDetector object and initializes it.
public static LineSegmentDetector Create(LineSegmentDetectorModes refine = LineSegmentDetectorModes.RefineNone, double scale = 0.8, double sigmaScale = 0.6, double quant = 2, double angTh = 22.5, double logEps = 0, double densityTh = 0.7, int nBins = 1024)
Parameters
refineLineSegmentDetectorModesThe way found lines will be refined, see cv::LineSegmentDetectorModes
scaledoubleThe scale of the image that will be used to find the lines. Range (0..1].
sigmaScaledoubleSigma for Gaussian filter. It is computed as sigma = _sigma_scale/_scale.
quantdoubleBound to the quantization error on the gradient norm.
angThdoubleGradient angle tolerance in degrees.
logEpsdoubleDetection threshold: -log10(NFA) > log_eps. Used only when advancent refinement is chosen.
densityThdoubleMinimal density of aligned region points in the enclosing rectangle.
nBinsintNumber of bins in pseudo-ordering of gradient modulus.