Patent attributes
A method for tone mapping includes applying, by at least one processor, at least two tone mapping functions to video data. The at least two tone mapping functions include a first tone mapping function and a second tone mapping function, such as a high tone mapping function and a low tone mapping function that provides an output having more illumination range to low luminance values of the video data than an output that the high tone mapping function provides. The method includes determining a mixing ratio based on an amount of the video data that has luminance values within a predetermined range. The mixing ratio represents a proportion of each of output of the at least two tone mapping functions. The method includes mixing the outputs of the at least two tone mapping functions according to the mixing ratio to generate the tone mapped video.