Temporal Image Fusion



Feb. 2014 - Extended paper draft for temporal image fusion ar arXiv: http://arxiv.org/abs/1403.0087

New results on Vimeo: https://vimeo.com/87891400



Early workshop paper, results, and C code (GPL, Linux only for the moment)

F. Estrada, “Time-Lapse Fusion, Colour and Photometry in Computer Vision Workshop at ECCV, LNCS 7594, p.441, Springer 2012.

Video Results


(h264, .avi, plays on VLC –click here)

Software Distribution

Time-Lapse Fusion (.tgz)Source code in C for Linux

Notes and Usage

To compile, simply run the compile.sh script.

Usage:

TimeLapseFusion src_path dst_path alphaC alphaS alphaE tau

src_path specifies where the input images are to be found . The code will use 'find' to locate and process any '.ppm' or '.PPM' images found within the source path. This includes sub-directories of the source path.

dst_path is the destination directory where output images will be placed (also in .ppm format)

alphaC, alphaS, alphaE - are the relarive weights of the contrast, saturation, and well-exposedness components of the pixelwise weights as specified by the exposure fusion algorithm.

For simple exposure fusion (single output image from all input frames), a reasonable setting is 1.0, 1.0, 1.0

For time-lapse fusion, reduce the weight of the well- exposedness term (images are assumed to be correctly exposed). E.g. 1.0, 1.0, .1

tau - For time-lapse fusion this indicates the number of input frames to be blended into each output frame. If tau=-1, the program does simple exposure fusion and creates a single output image from all input frames.

Note that the code expects a properly formed .ppm header. Linux image utilities such as the GIMP and imageMagick will produce well formed .ppm headers, but last time I checked, Matlab's imwrite() will not.

To easily convert a set of images in a different format to ppm, use the mogrify command:

e.g. mogrify -format ppm *.jpg

Similarly the output .ppm files can be easily converted to .jpg for movie encoding.

About this distribution

Software (c) 2012 F. Estrada

This software is distributed under the GPL v3.0. A copy of the license is included with the distribution. Please take a moment to read it if you intend to use the software for other than personal amusement. Please report any problems or bugs directly to the author.

Erratum

There is, unfortunately, a typo in the version of the paper included with the proceedings. Equations 1 and 4 show the three terms of the weight being added together, whereas in fact they are multiplied.