Click or drag to resize

MatBoxFilter Method

Smoothes image using box filter

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntax
public Mat BoxFilter(
	MatType ddepth,
	Size ksize,
	Nullable<Point> anchor = null,
	bool normalize = true,
	BorderTypes borderType = BorderTypes.Reflect101
)

Parameters

ddepth
Type: OpenCvSharpMatType
ksize
Type: OpenCvSharpSize
The smoothing kernel size
anchor (Optional)
Type: SystemNullablePoint
The anchor point. The default value Point(-1,-1) means that the anchor is at the kernel center
normalize (Optional)
Type: SystemBoolean
Indicates, whether the kernel is normalized by its area or not
borderType (Optional)
Type: OpenCvSharpBorderTypes
The border mode used to extrapolate pixels outside of the image

Return Value

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