← Back to team overview

hugin-devs team mailing list archive

[Bug 1472190] Re: importImage(): ERROR

 

Currently align_image_stack works only with RGB images. You tried probably with grayscale images. This is fixed in the repository.
The workaround is to convert the images to RGB before invoking align_image_stack.

** Changed in: hugin
       Status: New => Fix Committed

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

Title:
  importImage(): ERROR

Status in Hugin - Panorama Tools GUI:
  Fix Committed

Bug description:
  Hi

  I have a bug when i open my files (.tif extension)

  This is my command : align_image_stack -m -a OUT waytofile1 waytofile2

  And my error :
  ContractViolation:
  Precondition violation!
  importImage(): number of bands(color channels) in file and destination differ.

  ERROR : caught exception:
  Precondition violation!
  importImage(): number of bands (color channels) in file and destination image differ.

  I found on internet that we need to remove the alpha channel from my
  .tif image, but when i try to do this GIMP, i don't see any alpha
  channels with my picture ( so i can't remove it)

  I tried with ImageMagick for windows, but I met a lot of bug.
  I'm working on Windows 7 SP1.

  Thanks you

  Bastien

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


References