On Friday, 21 March 2014 at 0:01:48 +0100, Jan Martin wrote:
> How to do "exposure fused" by command-line only?
> Without hugin?
You'll need a Makefile, and the best way to get one is from hugin.
That's what Terry attached. If you have a panorama called, say, foo,
then saving the project will save the project file foo.pto and a (GNU)
Makefile called
foo.pto.mk. Take a deep breath and look inside:
# the output panorama
LDR_REMAPPED_PREFIX=foo
LDR_REMAPPED_PREFIX_SHELL=foo
HDR_STACK_REMAPPED_PREFIX=foo_hdr_
HDR_STACK_REMAPPED_PREFIX_SHELL=foo_hdr_
LDR_EXPOSURE_REMAPPED_PREFIX=foo_exposure_layers_
LDR_EXPOSURE_REMAPPED_PREFIX_SHELL=foo_exposure_layers_
PROJECT_FILE=/home/grog/Photos/Hugin-build-eureka/foo.pto
PROJECT_FILE_SHELL=/home/grog/Photos/Hugin-build-eureka/foo.pto
LDR_BLENDED=foo.tif
LDR_BLENDED_SHELL=foo.tif
LDR_STACKED_BLENDED=foo_fused.tif
LDR_STACKED_BLENDED_SHELL=foo_fused.tif
LDR_EXPOSURE_LAYERS_FUSED=foo_blended_fused.tif
LDR_EXPOSURE_LAYERS_FUSED_SHELL=foo_blended_fused.tif
HDR_BLENDED=foo_hdr.exr
HDR_BLENDED_SHELL=foo_hdr.exr
These are variable assignments, and you should be able to tie them up
with the choices in hugin's stitcher tab. You want
LDR_EXPOSURE_LAYERS_FUSED, so you say:
make foo_blended_fused.tif
If you're using BSD, you use gmake (GNU make). I'm not sure about
Apple; it could apply there too.