Install Guide

 

Download the source code: 

LOWLIGHT_LINUX.zip

LOWLIGHT_MAC.zip

  1. 1.Download the code and unzip it.

  2. 2.Add path to “FredoToneMap” directory in “~/.bashrc” (linux) or “~/.bash_profile” (mac). For example: “export PATH=/Users/yeonjinlee/Desktop/LOWLIGHT_MAC/FredoToneMap:$PATH”

  3. 3.In the terminal, type “./configure” and “make

  4. 4.If make failed, you need to edit paths in configure.in (check that paths in “CPPFLAGS” are correct). Also check

    src/Makefile.am (make sure library names are correct in “lowlight_tonemap_LDFLAGS”). Then retry ./configure and    

    make.

  1. 4.Compile Fredo Durand’s Tone Mapping code by running “make clean” and “make” in FredoToneMap directory. You    

    may need to edit the makefile in the FredoToneMap folder)

  1. 5.Move the binary called “lowlight_tonemap” in your src folder to $home$/.gimp-2.x/plug-ins/.

  2. 6.Open Gimp, select and open the image you wish to edit, and look for the plug-in under Filters>Misc>Low Light Tone Mapper.

INSTALLATION GUIDE

REQUIRED LIBRARIES

Our plug-in requires various libraries. Please download these libraries before you install the plug-in (I strongly suggest you download them through Macports if you are on a Mac).


  1. -Gimp (type “port install gimp”; my code is based on version 2.6.12)

  2. -OpenCV (type “port install opencv”; my code is based on version 2.3.1a, Revision 3)

  3. -libPNG (“port install libpng”)

  4. -OpenEXR (“port install openexr”; my code is based on version 1.7.0)

  5. -fftw (“port install fftw”)

  6. -CImg (“port install cimg”)

  7. -intltool (“port install intltool”)