Patent ID: 8212843

Claim:
A system, comprising one or more integrated circuits, wherein the one or more integrated circuits are configured to: receive a video image; calculate a brightness metric associated with the video image; determine an intensity setting of a light source, which illuminates a display that is configured to display the video image, and scale brightness values of the video image based on the brightness metric; calculate an error metric for the video image, wherein the error metric comprises a contribution from one or more pixels in the video image, and wherein a portion of the error metric contributed by a given pixel in the video image is computed using a ratio of a brightness value of the given pixel after the scaling to a brightness value of the given pixel before the scaling; and reduce the scaling of a brightness value in a region in the video image in which contributions from each of a plurality of pixels to the error metric exceeds a first predetermined value when a size of the region exceeds a second predetermined value.