CvArrThreshold Method OpenCvSharp Class Library
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 void Threshold(
	CvArr dst,
	double threshold,
	double maxValue,
	ThresholdType thresholdType
)

Parameters

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.
See Also

Reference