MedianFiltering Median Filtering in Constant Time http://vision.gel.ulaval.ca/~perreaul/publications/Id699_2007.pdf