Hey there Kevin,

On Wednesday, November 30, 2011 10:20:21 AM UTC+8, kevin wrote:
>
> I'm trying to align 3 jpg image files, these were converted from raw
> using Canon DPP.  When I run:
>
> align_image_stack img_1579.jpg img_1580.jpg img_1581.jpg -a prefix
>
> the error I get back is:
>
> ContractViolation:
> Precondition violation!
> RemappedPanoImage<RemapImage,AlphaImage>::remapImage(): image sizes
> not consistent
>
> ERROR: caught exception:
> Precondition violation!
> RemappedPanoImage<RemapImage,AlphaImage>::remapImage(): image sizes
> not consistent
>
>
> The strange thing is other images taken at the same time and the same
> orientation converted with the same version of DPP work fine.
>

In this case, align_image_stack is rightfully complaining. It looks like 
something went funky when exporting the first image: it is slightly larger 
than the other 2.

Using imagemagick to verify sizes:

identify *.jpg
img_1579.jpg JPEG 3373x5060 3373x5060+0+0 8-bit DirectClass 2.824MB 0.000u 
0:00.019
img_1580.jpg[1] JPEG 3372x5058 3372x5058+0+0 8-bit DirectClass 4.031MB 
0.000u 0:00.000
img_1581.jpg[2] JPEG 3372x5058 3372x5058+0+0 8-bit DirectClass 4.164MB 
0.000u 0:00.000

Tim.

-- 
You received this message because you are subscribed to the Google Groups 
"Hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx

Reply via email to