Median Filtering in Constant Time