align_image_stack crashes on certain TIFFs
Bug #678721 reported by
Erik Krause
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Hugin |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
align_image_stack crashes if TIFFs previously generated by enfuse are used as input. The error message is:
--snip
ContractViolation:
Precondition violation!
importImage(): number of bands (color channels) in file and destination image differ.
ERROR: caught exception:
Precondition violation!
importImage(): number of bands (color channels) in file and destination image differ.
--snap
Instructions to reproduce: use enfuse to create some TIFFs from JPGs and feed them to align_image_stack. Only -a used, no additional parameters.
To post a comment you must log in.
Logged In: YES
user_id=1210331
Originator: NO
I am able to reproduce this in Kubuntu 7.04. The culprit seems to be the alpha channel. If the channel is not present or is 8-bit (for an 8-bit image, as produced by align_image_stack) align_image_stack works as expected. However if the alpha channel is 1-bit align_image_stack crashes.