### Interactive Tone Mapping

To start tonemapping an HDR file click the "Tonemap" button in the tonemappimg panel or use Ctrl+T shortcut.

The tone mapping step first applies to the HDR the gamma value specified by the pregamma value, then the tone mapping operator is applied.

Adjusting pregamma is an optional step, so you can safely start with picking an operator. The available operators are listed in a combobox on top of Tone Mapping Panel. Most useful operators are listed first. The last two operators, Ashikhmin and Pattanaik, have less practical use for photography, but can be of interest for robotic vision specialists.

Having chosen the operator, tweak its settings, choose resulting size and click Tonemap button in the bottom to tonemap an HDR image to an LDR image. Please see the "Tonemapping operators reference" chapter for details on using a particular operator.

To tonemap only a part of the HDR for a quick preview you can select a rectangle of the image using the mouse and click the Tonemap button. Alternatively you can click on the small preview images on the right panel.
Because three of nine available operators (both Mantiuks and Fattal) are gradient domain operators that cannot provide consistent results on all result sizes by design, the preview function is not very accurtate for those operators, so the selection method is preferred.

If you wish to compare several results with different settings, click the Lock Images button in the toolbar and use navigation widget in the lower right corner of an image to pan around. Select another image with the Previous and Next buttons and note that contents of every image window will be synced.

Sometimes the tonemapped LDR image is either too bright or too dark. You can adjust brightness using Levels dialog (Adjust Levels button in the toolbar) that works just like in GIMP, Krita, Photoshop or any similar raster graphics editor with the only exception that it works on luminance channel only.

If you have a lot of pictures shot in same lighting conditions or just wish to save current tonemapping settings for future use, you can save them to a text file or in a centralized database. Use "Save..." button in the Tone Mapping Panel under Tonemapping Settings for save to a file or the small "save" button above to save in the database. You then can add a comment that describe your settings. Use the "Load" buttons to reload the previously saved settings.
The text file contains:

- the currently selected tone mapping operator and its related settings.
- the values of the pregamma settings.

Please note that since version 1.8.4 the application (at the time named Qtpfsgui) uses a new file format which doesn't contain the postgamma setting.