← Back to team overview

hugin-devs team mailing list archive

[Bug 1670593] Re: align_image_stack: image sizes not consistent

 

*** This bug is a duplicate of bug 1659528 ***
    https://bugs.launchpad.net/bugs/1659528

Thanks. Is there a change request for this?

I have workflow where we scan old photos and do the scan 4 times each
time rotating the photo by 90 degrees and later would need to align it
and merge so to minimize noise and make lighting more uniform. This
works if doing multiple scans without rotation as the size is the same
but some noise/dust is still present as photo is not moved. Tried to
make them the same size but then align_image_stack creates too much
distortion as too much transformation is done.

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

Title:
  align_image_stack: image sizes not consistent

Status in Hugin:
  Fix Committed

Bug description:
  align_image_stack crashes with error "image sizes not consistent" when
  given differently sized photos to align even if -C switch is used. If
  using -p switch PTO file is generated correctly.

  ----------
  align_image_stack version 2016.2.0.be8da0221960 built by Thomas

  "C:\Program Files\Hugin\bin\align_image_stack.exe" -C -a aligned *.tif
  Run called
  Inner 1024 20074496: 512 4224 - 512 5920
  Starting 1024: 512 4224 - 512 5920
  Starting 512: 512 4224 - 512 5920
  Starting 256: 0 4224 - 512 5920
  Starting 128: 0 4480 - 256 6176
  Starting 64: 0 4608 - 128 6304
  Starting 32: 0 4608 - 64 6304
  Starting 16: 0 4640 - 32 6336
  Starting 8: 0 4640 - 32 6352
  Starting 4: 0 4640 - 24 6360
  Starting 2: 0 4640 - 24 6360
  Starting 1: 0 4642 - 22 6360
  Set crop size to 0,22,4643,6361
  ERROR: caught exception:
  Precondition violation!
  RemappedPanoImage<RemapImage,AlphaImage>::remapImage(): image sizes not consistent
  (C:\Prog\Hugin\dynamic_vs2015\hugin-hg\src\hugin_base\nona/RemappedPanoImage.h:442)

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


References