How to create HDR images using opencv

2k Views Asked by At

I am using opencv 3.0 version which has support for creating HDR images and trying to produce an HDR image using three images at different exposure. And i found this tutorial of opencv.

http://docs.opencv.org/master/d3/db7/tutorial_hdr_imaging.html#gsc.tab=0

Its easy to understand but it takes paramter like exposure times for images. How do i will get this exposure time ? I have only images. Do any one has tried it already ?

Thanks

1

There are 1 best solutions below

0
On

Image exposure time is in EXIF data. In the explorer window right click the image, go to properties, you will see some of the EXIF data including exposure time if the image has that data.

or you can write a program to extract metadata to a txt file. I used python exifread() to read exposure time. https://pypi.python.org/pypi/ExifRead