Thanks for the quick fix! I thought it would do the registration and photometric optimization of the input images (like align_image_stack), and then merge them to HDR (the man page is a bit thin). I converted my input to openEXR format, and now I found the next problem:
/usr/local/bin/hugin_hdrmerge -v -o hugin.exr ./IMG_308?.EXR
caught exception: Precondition violation!
File with original pixel weights (./IMG_3086_gray.pgm) is missing
(/home/kfj/src/hugin/src/hugin_base/vigra_ext/ReduceOpenEXR.h:72)
Abgebrochen (Speicherabzug geschrieben)
I saw hugin produce such pgm files, and I could never figure out why they would be needed: the exr should have all the nececssary information, because it holds linear RGBA. What's the pgm good for?
Kay