Skip to content
aditiiyer edited this page Mar 21, 2018 · 3 revisions

Sobel filters are used to compute the magnitude and direction of the local gradient in 2-D.

Kernels

The horizontal gradient (Gx) is approximated by the convolution of image 'I' with kernel Fx:

The vertical gradient (Gy is approximated by the convolution of image 'I' with kernel Fy:

The magnitude of the local gradient is computed as:

And its direction is given by:

References

  1. Sobel, I. (1990). An isotropic 3× 3 image gradient operator, Machine vision for three-dimensional scenes, 376-379.
Clone this wiki locally