Smooths the image using the normalized box filter.
Namespace: OpenCvSharp.CPlusPlus.Gpu
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void BoxFilter( GpuMat src, GpuMat dst, int ddepth, Size ksize, Nullable<Point> anchor, Stream stream = null )
Parameters
- src
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Input image. CV_8UC1 and CV_8UC4 source types are supported. - dst
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Output image type. The size and type is the same as src. - ddepth
- Type: SystemInt32
Output image depth. If -1, the output image has the same depth as the input one. The only values allowed here are CV_8U and -1. - ksize
- Type: OpenCvSharp.CPlusPlusSize
Kernel size. - anchor
- Type: SystemNullablePoint
Anchor point. The default value Point(-1, -1) means that the anchor is at the kernel center. - stream (Optional)
- Type: OpenCvSharp.CPlusPlus.GpuStream
Stream for the asynchronous version.
See Also