Menu

#4 Assertion fails

open
nobody
None
5
2011-07-22
2011-07-22
Anonymous
No

Hello,

I get the following error using libsiftfast:

libsiftfast-1.2-src/libsiftfast.cpp:1645: void PlaceInIndex(float*, float, float, float, float): Assertion `newrow >= -1 && newrow < 4 && neworient >= 0 && neworient <= 8 && rfrac >= 0 && rfrac < 1' failed.

I'll try to look into it in more detail...

Discussion

  • Anonymous

    Anonymous - 2011-07-22

    It's not reproducible with a specific image and happens for ~1% of the images every time I try (1500 images in total).
    The assertion is triggered by 'neworientation' which is always:

    -2147483648

     
  • zerofrog

    zerofrog - 2011-07-23

    please attach the image that is giving you problems.

     
  • Anonymous

    Anonymous - 2011-07-23

    As I already wrote, it's not reproducible with a specific image.
    But I guess it was my fault anyway. I called DestroyAllResources after every processed image which seems a bad idea (why?). Now I only call DestroyAllImages and FreeKeypoints and everything is fine.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.