pub fn sobel<T>(
) -> (Array<T::SobelOutType>, Array<T::SobelOutType>) where
T: HasAfEnum + ImageFilterType,
Sobel operators perform a 2-D spatial gradient measurement on an image to emphasize the regions of high spatial frequency, namely edges. A more in depth discussion on it can be found here.
inputis the input image
ker_sizeis the kernel size of sobel operator
A tuple of Arrays.
The first Array has derivatives along horizontal direction
The second Array has derivatives along vertical direction