align_image_stack crashes on certain TIFFs

Bug #678721 reported by Erik Krause
10
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.

Revision history for this message
Seb Przd (sbprzd) wrote :

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.

Revision history for this message
Pablo d'Angelo (pablo.dangelo) wrote :

Logged In: YES
user_id=30308
Originator: NO

fixed in svn rev 2713. align_image_stack should accept RGBA files now.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.