Trying to create .executor for stacked panorama output

85 views
Skip to first unread message

janne

unread,
Sep 17, 2018, 11:02:24 AM9/17/18
to hugin and other free panoramic software
Granted, I'm not very familiar with the syntax Hugin expects and this is more or less a copy paste job of existing executor files, but would be nice if somebody could show me in the right direction with this:

[General]
Description=Median of stacked images stitched into a panorama
Help=Output median image of stacked images, then stitch into a panorama
StepCount=4
IntermediateImageType=tif

[Step0]
Description=Remapping images
Type=remap
Arguments=-v -r ldr -m TIFF_m

[Step1]
Description=Calculating median
Type=stack
Program=hugin_stacker
Result=%prefix%-median.tif
Arguments=--output=%result% --mode=median %input%

[Step2]
Description=Blending with enblend
Type=merge
Input=stacks
Program=enblend
Result=%prefix%.tif
Arguments=-f%size% --output=%result% %input%
WrapArgument=-w

[Step3]
Description=Updating metadata
Type=exiftool
Result=%prefix%.tif
Arguments=-overwrite_original -TagsFromFile %image0% -ImageDescription -Make -Model -Artist -WhitePoint -Copyright -GPS:all -DateTimeOriginal -CreateDate -UserComment -ColorSpace -OwnerName -SerialNumber %result%

Above .executor should remap files,  then use hugin_stacker to calculate median of each stack and blend resulting images together. However, all I now got is "queue is empty, this should never happen" error message. Can anybody point out what's wrong with my executor?

best regards,
janne

T. Modes

unread,
Sep 17, 2018, 2:22:47 PM9/17/18
to hugin and other free panoramic software


Am Montag, 17. September 2018 17:02:24 UTC+2 schrieb janne:
Granted, I'm not very familiar with the syntax Hugin expects and this is more or less a copy paste job of existing executor files, but would be nice if somebody could show me in the right direction with this:
The format is documented in file executor_file_format.txt in the doc folder (http://hg.code.sf.net/p/hugin/hugin/file/default/doc/executor_file_format.txt )

For testing I recommend using hugin_executor. Here you get more debug output (which is not implemented in the GUI).
(When an error occurred the complete queue is emptied. Only when all steps are okay, the queue is executed.)

In your case you get:
>hugin_executor --stitching --user-defined-output=test.executor --dry-run test.pto

ERROR: Step 1 has missing %output% placeholder in arguments.
ERROR: Queue is empty.


[Step1]
Description=Calculating median
Type=stack
Program=hugin_stacker
Result=%prefix%-median.tif
Type=stack does not allow to change the result file name. Remove this line

Arguments=--output=%result% --mode=median %input%
This line should be 
Arguments=--output=%output% --mode=median %input%

Thomas
Reply all
Reply to author
Forward
0 new messages