cv.Scharr - MATLAB File Help
cv.Scharr

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

dst = cv.Scharr(src)
dst = cv.Scharr(src, 'OptionName',optionValue, ...)

Input

Output

Options

The function computes the first x- or y- spatial image derivative using the Scharr operator.

The call:

dst = cv.Scharr(src, 'DDepth',ddepth, 'XOrder',dx, 'YOrder',dy, ...
    'Scale',scale, 'Delta',delta, 'BorderType',borderType)

is equivalent to:

dst = cv.Sobel(src, 'DDepth',ddepth, 'XOrder',dx, 'YOrder',dy, ...
    'KSize','Scharr', ...
    'Scale',scale, 'Delta',delta, 'BorderType',borderType)
See also