Struct LSDParam
- Namespace
- OpenCvSharp.LineDescriptor
- Assembly
- OpenCvSharp.dll
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.
[SuppressMessage("Design", "CA1051: Do not declare visible instance fields")]
public readonly struct LSDParam
- Inherited Members
Constructors
- 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.
Fields
- AngTh
Gradient angle tolerance in degrees.
- DensityTh
Minimal density of aligned region points in the enclosing rectangle.
- LogEps
Detection threshold: -log10(NFA) > LogEps. Used only when advanced refinement is chosen.
- NBins
Number of bins in pseudo-ordering of gradient modulus.
- Quant
Bound to the quantization error on the gradient norm.
- Scale
The scale of the image that will be used to find the lines. Range (0..1].
- SigmaScale
Sigma for the Gaussian filter. It is computed as sigma = SigmaScale/Scale.