Click or drag to resize

Cv2BoxFilter Method

Smoothes image using box filter

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void BoxFilter(
	InputArray src,
	OutputArray dst,
	MatType ddepth,
	Size ksize,
	Nullable<Point> anchor = null,
	bool normalize = true,
	BorderTypes borderType = BorderTypes.Reflect101
)

Parameters

src
Type: OpenCvSharpInputArray
The source image
dst
Type: OpenCvSharpOutputArray
The destination image; will have the same size and the same type as src
ddepth
Type: OpenCvSharpMatType

[Missing <param name="ddepth"/> documentation for "M:OpenCvSharp.Cv2.BoxFilter(OpenCvSharp.InputArray,OpenCvSharp.OutputArray,OpenCvSharp.MatType,OpenCvSharp.Size,System.Nullable{OpenCvSharp.Point},System.Boolean,OpenCvSharp.BorderTypes)"]

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