Implement a Median Filter with OpenCV

Median filter is a low pass bandwidth filter which uses a kernel function over the image matrix to manipulate it. The kernel may be defined as 3×3, 5×5 or based on the user preference. Then it uses the discrete convolution to calculate the result matrix. What is discrete convolution? Discrete convolution is a method that […]