A simple HDR image fuser that converts multiple RAW files into a single HDR image.
Installation via the Python Package Index:
$> pip install rawhdr
Use the command-line tool rawhdr to fuse multiple RAW images into a single high-dynamic-range image.
$> rawhdr hdr-fuse -o fused-hdr.exr base-exposure.RAW under-exposed.RAW over-exposed.RAW
All common RAW file formats are supported.
Note: if you want to save to OpenEXR format and get the error ValueError: Could not find a format to write the specified file in mode 'i'
from imageio, you might need to install freeimage, as documented here.
Focus-stacking works similar to HDR fusion:
$> rawhdr focus-stack --output result.exr image-1.NEF image-2.NEF image-3.NEF โฆ
See fthaler.github.io/rawhdr for the full documentation, including Python API.