1. A method for enhancing an image represented by a plurality of pixels, the method comprising: obtaining color code values for each of a plurality of pixels; determining whether a pixel has a color code value within a predetermined range, wherein the predetermined range has been identified as being adversely affected by a first processing transformation; and applying the first processing transformation to the pixel only if it does not have a color code value which falls within the range.