.\" Man page for exrpptm .\" Copyright (c) 2003 Billy Biggs .\" .\" Permission is hereby granted, free of charge, to any person obtaining .\" a copy of this software and associated documentation files (the .\" "Software"), to deal in the Software without restriction, including .\" without limitation the rights to use, copy, modify, merge, publish, .\" distribute, sublicense, and/or sell copies of the Software, and to .\" permit persons to whom the Software is furnished to do so, subject to .\" the following conditions: .\" .\" The above copyright notice and this permission notice shall be .\" included in all copies or substantial portions of the Software. .\" .\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, .\" EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF .\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND .\" NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS .\" BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN .\" ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN .\" CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE .\" SOFTWARE. .\" .TH exrpptm 1 "December 2003" "exrtools 0.4" .SH NAME exrpptm \- performs tone mapping on an OpenEXR image (photoreceptor) .SH SYNOPSIS .B exrpptm .RI [ options ] input.exr output.exr .SH DESCRIPTION Performs the tone mapping function described in this paper: Erik Reinhard and Kate Devlin. .I 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. .SH OPTIONS .B .IP -f Controls the intensity of the resulting image. Valid range is from -8 to 8, defaulting to 0. .br .B .IP -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. .br .B .IP -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. .br .B .IP -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. .SH AUTHORS Billy Biggs . .SH "SEE ALSO" .BR exrtools (1).