Question: In python write function filter(img, kernel) which takes any image, and a kernel expressed as a numpy array, and applies the kernel to every picture
In python write function filter(img, kernel) which takes any image, and a kernel expressed as a numpy array, and applies the kernel to every picture of the image. Clamp the output to [0,255] Use numpy and opencv
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
