A request to add an option to align_image_stack

Asked by syam

I am into super-macro, with 100 or more shots aligned and stacked together. Because of the extremely narrow depth of field, the align_image_stack optimization algorithm usually produces a sever artifact: shots are rotated by a large and variable amount, when there should be no rotation. (I am using a DIY automated macro rail, so there is practically zero rotation, and only a bit of movement in the x and y directions.) As is, align_image_stack is not usable for me. But it looks like a very simple modification could help people in my situation.

Could you please consider adding an extra command line option for align_image_stack which would disable the roll ("r") optimization? Something like "--no-roll". Looking at the source code, it looks like all you have to do is to skip the line

00695 vars.insert("r");



Question information

English Edit question
Hugin Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
tmodes (tmodes) said :

When there is movement in x and y direction then there is also a chance for a small rotation.

Workaround is to use the -p option and output a pto file. This file can then in Hugin optimized as you like - e.g. you can try to ignore roll.

Align_image_stacks has already a lot of parameters so I hesitate to add another option which is not really needed in my opinion.

Can you help with this problem?

Provide an answer of your own, or ask syam for more information if necessary.

To post a message you must log in.