The SciPy signal module's convolve2d() function can be used for correlation. We are going to apply convolution on an image with a kernel using this function.
Convolution with SciPy signal's convolve2d
Get Hands-On Image Processing with Python now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.