Question: Initial HDR Implementation This exercise is the initial implementation of HDR images, as below. You will find on folder a set of photos ( from

Initial HDR Implementation
This exercise is the initial implementation of HDR images, as below. You will find on folder a set of photos (from 00.CR3 to 10.CR3). For each of them, the exposure time was half the one of the previous photo. Combine them to produce HDR raw data. Then, apply the demosaicing algorithm and the white balance. Decrease the dynamic range by computing the logarithm of this data, and
downscale it to the [0,255] interval. Then save the resulting image.
You should obtain the same result as what is shown in the slides.
Simple combination approach:
Load brightest raw data (longest exposure)
Lets call it h
For each next raw file:
Load it and name it i
Multiply i by the exposure difference to the first photo
E.g., first photo 1s, second photo 0.5s, multiply by 2
Values in h which are above a threshold t get replaced by the corresponding values in i
t is not that important
Avoid the plateau in i
A value of 0.8max(h) should be fine
provide python code without using CV2

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!