As in sobel operator there are two directions x and y and by taking derivative of it we can find its magnitude and by square root of it to find the gradient value.

Similar questions and discussions