The main issue here is, that ais has found only 2 cp, but there are 6 parameters to optimize. Then the optimizer goes haywire and the autocrop hangs. I added an additional check to prevent this loop.
** Changed in: hugin Status: Incomplete => Fix Committed ** Changed in: hugin Milestone: None => 2023.0beta1 -- You received this bug notification because you are a member of Hugin Bug Hunters, which is subscribed to Hugin. https://bugs.launchpad.net/bugs/2002813 Title: align_image_stack hangs Status in Hugin: Fix Committed 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 _______________________________________________ Mailing list: https://launchpad.net/~hugin-bug-hunters Post to : hugin-bug-hunters@lists.launchpad.net Unsubscribe : https://launchpad.net/~hugin-bug-hunters More help : https://help.launchpad.net/ListHelp