hugin 2014.0: align_image_stack() cannot read 16bit bw tiffs

11 views
Skip to first unread message

Urs Kiehl

unread,
Nov 21, 2014, 2:04:54 PM11/21/14
to hugi...@googlegroups.com
Trying to read a 16bit bw tiff results in  
"importImage(): Number of channels in input and destination image don't match."

This is triggered from align_image_stack().


Maybe hugin uses an outdated version of vigra. In the recent version, a type cast has been added at this check in importImage():

          vigra_precondition((static_cast<unsigned
int>(import_info.numBands())
                               == image_accessor.size(image_iterator)) ||
                              import_info.numBands() == 1,
               "importImage(): Number of channels in input and
destination image don't match.");

  Urs K.
Reply all
Reply to author
Forward
0 new messages