Run time error with cvEigenVV() function

View: New views
1 Messages — Rating Filter:   Alert me  

Run time error with cvEigenVV() function

by Arun A K :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi

I tried using cvEigenVV() in order to get the eigenvectors and eigenvalues associated with a given symmetric matrix. I end up with the following run time error messages:

OpenCV ERROR: Bad flag (parameter or structure field) (Unrecognized or unsupported array type)
        in function cvGetMat, cxarray.cpp(2881)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...
        called from cvUnregisterType, cxpersistence.cpp(4933)
Terminating the application...

I have the following function call.
cvEigenVV(laplacian, eigenVec, eigenVal, pow(10,-15));

where the array declarations are as follows:
double laplacian[3000][3000] = {}, eigenVec[3000] = {}, eigenVal[3000] = {};

I even tried the following call but end up with compilation errors:
cvEigenVV(laplacian[3000][], eigenVec, eigenVal, pow(10,-15));

Please let me know where I'm wrong.

Thanks for your time.

Arun A K
Graduate Student
Department of Computer Science
Indiana University, Bloomington

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Opencvlibrary-devel mailing list
Opencvlibrary-devel@...
https://lists.sourceforge.net/lists/listinfo/opencvlibrary-devel