Searched defs:camera_mat (Results 1 - 5 of 5) sorted by relevance

/external/opencv3/modules/cudalegacy/perf/
H A Dperf_calib3d.cpp68 const cv::Mat camera_mat = cv::Mat::ones(3, 3, CV_32FC1); local
75 TEST_CYCLE() cv::cuda::projectPoints(d_src, rvec, tvec, camera_mat, cv::Mat(), dst);
83 TEST_CYCLE() cv::projectPoints(src, rvec, tvec, camera_mat, cv::noArray(), dst);
102 cv::Mat camera_mat(3, 3, CV_32FC1);
103 cv::randu(camera_mat, 0.5, 1);
104 camera_mat.at<float>(0, 1) = 0.f;
105 camera_mat.at<float>(1, 0) = 0.f;
106 camera_mat.at<float>(2, 0) = 0.f;
107 camera_mat.at<float>(2, 1) = 0.f;
118 cv::projectPoints(object, rvec_gold, tvec_gold, camera_mat, dist_coe
[all...]
/external/opencv3/modules/cudalegacy/test/
H A Dtest_calib3d.cpp119 cv::Mat camera_mat = randomMat(cv::Size(3, 3), CV_32F, 0.5, 1); local
120 camera_mat.at<float>(0, 1) = 0.f;
121 camera_mat.at<float>(1, 0) = 0.f;
122 camera_mat.at<float>(2, 0) = 0.f;
123 camera_mat.at<float>(2, 1) = 0.f;
126 cv::cuda::projectPoints(loadMat(src), rvec, tvec, camera_mat, cv::Mat(), dst); local
132 cv::projectPoints(src, rvec, tvec, camera_mat, cv::Mat(1, 8, CV_32F, cv::Scalar::all(0)), dst_gold);
167 cv::Mat camera_mat = randomMat(cv::Size(3, 3), CV_32F, 0.5, 1); local
168 camera_mat.at<float>(0, 1) = 0.f;
169 camera_mat
[all...]
/external/opencv3/modules/calib3d/test/
H A Dtest_undistort_badarg.cpp70 cv::Mat camera_mat; member in class:CV_UndistortPointsBadArgTest
89 cv::undistortPoints(src_points,dst_points,camera_mat,distortion_coeffs,R,P);
252 camera_mat = cv::cvarrToMat(&_camera_mat_orig);
307 cv::Mat camera_mat; member in class:CV_InitUndistortRectifyMapBadArgTest
327 cv::initUndistortRectifyMap(camera_mat,distortion_coeffs,R,new_camera_mat,img_size,mat_type,mapx,mapy);
371 camera_mat = cv::cvarrToMat(&_camera_mat_orig);
384 camera_mat = cv::cvarrToMat(temp);
386 camera_mat = cv::cvarrToMat(&_camera_mat_orig);
431 cv::Mat camera_mat; member in class:CV_UndistortBadArgTest
449 cv::undistort(src,dst,camera_mat,distortion_coeff
[all...]
H A Dtest_undistort.cpp61 cv::Mat camera_mat; member in class:CV_DefaultNewCameraMatrixTest
105 // Generating camera_mat matrix
117 camera_mat = _a0;
125 new_camera_mat = cv::getDefaultNewCameraMatrix(camera_mat,img_size,center_principal_point);
188 cv::Mat camera_mat; member in class:CV_UndistortPointsTest
371 camera_mat = test_mat[INPUT][1];
462 //cv::undistortPoints(src_points,dst_points_mat,camera_mat,distortion_coeffs,R,P);
463 cv::undistortPoints(src_points,dst_points_mat,camera_mat,input2,input3,input4);
467 //cv::undistortPoints(src_points,dst_points,camera_mat,distortion_coeffs,R,P);
468 cv::undistortPoints(src_points,dst_points,camera_mat,input
594 cv::Mat camera_mat; member in class:CV_InitUndistortRectifyMapTest
[all...]
/external/opencv3/samples/gpu/performance/
H A Dtests.cpp847 Mat camera_mat; gen(camera_mat, 3, 3, CV_32F, 0, 1); local
848 camera_mat.at<float>(0, 1) = 0.f;
849 camera_mat.at<float>(1, 0) = 0.f;
850 camera_mat.at<float>(2, 0) = 0.f;
851 camera_mat.at<float>(2, 1) = 0.f;
859 projectPoints(src, rvec, tvec, camera_mat, Mat::zeros(1, 8, CV_32F), dst);
862 projectPoints(src, rvec, tvec, camera_mat, Mat::zeros(1, 8, CV_32F), dst);
867 cuda::projectPoints(d_src, rvec, tvec, camera_mat, Mat(), d_dst);
870 cuda::projectPoints(d_src, rvec, tvec, camera_mat, Ma
895 Mat camera_mat; gen(camera_mat, 3, 3, CV_32F, 0.5, 1); local
[all...]

Completed in 261 milliseconds