GithubHelp home page GithubHelp logo

ntu-vfx2023-hw1's Introduction

NTU VFX2023 Homework 1: High Dynamic Range Imaging

Description:

website: https://www.csie.ntu.edu.tw/~cyy/courses/vfx/21spring/assignments/proj1/

TL;DR:

  1. Taking photographs.
    • Take a series of photographs for a scene under different exposures. (by changing shutter speed)
  2. Write a program to assemble an HDR image.
    • we implemented the Paul Debevec's method. (Recovering High Dynamic Range Radiance Maps from Photographs, SIGGRAPH 1997.)
  3. Develop your radiance map using tone mapping.
    • we implemented Reinhard's method. (Photographics Tone Reproduction for Digital Images, SIGGRAPH 2002.)
  4. Bonuses:
    • we implemented the MTB image alignment method for HDR imaging.

Member:

  • 電信所碩一 顏子鈞
  • 電信所碩一 陳詠源

Dependencies:

please install them using pip install -r requirements.txt. packages used in our code:

  • numpy, pillow, opencv-python, matplotlib

Execution:

Generate HDR Image and Tonemapped LDR Image:

$ cd code
$ python main.py --dataset <name_of_dataset> --dataset_info <path_to_textfile> --N <num_of_samplepoints_per_image> --tm_key <key_to_control_tonemapping>

Note:

  • to disable MTB image alignment, use --disable_mtb flag
  • choices of <name_of_dataset>: memorial, ntu_sample1, ntu_sample2, ntu_sample3, ntu_sample4, default = ntu_sample1
  • <num_of_samplepoints_per_image> is the sampling point used for calculating Debevec HDR algorithm, default value = 40
  • <key_to_control_tonemapping> is the key parameter of Reinhard's photographic tonemapping algorithm, default value = 0.5
  • output files are all save at "data/output/" directory, including HDR irradiance map, camera response curve, tonemapped LDR image (global and local operation).

Results:

ntu_sample1:

  • original captured images:


  • calculated irradiance map:

  • reconstructed HDR images:

ntu_sample3:

  • original captured images:


  • calculated irradiance map:

  • reconstructed HDR images:

ntu-vfx2023-hw1's People

Contributors

gancheekim avatar

Stargazers

 avatar

Watchers

 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.