Patent ID: 8416179

Claim:
A tangible, non-transitory, computer-readable medium comprising computer-readable instructions for instructing a processor to implement a method for adjusting image code values for backlight variations, said method comprising: a) determining a first backlight intensity value for a first color channel of a backlight element corresponding to a pixel; b) determining a first ideal gain value to compensate for said first backlight intensity value in said first color channel; c) determining a first gain equivalent value to compensate for said first backlight intensity value in said first color channel; d) calculating a first gain reduction factor based on said first ideal gain value and said first gain equivalent value for said first color channel; e) determining a second backlight intensity value for a second color channel of said pixel; f) determining a second ideal gain value to compensate for said second backlight intensity value in said second color channel; g) determining a second gain equivalent value to compensate for said second backlight intensity value in said second color channel; h) calculating a second gain reduction factor based on said second ideal gain value and said second gain equivalent value for said second color channel; i) selecting one of said first gain reduction factor related to said first color channel and said second gain reduction factor related to said second color channel as a selected gain reduction factor to be applied to both said first color channel and said second color channel, said selecting being based on color preservation; and j) determining an adjusted image color channel code value using an original image code value for a color channel of said pixel, said ideal gain and said selected gain reduction factor.