pub fn sobel<T>(
input: &Array<T>,
ker_size: u32
) -> (Array<T::SobelOutType>, Array<T::SobelOutType>) where
T: HasAfEnum + ImageFilterType,
T::SobelOutType: HasAfEnum,
Sobel Operator
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.
input
is the input imageker_size
is the kernel size of sobel operatorA tuple of Arrays.
The first Array has derivatives along horizontal direction
The second Array has derivatives along vertical direction
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4