Difference between revisions of "HDR images with Elphel cameras"

From ElphelWiki
Jump to: navigation, search
(PHP PROGRAMMING)
Line 3: Line 3:
 
For informations about HDR imaging see: [http://en.wikipedia.org/wiki/High_dynamic_range_imaging Wikipedia.org]. For informations about HDR imaging algorithms see: [http://www.debevec.org/ Debevec.org] and [http://www1.cs.columbia.edu/CAVE/ Columbia.edu].
 
For informations about HDR imaging see: [http://en.wikipedia.org/wiki/High_dynamic_range_imaging Wikipedia.org]. For informations about HDR imaging algorithms see: [http://www.debevec.org/ Debevec.org] and [http://www1.cs.columbia.edu/CAVE/ Columbia.edu].
  
 +
There are several ways how to increase the dynamic range and to achieve HDR images:
  
----
+
=Exposure Bracketing=
  
 +
==Autoexposure Daemon HDR Functions==
 +
The autoexposure daemon running in the camera can alternate exposure times quickly meaning
 +
recording at maximal FPS with 2 alternating exposure times is possible.
 +
This HDR-video can be record just like any other normal video with the harddisk-recorder camogm or streamed over the network.
  
=INTRODUCTION=
+
==Manual Bracketing
 +
You can do exposure bracketing manually with a PHP script. Just set exposure time -> capture a single frame -> change exposure time -> capture another image, etc.
 +
This will be slower than using the daemon but you have finer control over how many brackets you want and how big the EV steps between the brackets are, etc.
 +
This is best suited for still image recording where speed is not so much of an issue.
  
In computer graphics and photography, high dynamic range imaging (HDRI) is a set of techniques that allows a greater dynamic range of exposures than normal digital imaging techniques. The intention of HDRI is to accurately represent the wide range of intensity levels found in real scenes ranging from direct sunlight to shadows.
+
=Gain Bracketing=
 
+
[[JP4 HDR]] is a special raw color format that can capture a higher dynamic range in an image without introducing any artifacts as result from combining images captured at different times (exposure bracketing). Though the post processing code to develop the images is still experimental.
One HDR image is composed by many LDR (''Low Dynamic Range'') images representing the same scene. Ideally the LDR images should be acquired at the same time but usually they are acquired in sequence by the same camera as fast as possible. To avoid HDR ghost artifacts and to obtain high frame rate HDR videos it's important to have a high-performance hardware available depending on the static nature of the scene.
 
 
 
In order to get a HDR image, the HDRI system executes the following steps:
 
 
 
1. acquisition of n LDR images with different exposure time;
 
 
 
2. computation of the n acquired images;
 
 
 
3. generation of the HDR image.
 
 
 
The features of the HDRI system needed to execute this cycle are:
 
 
 
1. camera exposure time must vary during the acquisition process;
 
 
 
2. a memory to temporary save the acquired images;
 
 
 
3. a quite powerful CPU for image computation.
 
 
 
An Elphel camera satisfies all these requirements and can execute HDRI algorithms in different ways.
 
 
 
 
 
----
 
 
 
 
 
=PHP PROGRAMMING=
 
(under development)
 
 
 
Using [[parsedit.php]] you can request images with altered exposure times as show in this example: http://community.elphel.com/pictures/8.0/9images.html
 
 
 
----
 
 
 
=FPGA ALGORITHM=
 
 
 
 
 
----
 
 
 
 
 
=Post-processing=
 

Revision as of 07:42, 23 January 2012

The purpose of this project is to get HDR images using an Elphel camera.

For informations about HDR imaging see: Wikipedia.org. For informations about HDR imaging algorithms see: Debevec.org and Columbia.edu.

There are several ways how to increase the dynamic range and to achieve HDR images:

Exposure Bracketing

Autoexposure Daemon HDR Functions

The autoexposure daemon running in the camera can alternate exposure times quickly meaning recording at maximal FPS with 2 alternating exposure times is possible. This HDR-video can be record just like any other normal video with the harddisk-recorder camogm or streamed over the network.

==Manual Bracketing You can do exposure bracketing manually with a PHP script. Just set exposure time -> capture a single frame -> change exposure time -> capture another image, etc. This will be slower than using the daemon but you have finer control over how many brackets you want and how big the EV steps between the brackets are, etc. This is best suited for still image recording where speed is not so much of an issue.

Gain Bracketing

JP4 HDR is a special raw color format that can capture a higher dynamic range in an image without introducing any artifacts as result from combining images captured at different times (exposure bracketing). Though the post processing code to develop the images is still experimental.