Implement 3-by-3 kernel laplacian operator on image with python


#1

I know that python have library to do so,like

laplacian_kernel = ndimage.filters.convolve(gaussian,kernel),

what i wanna do is to code the convolve just with the python itself,
like a for loop, can anyone give me the answer, cuz im new to python!!!