Please wait...
Please let us know your thoughts on PATENTSCOPE or tell us what you feel is missing or how we could improve it.
One embodiment provides a method comprising determining multi-dimensional metadata corresponding to an input image, and determining ambient light information indicative of a level of ambient light in an ambient environment of a display device. The multi-dimensional metadata comprises a cumulative distribution function (CDF) of pixels in the input image. The method further comprises determining, based on the multi-dimensional metadata and the ambient light information, one or more gains that adaptively compensate for the level of ambient light in the ambient environment. The method further comprises generating a tone mapping function based on the one or more gains, and applying the tone mapping function to the input image to generate a tone-mapped image that adaptively compensates for the level of ambient light in the ambient environment. The tone-mapped image is provided to the display device for presentation.