Applies fixed-level threshold to array elements.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static double Threshold( CvArr src, CvArr dst, double threshold, double maxValue, ThresholdType thresholdType )
Parameters
- src
- Type: OpenCvSharpCvArr
Source array (single-channel, 8-bit of 32-bit floating point). - dst
- Type: OpenCvSharpCvArr
Destination array; must be either the same type as src or 8-bit. - threshold
- Type: SystemDouble
Threshold value. - maxValue
- Type: SystemDouble
Maximum value to use with CV_THRESH_BINARY and CV_THRESH_BINARY_INV thresholding types. - thresholdType
- Type: OpenCvSharpThresholdType
Thresholding type.
Return Value
Type: Double[Missing <returns> documentation for "M:OpenCvSharp.Cv.Threshold(OpenCvSharp.CvArr,OpenCvSharp.CvArr,System.Double,System.Double,OpenCvSharp.ThresholdType)"]
See Also