Home
last modified time | relevance | path

Searched refs:EXPECT_MAT_NEAR (Results 1 – 25 of 45) sorted by relevance

12

/external/opencv3/modules/cudaimgproc/test/
Dtest_color.cpp84 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
97 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
110 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
124 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
138 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
152 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
165 EXPECT_MAT_NEAR(dst_gold, dst, 1e-5); in CUDA_TEST_P()
178 EXPECT_MAT_NEAR(dst_gold, dst, 1e-5); in CUDA_TEST_P()
192 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
206 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
[all …]
Dtest_mean_shift.cpp94 EXPECT_MAT_NEAR(img_template, result, 0.0); in CUDA_TEST_P()
119 EXPECT_MAT_NEAR(rmap_filtered, rmap, 0.0); in CUDA_TEST_P()
120 EXPECT_MAT_NEAR(spmap_template, spmap, 0.0); in CUDA_TEST_P()
Dtest_histogram.cpp86 EXPECT_MAT_NEAR(hist_gold, hist, 0.0); in CUDA_TEST_P()
130 EXPECT_MAT_NEAR(hist_gold, hist, 0.0); in CUDA_TEST_P()
164 EXPECT_MAT_NEAR(dst_gold, dst, 3.0); in CUDA_TEST_P()
/external/opencv3/modules/cudaarithm/test/
Dtest_opengl.cpp105 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
118 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
153 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
167 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
183 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
195 EXPECT_MAT_NEAR(gold, dst, 0); in CUDA_TEST_P()
213 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
229 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
240 EXPECT_MAT_NEAR(gold, dst, 0); in CUDA_TEST_P()
259 EXPECT_MAT_NEAR(gold, bufData, 0); in CUDA_TEST_P()
[all …]
Dtest_gpumat.cpp80 EXPECT_MAT_NEAR(cv::Mat::zeros(size, type), mat, 0.0); in CUDA_TEST_P()
104 EXPECT_MAT_NEAR(cv::Mat(size, type, val), mat, 0.0); in CUDA_TEST_P()
129 EXPECT_MAT_NEAR(cv::Mat(size, type, val), mat, 0.0); in CUDA_TEST_P()
158 EXPECT_MAT_NEAR(mat_gold, mat, 0.0); in CUDA_TEST_P()
198 EXPECT_MAT_NEAR(src, dst, 0.0); in CUDA_TEST_P()
228 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
287 EXPECT_MAT_NEAR(dst_gold, dst, depth2 < CV_32F ? 1.0 : 1e-4); in CUDA_TEST_P()
319 EXPECT_MAT_NEAR(dst_gold, dst, depth2 < CV_32F ? 1.0 : 1e-4); in CUDA_TEST_P()
Dtest_element_operations.cpp104EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
166EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
223EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
254EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
311EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
342EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
407EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
469EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 0.0); in CUDA_TEST_P()
526EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
557EXPECT_MAT_NEAR(dst_gold, dst, depth.first >= CV_32F || depth.second >= CV_32F ? 1e-4 : 1.0); in CUDA_TEST_P()
[all …]
Dtest_core.cpp103 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
169 EXPECT_MAT_NEAR(dst_gold[i], dst[i], 0.0); in CUDA_TEST_P()
226 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
279 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
334 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
350 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
400 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in CUDA_TEST_P()
Dtest_buffer_pool.cpp87 EXPECT_MAT_NEAR(Mat(Size(640, 480), CV_8UC1, Scalar::all(1)), dst_1, 0.0); in CheckSimpleTest()
88 EXPECT_MAT_NEAR(Mat(Size(1280, 1024), CV_32SC1, Scalar::all(2)), dst_2, 0.0); in CheckSimpleTest()
Dtest_arithm.cpp117 EXPECT_MAT_NEAR(dst_gold, dst, CV_MAT_DEPTH(type) == CV_32F ? 1e-1 : 1e-10); in CUDA_TEST_P()
162 EXPECT_MAT_NEAR(c_gold, c, 1e-2); in CUDA_TEST_P()
176 EXPECT_MAT_NEAR(c_gold, c, 1e-2); in CUDA_TEST_P()
222 EXPECT_MAT_NEAR(b_gold, cv::Mat(d_b), rows * cols * 1e-4); in testC2C()
286 EXPECT_MAT_NEAR(a, c, rows * cols * 1e-5); in testR2CThenC2R()
393 EXPECT_MAT_NEAR(dst, dst_gold, 1e-1); in CUDA_TEST_P()
/external/opencv3/modules/cudev/test/
Dtest_arithm_op.cu75 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat()
93 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_globptr()
111 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_texptr()
130 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_expr()
178 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat_gpumat()
196 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_texptr_scalar()
216 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_expr_gpumat()
235 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_scalar_expr()
283 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat_gpumat()
301 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_texptr_scalar()
[all …]
Dtest_deriv.cu67 EXPECT_MAT_NEAR(dx_gold, dx, 0.0); in TEST()
68 EXPECT_MAT_NEAR(dy_gold, dy, 0.0); in TEST()
87 EXPECT_MAT_NEAR(dx_gold, dx, 0.0); in TEST()
88 EXPECT_MAT_NEAR(dy_gold, dy, 0.0); in TEST()
107 EXPECT_MAT_NEAR(dst1_gold, dst1, 0.0); in TEST()
108 EXPECT_MAT_NEAR(dst3_gold, dst3, 0.0); in TEST()
Dtest_reduction.cu152 EXPECT_MAT_NEAR(dst1, dst2, 0.0); in TEST()
168 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in TEST()
184 EXPECT_MAT_NEAR(dst_gold, dst, 1e-4); in TEST()
200 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in TEST()
216 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in TEST()
235 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in TEST()
254 EXPECT_MAT_NEAR(dst_gold, dst, 1e-4); in TEST()
273 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in TEST()
292 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in TEST()
323 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in TEST()
Dtest_arithm_func.cu72 EXPECT_MAT_NEAR(dst_gold, dst, 1e-4); in test_gpumat()
91 EXPECT_MAT_NEAR(dst_gold, dst, 1e-4); in test_expr()
128 EXPECT_MAT_NEAR(dst1, dst2, 1e-4); in test_accuracy()
129 EXPECT_MAT_NEAR(dst2, dst3, 0.0); in test_accuracy()
159 EXPECT_MAT_NEAR(dst1, dst2, 1e-5); in test_accuracy()
Dtest_bitwize_op.cu74 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat()
107 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat_gpumat()
137 EXPECT_MAT_NEAR(dst1, dst2, 0.0); in test_accuracy()
Dtest_cmp_op.cu75 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat_gpumat()
108 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat_gpumat()
142 EXPECT_MAT_NEAR(dst_gold, dst, 0.0); in test_gpumat()
/external/opencv3/modules/core/test/
Dtest_umat.cpp127 EXPECT_MAT_NEAR(ub,uc, 0); in TEST_P()
128 EXPECT_MAT_NEAR(ud, ua, 0); in TEST_P()
144 EXPECT_MAT_NEAR(ub,ua,0); in TEST_P()
186 EXPECT_MAT_NEAR(roi_a, roi_ua, 0); in TEST_P()
188 EXPECT_MAT_NEAR(roi_ua, roi_a, 0); in TEST_P()
190 EXPECT_MAT_NEAR(roi_ua, ua, 0); in TEST_P()
192 EXPECT_MAT_NEAR(ua, a, 0); in TEST_P()
197 EXPECT_MAT_NEAR(ua, ub, 0); in TEST_P()
203 EXPECT_MAT_NEAR(a.col(i), ub, 0); in TEST_P()
208 EXPECT_MAT_NEAR(ua.col(i), ub, 0); in TEST_P()
[all …]
/external/opencv3/modules/photo/test/
Dtest_denoising.cuda.cpp84 EXPECT_MAT_NEAR(bgr_gold, dbgr, 1e-4); in TEST()
85 EXPECT_MAT_NEAR(gray_gold, dgray, 1e-4); in TEST()
115 EXPECT_MAT_NEAR(bgr_gold, dbgr, 1); in TEST()
116 EXPECT_MAT_NEAR(gray_gold, dgray, 1); in TEST()
/external/opencv3/modules/calib3d/test/
Dtest_fisheye.cpp97 EXPECT_MAT_NEAR(distorted0, distorted1, 1e-10); in TEST_F()
98 EXPECT_MAT_NEAR(distorted0, distorted2, 1e-10); in TEST_F()
116 EXPECT_MAT_NEAR(correct, undistorted, 1e-10); in TEST_F()
126 EXPECT_MAT_NEAR(correct, undistorted, 1e-10); in TEST_F()
137 EXPECT_MAT_NEAR(correct, undistorted, 1e-10); in TEST_F()
267 EXPECT_MAT_NEAR(K, this->K, 1e-10); in TEST_F()
268 EXPECT_MAT_NEAR(D, this->D, 1e-10); in TEST_F()
329 EXPECT_MAT_NEAR(std_err, correct_std_err, 1e-12); in TEST_F()
380 EXPECT_MAT_NEAR(errors.f, cv::Vec2d(1.29837104202046, 1.31565641071524), 1e-10); in TEST_F()
381 EXPECT_MAT_NEAR(errors.c, cv::Vec2d(0.890439368129246, 0.816096854937896), 1e-10); in TEST_F()
[all …]
/external/opencv3/modules/core/test/ocl/
Dtest_matrix_expr.cpp45 EXPECT_MAT_NEAR(m, um, 0); in OCL_TEST_P()
60 EXPECT_MAT_NEAR(m, um, 0); in OCL_TEST_P()
75 EXPECT_MAT_NEAR(m, um, 0); in OCL_TEST_P()
/external/opencv3/modules/cudastereo/test/
Dtest_stereo.cpp79 EXPECT_MAT_NEAR(disp_gold, disp, 0.0); in CUDA_TEST_P()
122 EXPECT_MAT_NEAR(disp_gold, h_disp, 0.0); in CUDA_TEST_P()
166 EXPECT_MAT_NEAR(disp_gold, h_disp, 1.0); in CUDA_TEST_P()
203 EXPECT_MAT_NEAR(dst_gold, dst, 1e-5); in CUDA_TEST_P()
/external/opencv3/modules/stitching/test/ocl/
Dtest_warpers.cpp77 EXPECT_MAT_NEAR(xmap, uxmap, threshold); in Near()
78 EXPECT_MAT_NEAR(ymap, uymap, threshold); in Near()
79 EXPECT_MAT_NEAR(dst, udst, threshold); in Near()
/external/opencv3/modules/imgproc/test/ocl/
Dtest_medianfilter.cpp85 EXPECT_MAT_NEAR(dst, udst, threshold); in PARAM_TEST_CASE()
86 EXPECT_MAT_NEAR(dst_roi, udst_roi, threshold); in PARAM_TEST_CASE()
Dtest_filter2d.cpp106 EXPECT_MAT_NEAR(dst, udst, threshold); in PARAM_TEST_CASE()
107 EXPECT_MAT_NEAR(dst_roi, udst_roi, threshold); in PARAM_TEST_CASE()
/external/opencv3/modules/cudafilters/test/
Dtest_filters.cpp109 EXPECT_MAT_NEAR(dst_gold, dst, 1.0); in CUDA_TEST_P()
161 EXPECT_MAT_NEAR(dst_gold, dst, CV_MAT_DEPTH(type) == CV_32F ? 1e-1 : 1.0); in CUDA_TEST_P()
208 EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 1e-3); in CUDA_TEST_P()
265 EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 1.0 : 1e-2); in CUDA_TEST_P()
337 EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 0.1); in CUDA_TEST_P()
402 EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 0.0 : 0.1); in CUDA_TEST_P()
463 EXPECT_MAT_NEAR(dst_gold, dst, src.depth() < CV_32F ? 4.0 : 1e-4); in CUDA_TEST_P()
532 EXPECT_MAT_NEAR(getInnerROI(dst_gold, ksize), getInnerROI(dst, ksize), 0.0); in CUDA_TEST_P()
583 EXPECT_MAT_NEAR(getInnerROI(dst_gold, ksize), getInnerROI(dst, ksize), 0.0); in CUDA_TEST_P()
638 EXPECT_MAT_NEAR(getInnerROI(dst_gold, border), getInnerROI(dst, border), 0.0); in CUDA_TEST_P()
/external/opencv3/modules/video/test/ocl/
Dtest_bgfg_mog2.cpp75 EXPECT_MAT_NEAR(foreground, u_foreground, 0); in OCL_TEST_P()
120 EXPECT_MAT_NEAR(background, u_background, 1.0); in OCL_TEST_P()

12