I've used many builtin methods in python opencv.But I wanted to implement that without those builtin functions.So for that I need to add zeros around the image.So I can iterate the Kernel Matrix to find edge values too..
I wanna implement the same like the image that I've attached. I wanted to do that in Python.Please do Help me. Thanks