If you are interested in seeing the algorithm in action, download all of the matlab files below.
You should then open up one of the data files below using the load command, which will bring
the high dynamic range images into memory under the name 'im'. Then, run reduceDR, which takes as
its arguments an MxN (grayscale) or MxNx3 (color) image matrix, alpha, beta, s, and a filename prefix.
The alpha, beta, and s parameters are all described in the methods section. If you want
to print JPEGs in various sizes of the output at various steps, provide a string that will
be prefixed to all the file names. (If you don't want to write these JPEGs, just leave off the fifth
string argument.)
|