Applies a separable 2D linear filter to an image.
Namespace: OpenCvSharp.CPlusPlus.Gpu
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static void SepFilter2D( GpuMat src, GpuMat dst, int ddepth, Mat kernelX, Mat kernelY, GpuMat buf, Nullable<Point> anchor = null, BorderType rowBorderType = BorderType.Reflect101, BorderType columnBorderType = BorderType.Auto, Stream stream = null )
Parameters
- src
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Source image. CV_8UC1, CV_8UC4, CV_16SC1, CV_16SC2, CV_32SC1, CV_32FC1 source types are supported. - dst
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Destination image with the same size and number of channels as src. - ddepth
- Type: SystemInt32
Destination image depth. CV_8U, CV_16S, CV_32S, and CV_32F are supported. - kernelX
- Type: OpenCvSharp.CPlusPlusMat
Horizontal filter coefficients. - kernelY
- Type: OpenCvSharp.CPlusPlusMat
Vertical filter coefficients. - buf
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
[Missing <param name="buf"/> documentation for "M:OpenCvSharp.CPlusPlus.Gpu.Cv2Gpu.SepFilter2D(OpenCvSharp.CPlusPlus.Gpu.GpuMat,OpenCvSharp.CPlusPlus.Gpu.GpuMat,System.Int32,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Mat,OpenCvSharp.CPlusPlus.Gpu.GpuMat,System.Nullable{OpenCvSharp.CPlusPlus.Point},OpenCvSharp.BorderType,OpenCvSharp.BorderType,OpenCvSharp.CPlusPlus.Gpu.Stream)"]
- anchor (Optional)
- Type: SystemNullablePoint
Anchor position within the kernel. The default value (-1, 1) means that the anchor is at the kernel center. - rowBorderType (Optional)
- Type: OpenCvSharpBorderType
Pixel extrapolation method in the vertical direction. - columnBorderType (Optional)
- Type: OpenCvSharpBorderType
Pixel extrapolation method in the horizontal direction. - stream (Optional)
- Type: OpenCvSharp.CPlusPlus.GpuStream
Stream for the asynchronous version.
See Also