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.