I have a problem in my program in openCV when I'm trying to do matrix operations. for example, if I have 2 matrices and I wanna use the function cvMatMul(&Ma, &Mb, &Mc); let say I wanna multiply Matrix Ma by another matrix Mb when I compile I get no error but when I'm starting operating the program I get this error:
OpenCV Error: Bad argument (Unknown array type) in cvarrToMat, file /home/mario/OpenCV-2.2.0/modules/core/src/matrix.cpp, line 641 terminate called after throwing an instance of 'cv::Exception'
what(): /home/mario/OpenCV-2.2.0/modules/core/src/matrix.cpp:641: error: (-5) Unknown array type in function cvarrToMat
Can you suggest any solutions.
Thank you.