Method Scharr
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Scharr(InputArray, OutputArray, MatType, int, int, double, double, BorderTypes)
Calculates the first x- or y- image derivative using Scharr operator
public static void Scharr(InputArray src, OutputArray dst, MatType ddepth, int xorder, int yorder, double scale = 1, double delta = 0, BorderTypes borderType = BorderTypes.Default)
Parameters
srcInputArrayThe source image
dstOutputArrayThe destination image; will have the same size and the same number of channels as src
ddepthMatTypeThe destination image depth
xorderintOrder of the derivative x
yorderintOrder of the derivative y
scaledoubleThe optional scale factor for the computed derivative values (by default, no scaling is applie
deltadoubleThe optional delta value, added to the results prior to storing them in dst
borderTypeBorderTypesThe pixel extrapolation method