Coder Social home page Coder Social logo

hdr-imaging's Introduction

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

hdr-imaging's People

Contributors

deepankarc avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.