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.
- EdgeDetectionOperator
Gradient operator for edge detection. One of GradientOperator. Default: PREWITT.
- GradientThresholdValue
Gradient threshold between pixels used to build the gradient image. Default: 20.
- LineFitErrorThreshold
Default: 1.0.
- MaxDistanceBetweenTwoLines
Default: 6.0.
- MaxErrorThreshold
Default: 1.3.
- MinLineLength
Minimum line length to detect.
- MinPathLength
Minimum connected-pixel length to form an edge segment. Default: 10.
- NFAValidation
Whether NFA (Number of False Alarms) validation is used for lines and ellipses. Default: true.
- PFmode
Parameter Free mode. Default: false.
- ScanInterval
Scan interval. Default: 1.
- Sigma
Sigma for internal GaussianBlur. Default: 1.0.
- SumFlag
Default: false.
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.