Fig. 4

The sobel mask for four kinds of direction a is horizontal mask (mx); b is vertical mask (my); c is 45∘ mask (mxy); d is 135∘ mask (myx)
The sobel mask for four kinds of direction a is horizontal mask (mx); b is vertical mask (my); c is 45∘ mask (mxy); d is 135∘ mask (myx)