Cv2GpuScharr Method (GpuMat, GpuMat, Int32, Int32, Int32, Double, BorderType, BorderType) OpenCvSharp Class Library
Calculates the first x- or y- image derivative using the Scharr operator.

Namespace:  OpenCvSharp.CPlusPlus.Gpu
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static void Scharr(
	GpuMat src,
	GpuMat dst,
	int ddepth,
	int dx,
	int dy,
	double scale = 1,
	BorderType rowBorderType = BorderType.Reflect101,
	BorderType columnBorderType = BorderType.Auto
)

Parameters

src
Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Source image. CV_8UC1, CV_8UC4, CV_16SC1, CV_16SC2, CV_16SC3, CV_32SC1, CV_32FC1 source types are supported.
dst
Type: OpenCvSharp.CPlusPlus.GpuGpuMat
Destination image with the same size and number of channels as source image.
ddepth
Type: SystemInt32
Destination image depth. CV_8U, CV_16S, CV_32S, and CV_32F are supported.
dx
Type: SystemInt32
Derivative order in respect of x.
dy
Type: SystemInt32
Derivative order in respect of y.
scale (Optional)
Type: SystemDouble
Optional scale factor for the computed derivative values. By default, no scaling is applied.
rowBorderType (Optional)
Type: OpenCvSharpBorderType
Pixel extrapolation method in the vertical direction.
columnBorderType (Optional)
Type: OpenCvSharpBorderType
Pixel extrapolation method in the horizontal direction.
See Also

Reference