filter kalman

asked 2012-12-03 08:47:50 -0500

Hi!

I have OpenCV 2.4.3. Recently, I decided to run sample kalman.cpp in VS 2010. Unfortunately, there was an error at mat.hpp with text "Access violation reading location 0x3e74d21c." and breakpoint was at line data = datastart = dataend = datalimit = 0; in function

inline void Mat::release()
{
    if( refcount && CV_XADD(refcount, -1) == 1 )
        deallocate();
    data = datastart = dataend = datalimit = 0;
    size.p[0] = 0;
    refcount = 0;
}

. I understood, error begins at

KalmanFilter KF(4, 2, 0);

Also, I created Eclipse project (Ubuntu on virtual machine) and there were no errors. May be, it is bug? Can anybody help me? (it is not very comfortable to work on virtual machine)

edit retag flag offensive close merge delete