High-dynamic-range imaging
High-dynamic-range imaging
The following compilers are tested:
mkdir build && cd build
conan install .. -s compiler.cppstd=17 --build missing
. The dependencies should be resolved by conancmake ..
for development or cmake -DCMAKE_BUILD_TYPE=Release
for a release buildmake
make test
Note that for Windows platform you may need to copy necessary files such as dlls to the working directory in order to execute the binary properly.
./hdri [BaseDirPath] [FileListName]
For example:
./hdri ../InputImage/ list.txt
Note: The default base path is “../InputImage/“ and the default name of the file list is “list.txt”. You do not have to type it explicitly.
The program will first generate the radiance map. After that, it will generate the output image using tone mapping.
Moreover, the reconstructed G curve (and ln E) will be written to a file.
Inputs:
The inputs are all stored in the folder named “\InputImage” with subfolders indexed by numbers.
Outputs:
They are in the “\Result” folder with corresponding indice. Each subfolder contains the output image and the radiance map.