Table of Contents

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

src InputArray

The source image

dst OutputArray

The destination image; will have the same size and the same number of channels as src

ddepth MatType

The destination image depth

xorder int

Order of the derivative x

yorder int

Order of the derivative y

scale double

The optional scale factor for the computed derivative values (by default, no scaling is applie

delta double

The optional delta value, added to the results prior to storing them in dst

borderType BorderTypes

The pixel extrapolation method