SYNOPSIS

exrpptm [options] input.exr output.exr

DESCRIPTION

Performs the tone mapping function described in this paper:

Erik Reinhard and Kate Devlin. Dynamic Range Reduction Inspired by Photoreceptor Physiology. IEEE Transactions on Visualization and Computer Graphics (2004).

The input image should be normalized, and the output file returned by this function should also be normalized before viewing.

OPTIONS

-f

Controls the intensity of the resulting image. Valid range is from -8 to 8, defaulting to 0.

-m

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.

-c

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 0.

-a

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.

AUTHORS

Billy Biggs <[email protected]>.

RELATED TO exrpptm…