Calculate the gradient of an image using the Sobel operator.
image – Input image (single channel).
Gradient magnitude of the image.