Calculate partial derivatives of an slice.
Partial derivatives are calculated by convolving an slice with [-1, 1] kernel, horizontally and vertically.
See Implementation
Calculate partial derivatives of an slice.
Partial derivatives are calculated by convolving an slice with [-1, 1] kernel, horizontally and vertically.