write code for applying the Sobel-x filter to the input image.
write code for applying the Sobel-x filter to the input image.