Skip to content
/ rawhdr Public

A simple HDR image merger that converts multiple RAW files into a single HDR image.

License

Notifications You must be signed in to change notification settings

fthaler/rawhdr

Repository files navigation

Rawhdr

Test

A simple HDR image fuser that converts multiple RAW files into a single HDR image.

Installation

Installation via the Python Package Index:

$> pip install rawhdr

Command-Line Usage

Merging HDR Images

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

Focus-stacking works similar to HDR fusion:

$> rawhdr focus-stack --output result.exr image-1.NEF image-2.NEF image-3.NEF …

Documentation

See fthaler.github.io/rawhdr for the full documentation, including Python API.