Exposure bracketing in DT?

DT 3.8.1 on Linux.

I have 125 images that are exposure bracketed (7 shots) that’s 875 raws.

  1. Is there a way of doing it in DT?
  2. If not should I use hdr-merge or something else (what else?), then export to tiff and import the tiffs in DT?

Thanks

A thread that might help:

https://discuss.pixls.us/t/hdr-workflow-with-hugin/4652

Containing a really insightful quote:

:laughing:

There is an HDR button in lighttable, but it doesn’t align images.

I currently use HDR merge and import the resulting dng into darktable. There is a lua script that does this as well.

1 Like

Darktable have three lua-scritps:

  1. HDRMerge.lua, which aligns images and returns a DNG image that can be processed with Darktable and then exoprt to tiff or jpg. In addition, this makes it possible to process multiple sets of images using batch mode. HDRMege must be installed
  2. If the images do not need alignment, you can use enfuse.lua srcipt. This returns a tiff image. Enfuse must be installed
  3. image stack.lua aligns images as needed and returns a tiff or jpg image. Align_image_atack and imagemagick must be installed

In addition, Darktable has its own create HDR, but it does not align images

1 Like

I do not understand the difference between the enfuseadvanced.lua script and the image_stack script.

Is it just different tools or is there any benefit to the variations?

Thanks

I use Luminance HDR’s command line with the follwing BASH script to do this. The script assumes the images were taken with a sturdy tripod and thus don’t require alignment, but you could add that if needed (and you trust the auto-alignment.)

Afterwards the images can be tone-mapped/stitched/processed with whatever will read .exr files.

#!/bin/bash
#


function usage () {
  echo "Usage: $0 [-s savename] [-w hdrWeight] [-c hdrResponseCurve] [-m hdrModel]  stacksize file1 (file2)..."
}

while getopts t:s:c:w:m:h OPTION; do
  case ${OPTION} in
   t)savetype="${OPTARG}"
     ;;
   s)saveprefix="${OPTARG}"
     ;;
   c)curve="${OPTARG}"
     ;;
   w)weight="${OPTARG}"
     ;;
   m)model="${OPTARG}"
     ;;
   h)usage
     exit 0;
     ;;
  esac
done
shift $((${OPTIND}-1))

saveprefix="${saveprefix:-stack}"
savetype="${savetype:-exr}"
weight="${weight:-triangular}"
curve="${curve:-linear}"
model="${model:-debevec}"

stacksize=$1
shift

if [ $# -lt 1 ]; then
  echo "Error: too few arguments"
  usage
  exit 1
fi

if [ $(($# % stacksize )) -ne 0 ]; then
  echo "Error: stacksize ${stacksize} invalid for $# files"
  usage
  exit 2
fi

stacknum=1
while [ $# -gt 0 ]; do
  stacknum="000"${stacknum}
  luminance-hdr-cli -v \
    --hdrWeight "${weight}" \
    --hdrResponseCurve "${curve}" \
    --hdrModel "${model}" \
    -s ${saveprefix}-${stacknum:1:3}.${savetype} "${@:1:stacksize}"
  shift ${stacksize}
  stacknum=$((stacknum+1))
done