Calculates the Laplacian of an image
Namespace: OpenCvSharp.CPlusPlus
Assembly: OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public Mat Laplacian( MatType ddepth, int ksize = 1, double scale = 1, double delta = 0, BorderType borderType = BorderType.Reflect101 )
Parameters
- ddepth
- Type: OpenCvSharp.CPlusPlusMatType
The desired depth of the destination image - ksize (Optional)
- Type: SystemInt32
The aperture size used to compute the second-derivative filters - scale (Optional)
- Type: SystemDouble
The optional scale factor for the computed Laplacian values (by default, no scaling is applied - delta (Optional)
- Type: SystemDouble
The optional delta value, added to the results prior to storing them in dst - borderType (Optional)
- Type: OpenCvSharpBorderType
The pixel extrapolation method
Return Value
Type: MatDestination image; will have the same size and the same number of channels as src
See Also