|
|
7 years ago | |
|---|---|---|
| cli | 7 years ago | |
| gui_gtk | 7 years ago | |
| include | 7 years ago | |
| src | 7 years ago | |
| .gitignore | 7 years ago | |
| README.md | 7 years ago |
A tool to construct HDR-images from a series of photographs of the same scene with different exposures. It reads JPEG-files and parses the EXIF data to retrieve their exposure times. The sensor response function is estimated using a method which is similar to the one described by Debevec and Malik in 1997.
There are two interfaces available.
To build the CLI, you will just need a C++ compiler as all dependencies are included:
# apt-get install build-essential
Build:
$ cd cli
$ make
Run:
$ cd cli
$ ./haader <image1.jpg> <image2.jpg> <image3.jpg> ...
This will output several files if the reconstruction of the sensor response function was successful:
expose_*.ppm: Simulated exposures of the scene with different exposure
timeslog_image.ppm: A logarithmic mapping of the HDR-imagerf.csv: The sensor response function as a simple table with two columns. The
first column contains the logarithmic luminance relative to the central
response (128). The second row contains the response value (0-255).irf.csv: The inverse sensor response function as a simple table with two
columns.Needs GTK+3.0 and the corresponding development packages:
# apt-get install build-essential libgtk-3-0 libgtk-3-dev
Build and run:
$ cd gui_gtk
$ make run
Click Select files to open multiple images of the same scene and start the
reconstruction. Alternatively, it is possible to specify the images and exposure
times with a simple two-column CSV file:
</absolute/image/path1.png>,<exposure time in seconds>
</absolute/image/path2.png>,<exposure time in seconds>
...