Click or drag to resize

CvInvokeLaplacian Method

http://www.emgu.com
Calculates Laplacian of the source image by summing second x- and y- derivatives calculated using Sobel operator: dst(x,y) = d2src/dx2 + d2src/dy2 Specifying aperture_size=1 gives the fastest variant that is equal to convolving the image with the following kernel: |0 1 0| |1 -4 1| |0 1 0| Similar to cvSobel function, no scaling is done and the same combinations of input and output formats are supported.

Namespace:  Emgu.CV
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntax
public static void Laplacian(
	IInputArray src,
	IOutputArray dst,
	DepthType ddepth,
	int ksize = 1,
	double scale = 1,
	double delta = 0,
	BorderType borderType = BorderType.Reflect101
)

Parameters

src
Type: Emgu.CVIInputArray
Source image.
dst
Type: Emgu.CVIOutputArray
Destination image. Should have type of float
ddepth
Type: Emgu.CV.CvEnumDepthType
Desired depth of the destination image.
ksize (Optional)
Type: SystemInt32
Aperture size used to compute the second-derivative filters.
scale (Optional)
Type: SystemDouble
Optional scale factor for the computed Laplacian values. By default, no scaling is applied.
delta (Optional)
Type: SystemDouble
Optional delta value that is added to the results prior to storing them in dst.
borderType (Optional)
Type: Emgu.CV.CvEnumBorderType
Pixel extrapolation method.
See Also