Click or drag to resize

MatLaplacian Method

Calculates the Laplacian of an image

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public Mat Laplacian(
	MatType ddepth,
	int ksize = 1,
	double scale = 1,
	double delta = 0,
	BorderTypes borderType = BorderTypes.Reflect101
)

Parameters

ddepth
Type: OpenCvSharpMatType
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: OpenCvSharpBorderTypes
The pixel extrapolation method

Return Value

Type: Mat
Destination image; will have the same size and the same number of channels as src
See Also