Method BoxFilter
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
BoxFilter(InputArray, OutputArray, MatType, Size, Point?, bool, BorderTypes)
Smoothes image using box filter
public static void BoxFilter(InputArray src, OutputArray dst, MatType ddepth, Size ksize, Point? anchor = null, bool normalize = true, BorderTypes borderType = BorderTypes.Default)
Parameters
srcInputArrayThe source image
dstOutputArrayThe destination image; will have the same size and the same type as src
ddepthMatTypeksizeSizeThe smoothing kernel size
anchorPoint?The anchor point. The default value Point(-1,-1) means that the anchor is at the kernel center
normalizeboolIndicates, whether the kernel is normalized by its area or not
borderTypeBorderTypesThe border mode used to extrapolate pixels outside of the image