Improper display of the output image

while executing the command to form the blurred image and the image formed due the edge filter the image is completely black and grey respectively.
here is my code: https://ide.codingblocks.com/s/175501

Indentation of return statement in function convolution(img,img_filter) is wrong, bring it with same indentation as that in for “for loop”. Than your code will run fine.

Happy Learning :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.