Home
last modified time | relevance | path

Searched refs:NORM_L1 (Results 1 – 25 of 48) sorted by relevance

12

/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)
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/
Dtest_npr.cpp65 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()
Dtest_cloning.cpp88 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()
Dtest_decolor.cpp66 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/
Dtest_lpsolver.cpp55 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()
Dtest_eigen.cpp65 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/
Dperf_batchDistance.cpp9 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/
Dtest_sepfilter2D.cpp85 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()
Dtest_filter2d.cpp79 cv::normalize(temp, kernel, 1.0, 0.0, NORM_L1); in PARAM_TEST_CASE()
/external/opencv3/modules/photo/src/
Dfast_nlmeans_denoising_opencl.hpp55 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()
Ddenoising.cpp145 case NORM_L1: in fastNlMeansDenoising()
349 case NORM_L1: in fastNlMeansDenoisingMulti()
/external/opencv3/modules/photo/test/ocl/
Dtest_denoising.cpp123 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/
Dperf_features2d.cpp153 … 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/
Dstat.cpp2578 …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/
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
392 NormType(cv::NORM_L1), in PERF_TEST_P() argument
/external/opencv3/modules/cudafeatures2d/src/
Dbrute_force_matcher.cpp181 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/
Dreductions.cpp97 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/
Dnormalize.cu147 if (normType == NORM_L1) in normalizeNorm()
244 …CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_… in normalize()
Dnorm.cu106 CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); in calcNormDiff()
/external/opencv3/modules/features2d/test/
Dtest_nearestneighbors.cpp201 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/
Dcuda_perf.hpp60 CV_ENUM(NormType, NORM_INF, NORM_L1, NORM_L2, NORM_HAMMING, NORM_MINMAX)
/external/opencv3/modules/shape/src/
Dhaus_dis.cpp51 HausdorffDistanceExtractorImpl(int _distanceFlag = NORM_L1, float _rankProportion=0.6) in HausdorffDistanceExtractorImpl()
/external/opencv3/modules/features2d/test/ocl/
Dtest_brute_force_matcher.cpp207 OCL_INSTANTIATE_TEST_CASE_P(Matcher, BruteForceMatcher, Combine( Values((int)NORM_L1, (int)NORM_L2),
/external/opencv3/modules/core/test/ocl/
Dtest_arithm.cpp1254 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/
Dtest.py73 self.assertTrue(cv2.norm(a, cv2.NORM_L1) == 15)

12