Sobel Edge Detection


Source code: sobel.py1

This small project used 2d convolution to implement a sobel filter, which was also implemented as a separable filter. The algorithm requires two 3x3 kernels that are convolved and then combined using the gradient magnitude. Below shows both derivative approximations for Gx, Gy, and the final output.