Home
last modified time | relevance | path

Searched refs:new_cam (Results 1 – 2 of 2) sorted by relevance

/external/opencv3/modules/calib3d/test/
Dtest_undistort.cpp699 vector<double> new_cam(test_mat[INPUT][4].cols * test_mat[INPUT][4].rows); in prepare_test_case() local
704 Mat _new_cam(test_mat[INPUT][4].size(),CV_64F,&new_cam[0]); in prepare_test_case()
743 new_cam[8] = 1; in prepare_test_case()
750 new_cam[0] = cam[0] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[0]; //10% in prepare_test_case()
751 new_cam[4] = cam[4] + (cvtest::randReal(rng) - (double)0.5)*0.2*cam[4]; //10% in prepare_test_case()
752 new_cam[2] = cam[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.width; //15% in prepare_test_case()
753 new_cam[5] = cam[5] + (cvtest::randReal(rng) - (double)0.5)*0.3*img_size.height; //15% in prepare_test_case()
794 vector<double> new_cam(test_mat[INPUT][4].cols * test_mat[INPUT][4].rows); in prepare_to_validation()
802 Mat _new_cam(test_mat[INPUT][4].size(),CV_64F,&new_cam[0]); in prepare_to_validation()
846 double* new_cam = new double[test_mat[INPUT][4].cols * test_mat[INPUT][4].rows]; in prepare_to_validation() local
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_imgwarp.cpp891 double new_cam[9] = {0,0,0,0,0,0,0,0,1}; in prepare_test_case() local
895 Mat _new_cam(test_mat[INPUT][3].rows,test_mat[INPUT][3].cols,CV_64F,new_cam); in prepare_test_case()
921 new_cam[0] = a[0] + (cvtest::randReal(rng) - (double)0.5)*0.2*a[0]; //10% in prepare_test_case()
922 new_cam[4] = a[4] + (cvtest::randReal(rng) - (double)0.5)*0.2*a[4]; //10% in prepare_test_case()
923 new_cam[2] = a[2] + (cvtest::randReal(rng) - (double)0.5)*0.3*test_mat[INPUT][0].rows; //15% in prepare_test_case()
924 new_cam[5] = a[5] + (cvtest::randReal(rng) - (double)0.5)*0.3*test_mat[INPUT][0].cols; //15% in prepare_test_case()