Git Product home page Git Product logo

hdr's Introduction

HDR

High-dynamic-range imaging

System requirements and Dependencies

The following compilers are tested:

  • Visual Studio 2017 (Windows x64)
  • GCC 5.5.0 (Linux x64)
  • Apple LLVM version 11.0.0 (Mac x64)

Build

Windows & Mac OS X & Linux

I have recently changed from premake to CMake. Below are instructions of using a GCC-based compiler as an example.

  1. Create your build directory mkdir build && cd build
  2. Run Conan conan install .. -s compiler.cppstd=17 --build missing . The dependencies should be resolved by conan
  3. Run CMake cmake .. for development or cmake -DCMAKE_BUILD_TYPE=Release for a release build
  4. Compile by running make
  5. Run test case by make test
  6. The binary is named hdri

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.

Usage

./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 generate the radiance map called "radiance.hdr". Based on the radiance map, the tone algorithm will be triggered to generate the output image. The file name will be "output_image.jpg". Moreover, the reconstructed G curve (and ln E) will be written to a file called "out.txt".

Layout

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.

Reference

hdr's People

Contributors

kaocc 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.