A computer-implemented method for applying an adjustment to an original luminance mapping curve ( 302, 402, 602) derived from a set of input image data, comprising: receiving a set of input image data to be adjusted; calculating an original luminance mapping curve ( 302, 402, 602) from the set of input image data; receiving an adjustment curve 304, 404, 702), the adjustment curve ( 304, 404, 702) being based upon a scaling factor, the scaling factor representing an ambient illumination of a viewing environment and/or representing user preferences, wherein the user preferences comprise user preferences regarding the of the final image; and applying the adjustment curve ( 304, 404, 702) to the original mapping curve ( 302, 402, 602) to produce a resulting mapping curve ( 306, 406, 902) used for rendering a final image based on the resulting curve ( 306, 406, 902), wherein the adjustment curve ( 304, 404, 702) is calculated as one of the following: (i) C = SB 100 max B wherein S is the scaling factor representing the ambient illumination and B is a function dependent on input pixel values, assumed original adapting luminance and a function based on an Electro-Optical Transfer Function, EOTF; (ii) f x = ae − x − b 2 2 c 2 wherein x comprises an input pixel value, a comprises a change in brightness requested based on user preferences, b comprises the mean and c comprises the min ( max-mean, mean-min) luminance values in an image, a frame of video data or a scene in a video, wherein the scene in the video comprises multiple consecutive frames of video data; or (iii) the negative of the derivative of f x = ae − x − b 2 2 c 2, wherein x comprises an input pixel value, a comprises a change in brightness requested based on user preferences, b comprises the mean and c comprises the min(max-mean, mean-min) luminance values in an image, a frame of video data or a scene in a video, wherein the scene in the video comprises multiple consecutive frames of video data. receiving a set of input image data to be adjusted; calculating an original luminance mapping curve ( 302, 402, 602) from the set of input image data; receiving an adjustment curve 304, 404, 702), the adjustment curve ( 304, 404, 702) being based upon a scaling factor, the scaling factor representing an ambient illumination of a viewing environment and/or representing user preferences, wherein the user preferences comprise user preferences regarding the of the final image; and applying the adjustment curve ( 304, 404, 702) to the original mapping curve ( 302, 402, 602) to produce a resulting mapping curve ( 306, 406, 902) used for rendering a final image based on the resulting curve ( 306, 406, 902), wherein the adjustment curve ( 304, 404, 702) is calculated as one of the following: (i) C = SB 100 max B wherein S is the scaling factor representing the ambient illumination and B is a function dependent on input pixel values, assumed original adapting luminance and a function based on an Electro-Optical Transfer Function, EOTF; (ii) f x = ae − x − b 2 2 c 2 wherein x comprises an input pixel value, a comprises a change in brightness requested based on user preferences, b comprises the mean and c comprises the min ( max-mean, mean-min) luminance values in an image, a frame of video data or a scene in a video, wherein the scene in the video comprises multiple consecutive frames of video data; or (iii) the negative of the derivative of f x = ae − x − b 2 2 c 2, wherein x comprises an input pixel value, a comprises a change in brightness requested based on user preferences, b comprises the mean and c comprises the min(max-mean, mean-min) luminance values in an image, a frame of video data or a scene in a video, wherein the scene in the video comprises multiple consecutive frames of video data. (i) C = SB 100 max B wherein S is the scaling factor representing the ambient illumination and B is a function dependent on input pixel values, assumed original adapting luminance and a function based on an Electro-Optical Transfer Function, EOTF; (ii) f x = ae − x − b 2 2 c 2 wherein x comprises an input pixel value, a comprises a change in brightness requested based on user preferences, b comprises the mean and c comprises the min ( max-mean, mean-min) luminance values in an image, a frame of video data or a scene in a video, wherein the scene in the video comprises multiple consecutive frames of video data; or (iii) the negative of the derivative of f x = ae − x − b 2 2 c 2, wherein x comprises an input pixel value, a comprises a change in brightness requested based on user preferences, b comprises the mean and c comprises the min(max-mean, mean-min) luminance values in an image, a frame of video data or a scene in a video, wherein the scene in the video comprises multiple consecutive frames of video data.