webhdrtools
webhdrtools are a collection of Perl scripts that help with the creation of HDR images from exposure-bracketed JPG sequences.
Most of the scripts in webhdrtools implement functionality found in WebHDR, with the idea being to modularise the WebHDR code, and to provide some of the features outside of the WebHDR server-side framework.
Scripts
webhdrtools contain the following scripts, as well as their accompanying man pages:
- jpgfixexif
- Fix exposure info in EXIF header.
- jpgheatmap
- Produce image from an exposure-bracketed JPG sequence indicating pixels from which reliable photometric HDR information cannot be derived.
- jpginfo
- Extract exposure information from the EXIF header
- jpgsep
- Separate sequences of exposure-bracketed images into their own sub-directories.
- rspavrg
- Average two or more RSP files
- rspplot
- Plot the hdrgen response curve to a PNG image
Examples of jpgheatmap and rspplot can be found on the WebHDR R-Y-O Demo page. The routines implemented in jpgfixexif are applied to all JPG images uploaded to WebHDR prior to any further processing. jpginfo and jpgsep were developed to make handling large numbers of exposure-bracketed JPG sequences easier. Neither are used by the WebHDR server.
Prerequisites
- Perl
- Powerful scripting language.
- Image::ExifTool
- The Image::ExifTool library provides an extensible set of perl modules to read and write meta information in a wide variety of image, audio and video files.
- ImageMagick
- Software suite to create, edit, and compose bitmap images. It can read, convert and write images in a large variety of formats.
- PerlMagick
- PerlMagick is an objected-oriented Perl interface to ImageMagick. Use the module to read, manipulate, or write an image or image sequence from within a Perl script.
- gnuplot
- A command-line driven graphing library
This software was written on LINUX and is currently untested on other systems.
Download
- webhdrtools-latest.tgz (gzipped TAR ball, 34 kB)
Related Projects
You might also be interested in hdrexpo. We are looking to extend its functionality to recover invalid (indented) exposure information in the HDR header, as is typical for RGBE images processed by Radiance's pcompos and pcond. Once this functionality is implemented, hdrexpo (possibly under a different name) will be included in webhdrtools.
License
webhdrtools are published under the GNU General Public License.