Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 1.76 KB

README.md

File metadata and controls

36 lines (23 loc) · 1.76 KB

HDR Imaging

This library performs High Dynamic Range post-processing for a given set of images. The technique implemented is discussed in [1]. Broadly the steps involved in the process are:

  1. Estimation of the Camera Response Function (CRF)
  2. Computation of the irradiance map
  3. Tone Mapping

Tone mapping is implemented in two ways - local and global. Global tone mapping has been implemented as discussed in [2].

Parameters

ROOT_DIR (String) = root folder which contains the folders for the source images.
IMAGE_DIR (String) = name of the directory containing images.
IMAGE_EXT (String) = image extension (eg. .jpg)
COMPUTE_CRF (bool) = flag to compute CRF using supplied image.

Usage

python run_hdr_image.py ROOT_DIR IMAGE_DIR IMAGE_EXT COMPUTE_CRF

Results

Original Image (Low Exposure) Original Image (Low Exposure)

                  Fig.1 - Original Images (Left - Low Exposure Image, Right - High Exposure Image) 

Global Tonemapped HDR Image Local Tonemapped HDR Image

                  Fig.2 - HDR Images (Left - Global Tonemapping, Right - Local Tonemapping) 

References

[1] Paul E. Debevec Jitendra Malik - Recovering High Dynamic Range Radiance Maps from Photographs

[2] Reinhard, Erik and Stark, Michael and Shirley, Peter and Ferwerda, James - Photographic Tone Reproduction for Digital Images