/external/opencv3/modules/core/perf/ |
D | perf_norm.cpp | 10 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) 122 if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); 136 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2) 149 if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); 164 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2) [all …]
|
/external/opencv3/modules/photo/test/ |
D | test_npr.cpp | 65 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 82 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 100 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 117 double pencil_error = norm(pencil_reference, pencil_result, NORM_L1); in TEST() 121 double color_pencil_error = cvtest::norm(color_pencil_reference, color_pencil_result, NORM_L1); in TEST() 138 double stylized_error = cvtest::norm(stylized_reference, result, NORM_L1); in TEST()
|
D | test_cloning.cpp | 88 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 119 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 151 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 177 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 201 double error = cvtest::norm(reference, result, NORM_L1); in TEST() 227 double error = cvtest::norm(reference, result, NORM_L1); in TEST()
|
D | test_decolor.cpp | 66 double error_grayscale = cvtest::norm(reference_grayscale, grayscale, NORM_L1); in TEST() 70 double error_boost = cvtest::norm(reference_boost, color_boost, NORM_L1); in TEST()
|
/external/opencv3/modules/core/test/ |
D | test_lpsolver.cpp | 55 ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); in TEST() 66 ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); in TEST() 77 ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); in TEST() 92 ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); in TEST()
|
D | test_eigen.cpp | 65 const int NORM_TYPE[COUNT_NORM_TYPES] = {cv::NORM_L1, cv::NORM_L2, cv::NORM_INF}; 215 case cv::NORM_L1: std::cout << "L1"; break; in print_information()
|
/external/opencv3/modules/features2d/perf/ |
D | perf_batchDistance.cpp | 9 CV_ENUM(NormType, NORM_L1, NORM_L2, NORM_L2SQR, NORM_HAMMING, NORM_HAMMING2) 23 testing::Combine(testing::Values((int)NORM_L1, (int)NORM_L2SQR), 107 testing::Combine(testing::Values((int)NORM_L1, (int)NORM_L2SQR),
|
/external/opencv3/modules/imgproc/test/ocl/ |
D | test_sepfilter2D.cpp | 85 cv::normalize(temp, kernelX, 1.0, 0.0, NORM_L1); in PARAM_TEST_CASE() 87 cv::normalize(temp, kernelY, 1.0, 0.0, NORM_L1); in PARAM_TEST_CASE()
|
D | test_filter2d.cpp | 79 cv::normalize(temp, kernel, 1.0, 0.0, NORM_L1); in PARAM_TEST_CASE()
|
/external/opencv3/modules/photo/src/ |
D | fast_nlmeans_denoising_opencl.hpp | 55 int maxDist = normType == NORM_L1 ? std::numeric_limits<ST>::max() * cn : in ocl_calcAlmostDist2Weight() 72 normType == NORM_L1 ? " -D ABS" : "")); in ocl_calcAlmostDist2Weight() 92 (normType != NORM_L1 || (depth != CV_8U && depth != CV_16U)))) in ocl_fastNlMeansDenoising() 125 normType == NORM_L1 ? " -D ABS" : ""); in ocl_fastNlMeansDenoising()
|
D | denoising.cpp | 145 case NORM_L1: in fastNlMeansDenoising() 349 case NORM_L1: in fastNlMeansDenoisingMulti()
|
/external/opencv3/modules/photo/test/ocl/ |
D | test_denoising.cpp | 123 Combine(Values(1, 2, 3, 4), Values((int)NORM_L2, (int)NORM_L1), 126 Combine(Values(1, 2, 3, 4), Values((int)NORM_L2, (int)NORM_L1),
|
/external/opencv3/modules/cudafeatures2d/perf/ |
D | perf_features2d.cpp | 153 … Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2), NormType(cv::NORM_HAMMING)))) 211 Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) 265 Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2))))
|
/external/opencv3/modules/core/src/ |
D | stat.cpp | 2578 …if ( !(normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQ… in ocl_norm() 2590 else if (normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR) in ocl_norm() 2606 result = normType == NORM_L1 || normType == NORM_L2SQR ? s : std::sqrt(s); in ocl_norm() 2619 CV_Assert( normType == NORM_INF || normType == NORM_L1 || in norm() 2641 && (normType == NORM_INF || normType == NORM_L1 || in norm() 2656 normType == NORM_L1 ? in norm() 2722 normType == NORM_L1 ? in norm() 2749 normType == NORM_L1 ? in norm() 2785 normType == NORM_L1 ? norm + norm_array[i] : in norm() 2820 if( normType == NORM_L1 ) in norm() [all …]
|
/external/opencv3/modules/cudaarithm/perf/ |
D | perf_reductions.cpp | 57 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 392 NormType(cv::NORM_L1), in PERF_TEST_P() argument
|
/external/opencv3/modules/cudafeatures2d/src/ |
D | brute_force_matcher.cpp | 181 CV_Assert( norm == NORM_L1 || norm == NORM_L2 || norm == NORM_HAMMING ); in BFMatcher_Impl() 358 …const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHam… in matchAsync() 420 …const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHam… in matchAsync() 618 …const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHam… in knnMatchAsync() 704 …const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHam… in knnMatchAsync() 887 …const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHam… in radiusMatchAsync() 956 …const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHam… in radiusMatchAsync()
|
/external/opencv3/modules/cudaarithm/src/ |
D | reductions.cpp | 97 CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); in calcNorm() 103 if (normType == NORM_L1) in calcNorm()
|
/external/opencv3/modules/cudaarithm/src/cuda/ |
D | normalize.cu | 147 if (normType == NORM_L1) in normalizeNorm() 244 …CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_… in normalize()
|
D | norm.cu | 106 CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); in calcNormDiff()
|
/external/opencv3/modules/features2d/test/ |
D | test_nearestneighbors.cpp | 201 if( cvtest::norm( neighbors, neighbors1, NORM_L1 ) != 0 ) in knnSearch() 233 if( cvtest::norm( neighbors, neighbors1, NORM_L1 ) != 0 ) in radiusSearch()
|
/external/opencv3/modules/ts/include/opencv2/ts/ |
D | cuda_perf.hpp | 60 CV_ENUM(NormType, NORM_INF, NORM_L1, NORM_L2, NORM_HAMMING, NORM_MINMAX)
|
/external/opencv3/modules/shape/src/ |
D | haus_dis.cpp | 51 HausdorffDistanceExtractorImpl(int _distanceFlag = NORM_L1, float _rankProportion=0.6) in HausdorffDistanceExtractorImpl()
|
/external/opencv3/modules/features2d/test/ocl/ |
D | test_brute_force_matcher.cpp | 207 OCL_INSTANTIATE_TEST_CASE_P(Matcher, BruteForceMatcher, Combine( Values((int)NORM_L1, (int)NORM_L2),
|
/external/opencv3/modules/core/test/ocl/ |
D | test_arithm.cpp | 1254 OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L1)); in OCL_TEST_P() 1255 OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L1)); in OCL_TEST_P() 1267 OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L1, mask_roi)); in OCL_TEST_P() 1268 OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L1, umask_roi)); in OCL_TEST_P() 1349 int type = NORM_L1; in OCL_TEST_P() 1369 int type = NORM_L1; in OCL_TEST_P()
|
/external/opencv3/modules/python/test/ |
D | test.py | 73 self.assertTrue(cv2.norm(a, cv2.NORM_L1) == 15)
|