1. A computer-implemented method, comprising: decomposing a luminance component of a high dynamic range (HDR) image into a base layer including larger-scale variations in contrast and a details layer including smaller-scale variations in contrast; remapping luminance values of the base layer to a lower portion of a lower dynamic range to generate a compressed base layer, said remapping leaving an upper portion of the lower dynamic range for the details layer of the luminance component; applying a remapping function to control one or more shadows in the compressed base layer; and responsive to the applying, combining the compressed base layer and the details layer to generate output luminance scaled according to the lower dynamic range, the luminance values of the compressed base layer being in the lower portion of the lower dynamic range and luminance values of the details layer are in the upper portion of the lower dynamic range.