Class EdgeDrawingParams
- Namespace
- OpenCvSharp.XImgProc
- Assembly
- OpenCvSharp.dll
Parameters for EdgeDrawing algorithms.
public sealed class EdgeDrawingParams
- Inheritance
-
EdgeDrawingParams
- Inherited Members
Remarks
Instances can only be obtained via GetParams() or Default(), ensuring the values are always initialized from the native C++ defaults.
Properties
AnchorThresholdValue
Threshold for selecting anchor points. Default: 0.
public int AnchorThresholdValue { get; set; }
Property Value
EdgeDetectionOperator
Gradient operator for edge detection. One of GradientOperator. Default: PREWITT.
public GradientOperator EdgeDetectionOperator { get; set; }
Property Value
GradientThresholdValue
Gradient threshold between pixels used to build the gradient image. Default: 20.
public int GradientThresholdValue { get; set; }
Property Value
LineFitErrorThreshold
Default: 1.0.
public double LineFitErrorThreshold { get; set; }
Property Value
MaxDistanceBetweenTwoLines
Default: 6.0.
public double MaxDistanceBetweenTwoLines { get; set; }
Property Value
MaxErrorThreshold
Default: 1.3.
public double MaxErrorThreshold { get; set; }
Property Value
MinLineLength
Minimum line length to detect.
public int MinLineLength { get; set; }
Property Value
MinPathLength
Minimum connected-pixel length to form an edge segment. Default: 10.
public int MinPathLength { get; set; }
Property Value
NFAValidation
Whether NFA (Number of False Alarms) validation is used for lines and ellipses. Default: true.
public bool NFAValidation { get; set; }
Property Value
PFmode
Parameter Free mode. Default: false.
public bool PFmode { get; set; }
Property Value
ScanInterval
Scan interval. Default: 1.
public int ScanInterval { get; set; }
Property Value
Sigma
Sigma for internal GaussianBlur. Default: 1.0.
public float Sigma { get; set; }
Property Value
SumFlag
Default: false.
public bool SumFlag { get; set; }
Property Value
Methods
Default()
Returns a new instance initialized with the native library's default values for
EdgeDrawing::Params. Always stays in sync with the C++ defaults.
public static EdgeDrawingParams Default()