/Median-Filter

Median Filter algoritm implementation for colored images using OpenCV

Primary LanguageC++MIT LicenseMIT

Median-Filter

Median Filter algorithm implementation for colored images using OpenCV

Algorithm

For each pixel, we traverse his neighbours in radius, passed as a parameter to MedianFilter class. And for each colour channel we accumulate the median value, which will be assigned to current pixel.

  • The increasing of the frame size is reducing the noise, but also the quality becomes worse, and "oil paints" effect appears.

Examples of the result: