Home
last modified time | relevance | path

Searched refs:NORM_INF (Results 1 – 25 of 57) sorted by relevance

123

/external/opencv3/modules/core/perf/
Dperf_norm.cpp10 CV_FLAGS(NormType, NORM_INF, NORM_L1, NORM_L2, NORM_TYPE_MASK, NORM_RELATIVE, NORM_MINMAX)
18 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
40 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
63 …testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2, (int)(NORM_RELATIVE+NORM_INF), (int)(NO…
86 …testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2, (int)(NORM_RELATIVE|NORM_INF), (int)(NO…
110 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
136 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
164 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
/external/opencv3/modules/photo/test/
Dtest_inpaint.cpp94 double n1 = cvtest::norm(diff1.reshape(1), NORM_INF, inv_mask.reshape(1)); in run()
95 double n2 = cvtest::norm(diff2.reshape(1), NORM_INF, inv_mask.reshape(1)); in run()
106 n1 = cvtest::norm(diff1.reshape(1), NORM_INF, mask.reshape(1)); in run()
107 n2 = cvtest::norm(diff2.reshape(1), NORM_INF, mask.reshape(1)); in run()
/external/opencv3/modules/java/android_test/src/org/opencv/test/android/
DUtilsTest.java37 double maxDiff = Core.norm(m16, m32, Core.NORM_INF); in testBitmapToMat()
81 maxDiff = Core.norm(imgRGBA, m16, Core.NORM_INF); in testMatToBitmap()
87 maxDiff = Core.norm(imgRGBA, m32, Core.NORM_INF); in testMatToBitmap()
99 maxDiff = Core.norm(imgRGBA, m16, Core.NORM_INF); in testMatToBitmap()
105 maxDiff = Core.norm(imgRGBA, m32, Core.NORM_INF); in testMatToBitmap()
119 maxDiff = Core.norm(imgGray, tmp, Core.NORM_INF); in testMatToBitmap()
127 maxDiff = Core.norm(imgGray, tmp, Core.NORM_INF); in testMatToBitmap()
/external/opencv3/modules/calib3d/test/
Dtest_homography_decomp.cpp121 double rdist = norm(*riter, _R, NORM_INF); in containsValidMotion()
122 double tdist = norm(*titer, _t, NORM_INF); in containsValidMotion()
123 double ndist = norm(*niter, _n, NORM_INF); in containsValidMotion()
Dtest_decompose_projection.cpp114 if ( norm(origK, K, cv::NORM_INF) > thresh ) in run()
120 if ( norm(origR, R, cv::NORM_INF) > thresh ) in run()
126 if ( norm(origT, t, cv::NORM_INF) > thresh ) in run()
Dtest_solvepnp_ransac.cpp310 double rnorm = cvtest::norm(rvec1, rvec2, NORM_INF); in TEST()
311 double tnorm = cvtest::norm(tvec1, tvec2, NORM_INF); in TEST()
338 ASSERT_LE(norm(R, Mat_<double>(RF), NORM_INF), 1e-3); in TEST()
339 ASSERT_LE(norm(t, Mat_<double>(tF), NORM_INF), 1e-3); in TEST()
Dtest_affine3d_estimator.cpp111 if (cvtest::norm(aff_est, aff, NORM_INF) > thres) in test4Points()
164 if (cvtest::norm(aff_est, aff, NORM_INF) > thres) in testNPoints()
Dtest_affine3.cpp80 ASSERT_LT(cvtest::norm(diff, cv::NORM_INF), 1e-15); in TEST()
/external/opencv3/modules/imgproc/test/
Dtest_connectedcomponents.cpp94 if (0 != cvtest::norm(labelImage > 0, exp > 0, NORM_INF)) in run()
99 if (nLabels != cvtest::norm(labelImage, NORM_INF)+1) in run()
Dtest_watershed.cpp124 if (0 != norm(markers8U, exp, NORM_INF)) in run()
/external/opencv3/modules/ts/include/opencv2/ts/
Docl_test.hpp292 return cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask) / in checkNormRelative()
294 …(double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))… in checkNormRelative()
299 double norm_inf = cvtest::norm(m1.getMat(), m2.getMat(), cv::NORM_INF, mask); in checkNormRelativeSparse()
302 …(double)std::max(cvtest::norm(m1.getMat(), cv::NORM_INF), cvtest::norm(m2.getMat(), cv::NORM_INF))… in checkNormRelativeSparse()
Dcuda_perf.hpp60 CV_ENUM(NormType, NORM_INF, NORM_L1, NORM_L2, NORM_HAMMING, NORM_MINMAX)
/external/opencv3/modules/video/test/
Dtest_estimaterigid.cpp157 if (cvtest::norm(aff_est, aff, NORM_INF) > thres) in testImage()
161 cvtest::norm(aff_est, aff, NORM_INF) ); in testImage()
/external/opencv3/modules/calib3d/src/
Dlevmarq.cpp179 … bool proceed = iter < maxIters && norm(d, NORM_INF) >= epsx && norm(r, NORM_INF) >= epsf; in run()
/external/opencv3/modules/core/test/
Dtest_hal_core.cpp115 EXPECT_LE(norm(dst, dst0, NORM_INF | NORM_RELATIVE), eps); in TEST()
186 EXPECT_LE(norm(x, x0, NORM_INF | NORM_RELATIVE), eps); in TEST()
Dtest_umat.cpp572 if (cvtest::norm(m1, m2, NORM_INF) != 0) in checkDiff()
577 if (cvtest::norm(m1, m2, NORM_INF) > 1e-5) in checkDiffF()
730 double err = cvtest::norm(m, ref, NORM_INF); in TEST()
751 EXPECT_EQ(0, cvtest::norm(um.getMat(ACCESS_READ), cv::Mat(um.size(), um.type(), 19), NORM_INF)); in TEST()
769 EXPECT_EQ(0, cvtest::norm(um.getMat(ACCESS_READ), Mat(um.size(), um.type(), 17), NORM_INF)); in TEST()
Dtest_eigen.cpp65 const int NORM_TYPE[COUNT_NORM_TYPES] = {cv::NORM_L1, cv::NORM_L2, cv::NORM_INF};
217 case cv::NORM_INF: std::cout << "INF"; break; in print_information()
/external/opencv3/samples/android/image-manipulations/src/org/opencv/samples/imagemanipulations/
DImageManipulationsActivity.java228 Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); in onCameraFrame()
241 Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); in onCameraFrame()
251 Core.normalize(hist, hist, sizeRgba.height/2, 0, Core.NORM_INF); in onCameraFrame()
/external/opencv3/modules/cudaarithm/perf/
Dperf_reductions.cpp57 Values(NormType(cv::NORM_INF), NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) in PERF_TEST_P() argument
96 Values(NormType(cv::NORM_INF), NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) in PERF_TEST_P() argument
391 Values(NormType(cv::NORM_INF), in PERF_TEST_P() argument
/external/opencv3/samples/gpu/
Dmulti.cpp98 bool passed = cv::norm(dst - Mat(d_dst), NORM_INF) < 1e-3; in operator ()()
Ddriver_api_multi.cpp141 bool passed = cv::norm(dst - Mat(d_dst), NORM_INF) < 1e-3; in operator ()()
/external/opencv3/modules/imgcodecs/test/
Dtest_grfmt.cpp493 EXPECT_EQ(0, cvtest::norm(img_jpg_progressive, img_jpg_normal, NORM_INF)); in TEST()
517 EXPECT_EQ(0, cvtest::norm(img_jpg_optimized, img_jpg_normal, NORM_INF)); in TEST()
541 EXPECT_EQ(0, cvtest::norm(img_jpg_rst, img_jpg_normal, NORM_INF)); in TEST()
794 EXPECT_TRUE(cvtest::norm(decode, img_webp, NORM_INF) == 0); in TEST()
798 EXPECT_TRUE(cvtest::norm(img, img_webp, NORM_INF) == 0); in TEST()
/external/opencv3/modules/ts/src/
Docl_test.cpp240 return cvtest::norm(m.getMat(), NORM_INF, mask.getMat()); in checkNorm1()
245 return cvtest::norm(m1.getMat(), m2.getMat(), NORM_INF, mask.getMat()); in checkNorm2()
/external/opencv3/modules/ml/test/
Dtest_save_load.cpp294 EXPECT_LE(norm(r1, r2, NORM_INF), eps); in TEST()
295 EXPECT_LE(norm(r1, r3, NORM_INF), eps); in TEST()
/external/opencv3/modules/core/src/
Dstat.cpp2578 …if ( !(normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQ… in ocl_norm()
2584 if (normType == NORM_INF) in ocl_norm()
2619 CV_Assert( normType == NORM_INF || normType == NORM_L1 || in norm()
2641 && (normType == NORM_INF || normType == NORM_L1 || in norm()
2650 normType == NORM_INF ? in norm()
2733 normType == NORM_INF ? in norm()
2784 normType == NORM_INF ? std::max(norm, norm_array[i]) : in norm()
2826 if( normType == NORM_INF ) in norm()
2924 if( normType == NORM_INF ) in norm()
3014 …CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_… in norm()
[all …]

123