1. An automated, computerized method for processing an image, comprising the steps of: providing an image file depicting an image in an array of pixels, in a computer memory; performing a tone mapping method on the image; performing a log chromaticity method on the image; and calculating a color value for each pixel as a function of information relevant to the tone mapping method and the log chromaticity method, such that the function constrains the color value for each pixel to the requirements of each of the tone mapping method and the log chromaticity method.