exrpptm - performs tone mapping on an OpenEXR image (photoreceptor)
] input.exr output.exr
Performs the tone mapping function described in this paper:
Erik Reinhard and Kate Devlin. Dynamic Range Reduction Inspired by
IEEE Transactions on Visualization and Computer
The input image should be normalized, and the output file returned by this
function should also be normalized before viewing.
- Controls the intensity of the resulting image. Valid range is from -8 to
8, defaulting to 0.
- Controls the contrast of the resulting image. Valid range is from 0.3 to
1.0. The default value of 0 uses an algorithm to calculate an appropriate
m factor for the image based on its luminance.
- Amount of chromatic adaptation to apply to the image. Valid range is from
0 meaning no chromatic adaptation to 1 meaning fully adapted. Defaults to
- Controls the light adaptation. Valid range is from 0 meaning that the
adaptation is global to 1 meaning that the adaptation is based on pixel
intensity. Defaults to 1, to trade detail visibility for contrast.
Billy Biggs <email@example.com>.