MatBilateralFilter Method OpenCvSharp Class Library
Applies bilateral filter to the image The source image must be a 8-bit or floating-point, 1-channel or 3-channel image.

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

public Mat BilateralFilter(
	int d,
	double sigmaColor,
	double sigmaSpace,
	BorderType borderType = BorderType.Reflect101
)

Parameters

d
Type: SystemInt32
The diameter of each pixel neighborhood, that is used during filtering. If it is non-positive, it's computed from sigmaSpace
sigmaColor
Type: SystemDouble
Filter sigma in the color space. Larger value of the parameter means that farther colors within the pixel neighborhood will be mixed together, resulting in larger areas of semi-equal color
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
borderType (Optional)
Type: OpenCvSharpBorderType

[Missing <param name="borderType"/> documentation for "M:OpenCvSharp.CPlusPlus.Mat.BilateralFilter(System.Int32,System.Double,System.Double,OpenCvSharp.BorderType)"]

Return Value

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

Reference