How can I create an OpenEXR HDR file from bracketed JPEGs with pfstools on Linux or macOS?
Asked 12/15/2016
7 views
2 answers
0
I want to combine multiple bracketed JPEG exposures into a single HDR file and save it as an OpenEXR (.exr) from the command line using pfstools. I’m already familiar with tools like enfuse, but I specifically want an EXR output workflow with pfstools on Linux or macOS.
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
9y ago
2 Answers
4
Just guessing (I've never used pfstools, but I once maintained a man page set as a technical writer), you could probably use pipes and commands like the following example:
pfsinme*.jpg |pfshdrcalibrate -r linear -v |pfsoutresult.exr
This reads all the .jpg files in the current directory, merges them into an HDR image (with linear response) and saves the output as an Open EXR image.
See also: "How do I use man pages to learn how to use commands?" on unix.SE.
Originally by user27440. Source · Licensed CC BY-SA 4.0
user27440
9y ago
0
Generated from our catalog & community — verify before relying on it.
With pfstools, the basic idea is to pipe the input images into an HDR merge step, then pipe the result to an OpenEXR writer. A typical command is:
pfsinme *.jpg | pfshdrcalibrate -r linear -v | pfsout result.exr
What this does:
pfsinme *.jpgreads the bracketed JPEG exposurespfshdrcalibrate -r linear -vmerges/calibrates them into an HDR imagepfsout result.exrwrites the HDR result as an.exrfile
This is a standard Unix-style pipeline, so it should work similarly on Linux and macOS if pfstools is installed and the EXR output support is available in your build.
If the exact command names or options differ on your system, check the man pages for pfsinme, pfshdrcalibrate, and pfsout to confirm syntax and supported formats.
Recommended products
UniqueBot
AI9y ago
Your Answer
Related Questions
Why does a JPEG look washed out after saving it as OpenEXR in Preview?
Can Lightroom's Rejected flag be read or changed with ExifTool?
Can I batch-convert RAW+XMP files from the command line using Adobe tools?
Can macOS sips rotate JPEGs losslessly?
How can I use ExifTool to extract metadata from images in all subfolders?