All Projects → vivianhylee → High Dynamic Range Image

vivianhylee / High Dynamic Range Image

Creating HDR image from image stack with multiple exposures

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to High Dynamic Range Image

Qt 5 And Opencv 4 Computer Vision Projects
Qt 5 and OpenCV 4 Computer Vision Projects, published by Packt
Stars: ✭ 72 (-18.18%)
Mutual labels:  opencv
Ev3dev Lang Java
A project to learn Java and create software for Mindstorms Robots using hardware supported by EV3Dev & the LeJOS way.
Stars: ✭ 79 (-10.23%)
Mutual labels:  opencv
Graphicsprogramming
Demos related to OpenGL, Qt/QML, OpenCV and other X technologies.
Stars: ✭ 83 (-5.68%)
Mutual labels:  opencv
Shawn pose estimation by opencv
This is my initial experiments on pose estimation using opencv.More details:http://www.cnblogs.com/singlex/p/pose_estimation_0.html
Stars: ✭ 75 (-14.77%)
Mutual labels:  opencv
Phormatics
Using A.I. and computer vision to build a virtual personal fitness trainer. (Most Startup-Viable Hack - HackNYU2018)
Stars: ✭ 79 (-10.23%)
Mutual labels:  opencv
Panoramic Image Stitching Using Invariant Features
Given a number of input images, concatenate all images to produce a panoramic image using invariant features.
Stars: ✭ 81 (-7.95%)
Mutual labels:  opencv
Opencv Android Object Detection
This is sample code for object detection using OpenCV on android
Stars: ✭ 70 (-20.45%)
Mutual labels:  opencv
Opencv image comparator
图片相似度计算(直方图、峰值信噪比、结构相似性、感知哈希算法)、轮廓检测、直线检测、圆检测、角点检测、直线交点计算、旋转角度矫正、图像匹配的对应相似处连线、灰度、二值化、直方图均衡化。
Stars: ✭ 87 (-1.14%)
Mutual labels:  opencv
Computervision Projects
Some simple computer vision implementations using OpenCV
Stars: ✭ 79 (-10.23%)
Mutual labels:  opencv
Mobilenet Ssd
MobileNet-SSD(MobileNetSSD) + Neural Compute Stick(NCS) Faster than YoloV2 + Explosion speed by RaspberryPi · Multiple moving object detection with high accuracy.
Stars: ✭ 84 (-4.55%)
Mutual labels:  opencv
Pyscenedetect
🎥 Python and OpenCV-based scene cut/transition detection program & library.
Stars: ✭ 1,203 (+1267.05%)
Mutual labels:  opencv
Opensource
An Open Source video surveillance management system for people making this world a safer place.
Stars: ✭ 75 (-14.77%)
Mutual labels:  opencv
Vehicle counting hog svm
Vehicle detection, tracking and counting by SVM is trained with HOG features using OpenCV on c++.
Stars: ✭ 82 (-6.82%)
Mutual labels:  opencv
Low Face Mode
Dim and brighten the screen based on whether or not you are present! OpenCV detects face with webcam and dims screen if not present.
Stars: ✭ 75 (-14.77%)
Mutual labels:  opencv
Sudoku Py
An augmented reality sudoku solver using OpenCV
Stars: ✭ 85 (-3.41%)
Mutual labels:  opencv
Ftcvision
Computer Vision library for FIRST Tech Challenge
Stars: ✭ 73 (-17.05%)
Mutual labels:  opencv
Handy
Hand detection software built with OpenCV.
Stars: ✭ 81 (-7.95%)
Mutual labels:  opencv
The bilateral solver
Fast Bilateral Solver implementation with C++ and demos
Stars: ✭ 87 (-1.14%)
Mutual labels:  opencv
Fisheye Stereo Calibration
📷 📷 Fisheye stereo calibration using OpenCV and C++
Stars: ✭ 85 (-3.41%)
Mutual labels:  opencv
Litiv
C++ implementation pool for computer vision R&D projects.
Stars: ✭ 82 (-6.82%)
Mutual labels:  opencv

high-dynamic-range-image

Creating HDR image from image stack with multiple exposures

Introduction

The goal of this project is to recover high dynamic range radiance maps from photographs to crease an image that captures details from the entire dynaimic range. This project has two parts, radiane map construction and tone mapping. For the first part, we implement algorithm from Debevec, Malik to recover high dynamic range radiance map. Then we apply tone mapping and intensity adjustmemt to to convert the radiance map into displayable image.

Algorithm Overview

High Dynamic Range Radiance Map Construction

  1. Film Response Curve Recovery

Film response curve is a function maps from observed pixel values on an image to the log of exposure values: g(Zij) = ln(Ei) + ln(tj). To recover function g, we implement equation from Debevec

g is the unknown response function

w is a linear weighting function. g will be less smooth and will fit the data more poorly near extremes (Z=0 or Z=255). Debevec introduces a weighting function to enphasize the smoothness fitting terms toward the middle of the curve.

t is the exposure time

E is the unknown radiance

Z: is the observed pixel value

i is the pixel location index.

j is the exposure index

P is the total number of exposures.

This response curve can be used to determine radiance values in any images acquired by the imaging processing associated with g, not just the images used to recover the response curve.

  1. High Dynamic Range Radiance Map Construction

Once the response curve g is recovered, we can construct a radiance map based on equation from Debevec

In order to reducing noise in the recovered radiance value, we use all the available exposrues for a particular pixel to computer its radiance based on equation 6 in Debevec.

Tone Mapping

Global tone mapping: In this project, we use gamma correction as global tone mapping. The output image is proportional to the input raised to the power of the inverse of gamma and has pixel value range from 0 to 255.

Color Adjustment

In order to construct HDR image to be as closer to input image as possible, we adjust the output image average intensity for each channel (B, G, R) to be the same as template image. In general, we use middle image from image stack as template, which is usually most representative of the ground truth.

Result 1

Original image


Exposure 1/160 sec

Exposure 1/125 sec

Exposure 1/80 sec

Exposure 1/60 sec

Exposure 1/40 sec

Exposure 1/15 sec

HDR image

Result 2

Original image


Exposure 1/400 sec

Exposure 1/250 sec

Exposure 1/100 sec

Exposure 1/40 sec

Exposure 1/25 sec

Exposure 1/8 sec

Exposure 1/3 sec

HDR image

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