← Back to team overview

hugin-devs team mailing list archive

[Bug 2002813] Re: align_image_stack hangs

 

I originally added any parameter that looked useful with necessarily
understanding exactly what each did and whether they might clash.

This fails:
align_image_stack -a test.jpg -i -A -C problemR.jpg problemL.jpg -v -p test.txt
This works:
align_image_stack -a test.jpg    -A -C problemR.jpg problemL.jpg -v -p test.txt

Obviously you know what the parameters do, but here are my reasons for using these. I'm making 3D stereo pairs:
-m I think this adjusts for different magnification so shouldn't be needed. Removed
-a specifies output file so is needed.
-A specifies flat not pop-out (I alternatively use P) (-S is assumed with these so not needed). A or P is needed.
-C crops the images to the same size, needed for 3D image pairs.
-i Optimize image center shift for all images, except for first. I assume this favours the alignment of the centre of the image, so preferrable.
--use-given-order make the first image the baseline. Can't see any point in this, so removed.
-v, -p just give useful output.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/2002813

Title:
  align_image_stack hangs

Status in Hugin:
  Incomplete

Bug description:
  I have an application that uses align_image_stack, which works very well.
  Unfortunately it sometimes hangs up when aligning two images, I assume that's because they are too difficult to align. It states "Number of good matches: 0, bad matches: 40" many times, then that it has done "n iterations" up to 259. At that point it states "Run called" and then gets stuck. This would be alright if I was using it from a terminal, but it's embarrassing when it does it in my app - there's no easy way to detect the condition and stop it.
  It would be better to prevent it - is that possible? If not I think it's a bug. I can supply the two  images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/2002813/+subscriptions



References