CvAdaptiveThreshold Method (CvArr, CvArr, Double, AdaptiveThresholdType, ThresholdType, Int32, Double) OpenCvSharp Class Library
Applies adaptive threshold to array.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void AdaptiveThreshold(
	CvArr src,
	CvArr dst,
	double maxValue,
	AdaptiveThresholdType adaptiveMethod,
	ThresholdType thresholdType,
	int blockSize,
	double param1
)

Parameters

src
Type: OpenCvSharpCvArr
Source image.
dst
Type: OpenCvSharpCvArr
Destination image.
maxValue
Type: SystemDouble
Maximum value that is used with Binary and BinaryInv.
adaptiveMethod
Type: OpenCvSharpAdaptiveThresholdType
Adaptive thresholding algorithm to use: MeanC or GaussianC.
thresholdType
Type: OpenCvSharpThresholdType
Thresholding type.
blockSize
Type: SystemInt32
The size of a pixel neighborhood that is used to calculate a threshold value for the pixel: 3, 5, 7, ...
param1
Type: SystemDouble
The method-dependent parameter. For the methods MeanC and GaussianC it is a constant subtracted from mean or weighted mean (see the discussion), though it may be negative.
See Also

Reference