align_image_stack error

52 views
Skip to first unread message

Jean-Luc Lacroix

unread,
May 21, 2016, 4:31:58 AM5/21/16
to hugin and other free panoramic software
Hello, 

Version of hugin-tools (debian "testing" package): 2016.0.0+dfsg-1 

I have a error using align_image_stack utility. Error message:

    align_image_stack: /build/hugin-WZUIVx/hugin-2016.0.0+dfsg/src/tools/align_image_stack.cpp:771: int main2(std::vector<std::__cxx11::basic_string<char> >, Parameters) [with PixelType = vigra::RGBValue<unsigned char>]: Assertion `nextImgInfo.size() == firstImgInfo.size()' failed.
    Abandon

strace (end of):

    write(2, "align_image_stack: /build/hugin-"..., 279align_image_stack: /build/hugin-WZUIVx/hugin-2016.0.0+dfsg/src/tools/align_image_stack.cpp:771: int main2(std::vector<std::__cxx11::basic_string<char> >, Parameters) [with PixelType = vigra::RGBValue<unsigned char>]: Assertion `nextImgInfo.size() == firstImgInfo.size()' failed.
    ) = 279
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f04d5cdd000
    rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
    tgkill(21036, 21036, SIGABRT)           = 0
    --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=21036, si_uid=1000} ---
    +++ killed by SIGABRT +++
    Abandon

Any idea or suggestion for troubleshooting?

Thanks.

JL Lacroix 

T. Modes

unread,
May 21, 2016, 6:09:06 AM5/21/16
to hugin and other free panoramic software


Am Samstag, 21. Mai 2016 10:31:58 UTC+2 schrieb Jean-Luc Lacroix:
I have a error using align_image_stack utility. Error message:

    align_image_stack: /build/hugin-WZUIVx/hugin-2016.0.0+dfsg/src/tools/align_image_stack.cpp:771: int main2(std::vector<std::__cxx11::basic_string<char> >, Parameters) [with PixelType = vigra::RGBValue<unsigned char>]: Assertion `nextImgInfo.size() == firstImgInfo.size()' failed.
    Abandon

You have called align_image_stack with images which have different sizes. Align_image_stack works only with images of the same size.
I will add an additional check and issue an error before.

Check your images. To make it work, resize them to the same size (e.g. add a transparent border).
Reply all
Reply to author
Forward
0 new messages