Constructor LSDParam
- Namespace
- OpenCvSharp.LineDescriptor
- Assembly
- OpenCvSharp.dll
LSDParam(double, double, double, double, double, double, int)
Parameters used by LSDDetector to configure the underlying Line Segment Detector (LSD) algorithm. The LSD algorithm is defined using the standard values below. Only advanced users may want to edit those, as to tailor it for their own application.
public LSDParam(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
scaledoubleThe scale of the image that will be used to find the lines. Range (0..1].
sigmaScaledoubleSigma for the Gaussian filter. It is computed as sigma = sigmaScale/scale.
quantdoubleBound to the quantization error on the gradient norm.
angThdoubleGradient angle tolerance in degrees.
logEpsdoubleDetection threshold: -log10(NFA) > logEps. Used only when advanced refinement is chosen.
densityThdoubleMinimal density of aligned region points in the enclosing rectangle.
nBinsintNumber of bins in pseudo-ordering of gradient modulus.