HDR v2.0 or improved HDR

Updated 9 nov. 2016

Why HDR v2.0 ?

HDR, you either like it or you don’t,
but if you do, there seems to be a very big difference in what photographers find good or bad HDR.
I have been making HDR’s for a few years now, and in that time I read a few tutorials from well known photographers like Trey Radcliff and others,
they all come to the same conclusion – don’t over do it !
It’s true, when going to far, the pictures tend to get ugly,
more specific, artifacts (halo) appear around the edges.
A year ago I found that by combining normal and HDR pictures together with Enfuse,
the problem nearly vanished – or at least removed a lot of the ugliness 🙂

Samples from 2015 – original picture :

US Warbird - Original

Luminance HDR – look close at the canopy and propellers for artifacts

US Warbird - Luminance HDR

Fusion of original and HDR – no artifacts, much more detail then original – best of both worlds !

US Warbird - ESF Fusion

HDR v2.0 or improved HDR was born.
Back then, I wrote a few scripts to make the use of Enfuse easier, ESF was born – Enfuse Simple Fusion.
A few months ago I switched from Windows Seven to Linux,
and today I am a happy Xubuntu user !
One thing stayed the same, to create a HDR this way, it takes a lot of time and work.

My workflow for HDR in short is :
-> Basic development in RawTherapee ( most of times,
I also create an under and overexposed picture in RT,
and fuse the three together to one, or load direct in Luminance )
-> creating HDR in Luminance HDR
-> fusing a normal and HDR together with Enfuse
-> finishing touch, back in RawTherapee

As an IT specialist, I thought this could be done easier with a script,
so I wrote a simple – but adaptable – script that automates everything.
My basic idea was to create an HDR from one RAW picture, and go on from that point.

This was my first idea for a script:


echo “Hello “$USER”.”
echo “type input/output path, no end slash :”
read output1
echo “type file extention format, example: *.DNG :”
read ext1

rawtherapee -o $output1/ -b8 -t -c $output1/$ext1

luminance-hdr-cli *.tif -o hdr.tif

enfuse –levels=auto –exposure-weight=1 –saturation-weight=1 –contrast-weight=1 –output=$output1/output.tif $output1/*.tif

rawtherapee -o $output1/RT.jpg -p profile.pp3 -c $output1/output.tif

echo “RT-HDR-Fusion is ready”

of course this is very basic, and it runs on default settings
– take script, RT profile and single RAW picture in a seperate folder
– RawTherapee takes the input picture and makes a neutral Tif
– Luminance HDR loads the neutral tif, and creates an HDR from one with default settings
– Enfuse takes both neutral and HDR, and fusion them together
– Rawtherapee takes the resulting picture and applies a profile

To test this script, or start experimenting yourself ( Linux ! ) :
create an empty file,
copy/paste script into it, save to file
run terminal in same folder,
chmod +x filename
run in terminal : ./filename

For Windows :
start notepad,
copy/paste script into it, save to file ( *.bat – like : auto-hdr.bat )
remove top line ( #!/bin/sh )
Replace :
echo “Hello “$USER”.”
echo “type input/output path, no end slash :”
read output1
echo “type file extention format, example: *.DNG :”
read ext1
set /p filepath=type input output file path :
set /p ext=type file extention format, example: *.DNG :
$output1 and $ext1
%filepath% and %ext%
Save file
Doubleclick the bat file

Next step is to make a script that :
– creates bracketed pictures ( like -1.5, 0, +1.5 )
– pre-set Luminance HDR operator and settings, load bracketed pictures, insert bracketing data
– Fusion neutral and HDR
– Tonemap, sharpen, Meta …
– open picture in RawTherapee
– make all settings interactive if you want


Mighty Mustang

HDR from automated script

See you inHDR v2.0 or improved HDR – part 2

Leave a Reply

Your email address will not be published. Required fields are marked *