mrcaramori
mrcaramori

Reputation: 2503

How is the pattern used in medianBlur in Opencv?

I was reading about median filters in John C. Russ - The Image Processing Handbook, Sixth Edition, and in his book he describes the possible shape in the neighbouring pixels, which could be, for example a cross or square.

So I came across OpenCV medianBlur and was unsure about the pattern used. I would assume it is squared, but not sure. So what is the pattern implemented in OpenCV?

Upvotes: 0

Views: 710

Answers (1)

Andrey Kamaev
Andrey Kamaev

Reputation: 30132

You are correct. It is squared.

Upvotes: 1

Related Questions