Click or drag to resize

Cv2Scharr Method

Calculates the first x- or y- image derivative using Scharr operator

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static void Scharr(
	InputArray src,
	OutputArray dst,
	MatType ddepth,
	int xorder,
	int yorder,
	double scale = 1,
	double delta = 0,
	BorderTypes borderType = BorderTypes.Reflect101
)

Parameters

src
Type: OpenCvSharpInputArray
The source image
dst
Type: OpenCvSharpOutputArray
The destination image; will have the same size and the same number of channels as src
ddepth
Type: OpenCvSharpMatType
The destination image depth
xorder
Type: SystemInt32
Order of the derivative x
yorder
Type: SystemInt32
Order of the derivative y
scale (Optional)
Type: SystemDouble
The optional scale factor for the computed derivative values (by default, no scaling is applie
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
See Also