What steps will reproduce the problem?
1. Load 3 or more images into ASSURF
2. Save out reference data using ASSURF.exportReferenceData() and
Util.savePointsData()
3. Load the points in again using ASSURF.importReferenceData()
This results in:
Error: Error #2030: End of file was encountered.
In my project, the points.ass file length (uncompressed) is 8,272,412.
in importReferenceData():
detectPrec = 1, descrSize = 64, numRefs = 8
when i=0, ba.position is set to 12 (ref: 0 1000 751 7319)
when i=1, ba.position is set to 4,040,116 (ref: 1 1375 1033 7363)
when i=2, ba.position is set to 16,208,972, which causes the first ba.readInt()
to throw the EndOfFile error
So, I'm thinking that the error is in the line
ba.position = 12 + (16 + (40 + (descrSize << 3)) * refPointsCount ) * i;
But I don't know what the underlying data format is.
Or perhaps I am just saving or loading the file incorrectly?
Original issue reported on code.google.com by jefftime...@gmail.com on 25 Oct 2010 at 10:28
Original issue reported on code.google.com by
jefftime...@gmail.com
on 25 Oct 2010 at 10:28