How do you evaluate it in ios development?

asked 2018-02-28 19:29:19 -0500

baihualinxin gravatar image

updated 2018-02-28 20:03:38 -0500

cv::Mat cameraMatrix = cv::Mat(3, 3, CV_32FC1, Scalar::all(0));

cv::calibrateCamera methods is cameraMatrix

How do you evaluate it in ios development? float num= cameraMatrix.at<float>(0,0); float num1= cameraMatrix.at<float>(0,1); float num2= cameraMatrix.at<float>(0,2); //

float num10= cameraMatrix.at<float>(1,0);
float num11= cameraMatrix.at<float>(1,1);
float num12= cameraMatrix.at<float>(1,2);

float num20= cameraMatrix.at<float>(2,0);
float num21= cameraMatrix.at<float>(2,1);
float num22= cameraMatrix.at<float>(2,2);

NSLog(@"%0.3f--%0.3f---%0.3f",num,num1,num2);
NSLog(@"%0.3f--%0.3f---%0.3f",num10,num11,num12);

NSLog(@"%0.3f--%0.3f---%0.3f",num20,num21,num22);

The results of

0.000--4.819---0.000

0.000--0.000---0.000

0.000--0.000---0.000

The result is not right?

edit retag flag offensive close merge delete