The OpenCV medianBlur function takes a ksize parameter, which lets you specify the size of the kernel — but as far as I can tell, this is limited t
medianBlur
ksize