I have an imaging application written in Matlab and need to convert it into C++ app with OpenCV. But I can't seem to find an easy way to imitate medfilt2 with OpenCV.
I tried MedianBlur but it didn't produce the same result. Could anybody give me any clue for this task?
It would appear to me that this link should have what you need. However, looks like you'll have to make a minor modification if you want to specify the
n
bym
window.