MATLAB File Help: cv.getDerivKernels Index
cv.getDerivKernels

Returns filter coefficients for computing spatial image derivatives

[kx, ky] = cv.getDerivKernels('OptionName', optionValue, ...)

Output

Options

The function computes and returns the filter coefficients for spatial image derivatives. When KSize='Scharr', the Scharr 3x3 kernels are generated (see cv.Scharr). Otherwise, Sobel kernels are generated (see cv.Sobel). The filters are normally passed to cv.sepFilter2D.

See also