1. A method comprising: obtaining a residual image by dividing an image by a backlight image determined from a luminance component of the image; and obtaining a tone-mapped image by tone-mapping the residual image and by modulating the backlight image with a mean luminance value, L mean , of the image according to L mean =E(L β ) 1/β , with β being a coefficient less than 1 and E( ) the mathematical expectation value of the luminance component L.