1 | initial version |
va is double type and your Mat is float (CV32FC1) . You should use float for array or Mat of double type
cv::Mat VC(1, 3, CV_64FC1, va);
2 | No.2 Revision |
va is double type and your Mat is float (CV32FC1) . You should use float for array or Mat of double typetype (CV_64FC1)
cv::Mat VC(1, 3, CV_64FC1, va);