MatAdaptiveBilateralFilter Method OpenCvSharp Class Library
Applies the adaptive bilateral filter to an image.

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

public Mat AdaptiveBilateralFilter(
	Size ksize,
	double sigmaSpace,
	double maxSigmaColor = 20,
	Nullable<Point> anchor = null,
	BorderType borderType = BorderType.Reflect101
)

Parameters

ksize
Type: OpenCvSharp.CPlusPlusSize
The kernel size. This is the neighborhood where the local variance will be calculated, and where pixels will contribute (in a weighted manner).
sigmaSpace
Type: SystemDouble
Filter sigma in the coordinate space. Larger value of the parameter means that farther pixels will influence each other (as long as their colors are close enough; see sigmaColor). Then d>0, it specifies the neighborhood size regardless of sigmaSpace, otherwise d is proportional to sigmaSpace.
maxSigmaColor (Optional)
Type: SystemDouble
Maximum allowed sigma color (will clamp the value calculated in the ksize neighborhood. Larger value of the parameter means that more dissimilar pixels will influence each other (as long as their colors are close enough; see sigmaColor). Then d>0, it specifies the neighborhood size regardless of sigmaSpace, otherwise d is proportional to sigmaSpace.
anchor (Optional)
Type: SystemNullablePoint
The anchor point. The default value Point(-1,-1) means that the anchor is at the kernel center
borderType (Optional)
Type: OpenCvSharpBorderType
Pixel extrapolation method.

Return Value

Type: Mat
The destination image; will have the same size and the same type as src
See Also

Reference