Global Tonemapping Operators v1.5


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Thomas Mansencal
Implementation of various Global Tonemapping Operators
Requirements:
9.0, 8.0, 7.1, 7.0, 6.3 or later
Linux, Mac, Windows
09 Jul 2016
927

GLOBAL TONEMAPPING OPERATORS 1.5

 

colour-science.org - July 10, 2016

 

The attached file is a playground for implementation of various Global Tonemapping Operators. They are available as groups and can be copy / pasted quickly from the file to another.

 

The following operators are currently implemented:

  • Simple
  • Normalise
  • Gamma
  • Logarithmic
  • Exponential
  • Schlick (1994)
  • Reinhard (2004)
  • Filmic

Examples with the following source image: http://rit-mcsl.org/fairchild/HDRPS/Scenes/HDRMark.html

 

Because Nuke is unable to perform realtime computation of image average, min and max values, some operators need a domain precomputation.

 

More informations are available in the following IPython Notebook: https://github.com/colour-science/colour-hdri/blob/master/colour_hdri/examples/example_global_tonemapping_operators.ipynb

 

Latest version of the file will always be available at this url: https://github.com/colour-science/colour-nuke/blob/master/colour_nuke/scripts/global_tonemapping_operators.nk

Copyright (c) - 2015, Colour Developers All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the Colour Developers nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Please login in order to download these files.

Comments   

 
# Mads Hagbarth Lund 2015-06-08 14:04
Really really cool!
There is a bug in the Reinhard implamentation.
I guess it is some left over code.

In the I_a_tonemapping _operator_Expre ssion there is a unused expression variable that throws a error. It should be removed.
 
 
# Thomas Mansencal 2015-11-15 07:35
Thanks for reporting! This should have been fixed in the latest version.
 
 
# Kamil Grzelak 2016-07-19 14:22
Hi Thomas,

I'm having problems with displaying properly image after conversions. Can we contact somehow ex. e-mail?
 
 
# Ali Ismail 2017-06-20 09:39
Exactly what I was looking for. Thank you so much!
 

You have no rights to post comments

We have 1878 guests and 37 members online