The Sobel filter is a set of two convolution filters used to detect horizontal and vertical edges in images.
The horizontal filter is
and the vertical filter is
The Sobel filter is a set of two convolution filters used to detect horizontal and vertical edges in images.
The horizontal filter is
and the vertical filter is