Implement basic sobel filter