摘要 |
A method of modifying image data in which image colors are to be modified, including a first step of initializing a color vector function, in which color vector is a function of luminance, and then the following repeated steps. A user defines a luminance range ( 616, 617 ) and a color vector ( 620 ) for that range. The color vector function is updated ( 601 ) and a look-up table ( 407 ) is generated ( 602 ) that is addressable by luminance. Image data ( 405 ) is processed by calculating each pixel's luminance and using this to address the red, green and blue values in the look-up table ( 407 ). The red, green and blue values so obtained are then added to each pixel's original red, green and blue values, resulting in output image pixels.
|