performs a simple, quick to compute, 2-D spatial gradient measurement on an image.
Pixel values at each point in the output represent the estimated absolute magnitude of the spatial gradient of the input image at that point.
The operator consists of a pair of 2×2 convolution kernels as shown in Figure 3. One kernel is simply the other rotated by 90°. This is very similar to the Sobel operator.