Ask Your Question

Revision history [back]

more advanced median filter?

I would like to use a median filter in a more sophisticated way, but am limited in 2 ways by OpenCV's medianBlur() function.

  1. I would like it to work on 16-bit unsigned int images instead of 8-bit unsigned int.
  2. I would like to use a non-square kernel (arbitrary shape / vertical line / ...)

Currently I am using OpenCV from Python. Are there any pointers on how to do this?