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 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.