Hey Nate
Blobs are really coming out nicely, so good work on your wrapper of Christobal's great code.
Found the issue that was causing main problem BUT appear to get a glibc error related to invalid pointer.
I have attached a test script basically copied from the test_tracking.cpp script. Please find attached.
1-UpdateTracks does throw an error
2-checking type of blobs before and after
cvb.UpdateTracks(blobs, tracks, 5., 10, 0)
shows type of blobs changes to tracks
3- Fix I think: _cvblob.C in line 283 change
b[i->first]
to
t[i->first]
Seems to work now, type doesn't change, blobs stay blobs, tracks get assigned values.
Now a get a glibc error though.
Haven't figure out that bug yet though.
Do you have any ideas? do you think it could be related to your FilterByArea wrapper which you mention may cause sloppy memory management.
Anyway, hopefully get it sort and can contribute the test script to a test_tracking.py for your cvblob-contribution.
Cheers Neil
--
Neil C.G. Hart
PhD Student
Dept. of Oceanography
University of Cape Town