All Projects β†’ SSARCandy β†’ HDR-imaging

SSARCandy / HDR-imaging

Licence: other
An implementation of "Paul E. Debevec, Jitendra Malik, Recovering High Dynamic Range Radiance Maps from Photographs, SIGGRAPH 1997."

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
Batchfile
5799 projects

Projects that are alternatives of or similar to HDR-imaging

panoramas-image-stitching
πŸ–Ό Stitching images into 360 panoramas
Stars: ✭ 155 (+181.82%)
Mutual labels:  ipython-notebook, opencv3
sonic-track
Uses a raspberry pi camera or web cam and python opencv to track motion in camera view. Sends motion contour data to sonic-pi via osc interface to produce and control notes/sample. Includes ability to use onscreen menu areas to change synthesizer, octaves Etc.
Stars: ✭ 24 (-56.36%)
Mutual labels:  opencv3
jekyll-ipython-markdown
build process for turning ipython notebooks into markdown files for your jekyll blog
Stars: ✭ 18 (-67.27%)
Mutual labels:  ipython-notebook
kmeans-dbscan-tutorial
A clustering tutorial with scikit-learn for beginners.
Stars: ✭ 20 (-63.64%)
Mutual labels:  ipython-notebook
ipython-notebook-nltk
An introduction to Natural Language processing using NLTK with python.
Stars: ✭ 19 (-65.45%)
Mutual labels:  ipython-notebook
currency-detector-opencv
Indian paper currency detection using Image Processing
Stars: ✭ 26 (-52.73%)
Mutual labels:  opencv3
opencv3-setup
Raspberry Pi whiptail Menu driven Easy Install and Compile of opencv3 python from source files.
Stars: ✭ 47 (-14.55%)
Mutual labels:  opencv3
07 Python Advanced Topics
You'll learn about Iterators, Generators, Closure, Decorators, Property, and RegEx in detail with examples.
Stars: ✭ 232 (+321.82%)
Mutual labels:  ipython-notebook
03 Python Flow Control
Flow control is the order in which statements or blocks of code are executed at runtime based on a condition. Learn Conditional statements, Iterative statements, and Transfer statements
Stars: ✭ 207 (+276.36%)
Mutual labels:  ipython-notebook
Gemello
No description or website provided.
Stars: ✭ 18 (-67.27%)
Mutual labels:  ipython-notebook
Relation-Classification
Relation Classification - SEMEVAL 2010 task 8 dataset
Stars: ✭ 46 (-16.36%)
Mutual labels:  ipython-notebook
argparse-to-class
Transform argparse into class format for Jupyter Notebook execution
Stars: ✭ 20 (-63.64%)
Mutual labels:  ipython-notebook
scanner
OpenCV document scanner
Stars: ✭ 36 (-34.55%)
Mutual labels:  opencv3
imageRetrieval
Image retrieval learning record
Stars: ✭ 31 (-43.64%)
Mutual labels:  opencv3
saccade
A sophisticated scientific image viewer for Linux with OpenGL support and synchronized viewports
Stars: ✭ 38 (-30.91%)
Mutual labels:  hdr-image
DeepMask
A Keras implementation of DeepMask based on NIPS 2015 paper "Learning to Segment Object Candidates"
Stars: ✭ 15 (-72.73%)
Mutual labels:  opencv3
Predicting-Consumer-Purchase-intention-using-Twitter-Data
Predicting Consumer Purchase intention using Twitter Data
Stars: ✭ 33 (-40%)
Mutual labels:  ipython-notebook
docker-opencv
Docker image with OpenCV 2 and 3
Stars: ✭ 21 (-61.82%)
Mutual labels:  opencv3
93 Python Data Analytics Projects
This repository contains all the data analytics projects that I've worked on in python.
Stars: ✭ 208 (+278.18%)
Mutual labels:  ipython-notebook
dodo detector
Python object detection package (uses TF models and OpenCV)
Stars: ✭ 19 (-65.45%)
Mutual labels:  opencv3

HDR imaging

Requirement

  • python3 (or higher)
  • opencv 3.0 (or higher)

You will need to install some package using pip3:

  • numpy
  • matplotlib

Usage

$ python HDR-playground.py <input img dir> <output .hdr name>

# for example
$ python ./HDR-playground.py taipei taipei.hdr

I also provide an jupyter version(HDR-playground.ipynb), it’s function is same as HDR-playground.py. jupyter is really convenient for develop python program!

Input format

The input dir should have:

  • Some .png images
  • A image_list.txt, file should contain:
    • filename
    • exposure
    • 1/shutter_speed

This is an example for image_list.txt:

# Filename   exposure 1/shutter_speed
DSC_0058.png 32        0.03125
DSC_0059.png 16        0.0625
DSC_0060.png  8        0.125
DSC_0061.png  4        0.25
DSC_0062.png  2        0.5
DSC_0063.png  1        1
DSC_0064.png  0.5      2
DSC_0065.png  0.25     4
DSC_0066.png  0.125    8
DSC_0067.png  0.0625  16

Output

The program will output:

  • A .hdr image
  • A reconstruct RGB response curve plot
  • A pseudo-color radiance map(with log value)

for sample output, you can see HDR-playground.ipynb as reference.

Tonemap

I use tmo for tonemapping, it implement 24 algorithms.
I write a script tonemap.bat for auto-run all 24 algorithms.

$ tonemap.bat <filename without extension>

Make sure all tm_*.exe is in your system PATH

Environment

I test my code in Window10, but it should work fine in macOS/Linux(exclude tonemapping reference program need run in Windows)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].