Assertion fails
Brought to you by:
zerofrog
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...
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
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
please attach the image that is giving you problems.
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
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.