A method for processing a digital input image data indexed to represent
positions on a display such that the digital data is indicative of an
intensity value for each position. The intensity value for each position
is transformed to generate an enhanced value, using a mapping function
which transforms the same intensity value of input data to essentially
the same intensity value of output data in the luminance channel.