Skip to content

A tool for exploring and applying various tonemapping operators.

License

Notifications You must be signed in to change notification settings

tizian/tonemapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tonemapper — A tool for exploring and applying various tonemapping operators.

CI badge

Description

Tonemapper is a an application to compare and apply various tone mapping operators...

... either via an interactive GUI:

./tonemapper

... or via the command line interface:

# Example: apply the "Reinhard" operator with gamma=2.2 to a list of input images
./tonemapper --no-gui --operator reinhard --gamma 2.2 <images>

Supported file formats:

  • Input: .exr & .hdr
  • Output: .jpg & .png

Available operators:

  • Gamma: Standard gamma correction only
  • sRGB: Conversion to sRGB color space

  • Clampling
  • Maximum division
  • Mean value
  • Exponential
  • Exponentiation
  • Logarithmic

  • Hill ACES: ACES curve fit by Stephen Hill
  • Narkowicz ACES: ACES curve fit by Krzysztof Narkowicz
  • Guy ACES: ACES curve fit by Romain Guy

Building

Clone the repository recursively all dependencies and use CMake to generate project files for your favourite IDE or build system.

# Unix example using make:
git clone https://github.com/tizian/tonemapper.git --recursive
cd tonemapper
mkdir build
cd build
cmake ..
make

Optionally, the compilation of the GUI can be disabled via a CMake option:

cmake .. -DTONEMAPPER_BUILD_GUI=OFF

Third party code

The following external libraries are used:

Older version

This project is based on an older, now outdated version that is archived under the version_1 branch.

License

Tonemapper is provided under the MIT License.

See the LICENSE.txt file for the conditions of the license.