I am trying to implement a sobel filter on an image but small error is appearing in the for loop, which says your matrix size are different. How to resolve this. I am a beg