Applies the Laplacian operator 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 Laplacian( GpuMat src, GpuMat dst, int ddepth, int ksize = 1, double scale = 1, BorderType borderType = BorderType.Reflect101, Stream stream = null )
Parameters
- src
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Source image. CV_8UC1 and CV_8UC4 source types are supported. - dst
- Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Destination image. The size and number of channels is the same as src. - ddepth
- Type: SystemInt32
Desired depth of the destination image. It supports only the same depth as the source image depth. - ksize (Optional)
- Type: SystemInt32
Aperture size used to compute the second-derivative filters. It must be positive and odd. Only ksize = 1 and ksize = 3 are supported. - scale (Optional)
- Type: SystemDouble
Optional scale factor for the computed Laplacian values. - borderType (Optional)
- Type: OpenCvSharpBorderType
Pixel extrapolation method. - stream (Optional)
- Type: OpenCvSharp.CPlusPlus.GpuStream
Stream for the asynchronous version.
See Also