MATLAB File Help: cv.Scharr | Index |
Calculates the first x- or y- image derivative using Scharr operator
dst = cv.Scharr(src)
dst = cv.Scharr(src, 'OptionName',optionValue, ...)
src
.dst
. default 0DDepth=-1
, the output
image will have the same depth as the source. The following
combinations are supported: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)