Problem of using cvSVD [closed]
SXY = Y * K * X.t() * 1 / n;
cvSVD(&SXY, &D, &U, &V);
S = cv::Mat::eye(3, 3, CV_64F);
When I debug the code, the following err appeared:
OpenCV Error: Bad argument (Unknown array type) in cvarrToMat, file /home/allanna/Library/opencv-3.0.0/modules/core/src/matrix.cpp, line 880 terminate called after throwing an instance of 'cv::Exception'
I already include the
#include <opencv2/core/core.hpp>
#include <opencv2/opencv.hpp>
How to solve it? Thank u.
Closed for the following reason
question is not relevant or outdated by
berak
close date 2017-05-28 01:42:04.533267
add a comment