Smoothes image using box filter
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void BoxFilter( InputArray src, OutputArray dst, MatType ddepth, Size ksize, Nullable<Point> anchor = null, bool normalize = true, BorderType borderType = BorderType.Reflect101 )
Parameters
- src
- Type: OpenCvSharp.CPlusPlusInputArray
The source image - dst
- Type: OpenCvSharp.CPlusPlusOutputArray
The destination image; will have the same size and the same type as src - ddepth
- Type: OpenCvSharp.CPlusPlusMatType
[Missing <param name="ddepth"/> documentation for "M:OpenCvSharp.CPlusPlus.Cv2.BoxFilter(OpenCvSharp.CPlusPlus.InputArray,OpenCvSharp.CPlusPlus.OutputArray,OpenCvSharp.CPlusPlus.MatType,OpenCvSharp.CPlusPlus.Size,System.Nullable{OpenCvSharp.CPlusPlus.Point},System.Boolean,OpenCvSharp.BorderType)"]
- ksize
- Type: OpenCvSharp.CPlusPlusSize
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: OpenCvSharpBorderType
The border mode used to extrapolate pixels outside of the image
See Also