1. An imaging system configured to display a captured image on a display having a lower dynamic range than the imaging system, the imaging system comprising: a high dynamic range imager configured to capture at least one high dynamic range image; and a processing device communicatively connected to said high dynamic range imager, wherein said processing device is configured to: reduce color speckles caused by errant interpolated pixel values using a median filter, reduce occurrence of errant values of alternate color while maintaining at least one of sharpness detail and edge detail, smooth color rendering in a displayed image, rank each element of an array with respect to an ordering criterion and select a median element, where the median element is a function of a ratio of a non-reference color component of a pixel to a reference color component of the pixel, wherein said ordering criterion comprises a discrete ranking value assigned to every element, and sort elements with equal values in a prescribed sequence so each element has a rank that is unique within a set, wherein a middle element is always specified.