NORM_L1 67 modules/calib3d/test/test_homography.cpp int NORM_TYPE[COUNT_NORM_TYPES] = {cv::NORM_L1, cv::NORM_L2, cv::NORM_INF}; NORM_L1 842 modules/core/include/opencv2/core/matx.hpp normType == NORM_L1 ? (double)normL1<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n) : NORM_L1 1264 modules/core/misc/java/test/CoreTest.java double n = Core.norm(gray3, Core.NORM_L1, gray0); NORM_L1 1282 modules/core/misc/java/test/CoreTest.java double n = Core.norm(gray3, gray0, Core.NORM_L1, makeMask(gray0.clone(), 1)); NORM_L1 753 modules/core/perf/opencl/perf_arithm.cpp CV_ENUM(NormType, NORM_INF, NORM_L1, NORM_L2) NORM_L1 10 modules/core/perf/perf_norm.cpp CV_FLAGS(NormType, NORM_INF, NORM_L1, NORM_L2, NORM_TYPE_MASK, NORM_RELATIVE, NORM_MINMAX) NORM_L1 18 modules/core/perf/perf_norm.cpp testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2) NORM_L1 40 modules/core/perf/perf_norm.cpp testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2) NORM_L1 63 modules/core/perf/perf_norm.cpp testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2, (int)(NORM_RELATIVE+NORM_INF), (int)(NORM_RELATIVE+NORM_L1), (int)(NORM_RELATIVE+NORM_L2)) NORM_L1 86 modules/core/perf/perf_norm.cpp testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2, (int)(NORM_RELATIVE|NORM_INF), (int)(NORM_RELATIVE|NORM_L1), (int)(NORM_RELATIVE|NORM_L2)) NORM_L1 110 modules/core/perf/perf_norm.cpp testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2) NORM_L1 122 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); NORM_L1 136 modules/core/perf/perf_norm.cpp testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2) NORM_L1 149 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); NORM_L1 164 modules/core/perf/perf_norm.cpp testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2) NORM_L1 176 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); NORM_L1 5224 modules/core/src/matrix.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); NORM_L1 5231 modules/core/src/matrix.cpp else if( normType == NORM_L1 ) NORM_L1 5246 modules/core/src/matrix.cpp else if( normType == NORM_L1 ) NORM_L1 2578 modules/core/src/stat.cpp if ( !(normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR) || NORM_L1 2590 modules/core/src/stat.cpp else if (normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR) NORM_L1 2606 modules/core/src/stat.cpp result = normType == NORM_L1 || normType == NORM_L2SQR ? s : std::sqrt(s); NORM_L1 2619 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || NORM_L1 2641 modules/core/src/stat.cpp && (normType == NORM_INF || normType == NORM_L1 || NORM_L1 2656 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 2722 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 2749 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 2785 modules/core/src/stat.cpp normType == NORM_L1 ? norm + norm_array[i] : NORM_L1 2820 modules/core/src/stat.cpp if( normType == NORM_L1 ) NORM_L1 2891 modules/core/src/stat.cpp bool blockSum = (normType == NORM_L1 && depth <= CV_16S) || NORM_L1 2899 modules/core/src/stat.cpp intSumBlockSize = (normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15))/cn; NORM_L1 2954 modules/core/src/stat.cpp bool normsum = normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR; NORM_L1 3014 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR || NORM_L1 3020 modules/core/src/stat.cpp && (normType == NORM_INF || normType == NORM_L1 || NORM_L1 3037 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 3073 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 3084 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 3121 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || NORM_L1 3132 modules/core/src/stat.cpp && (normType == NORM_INF || normType == NORM_L1 || NORM_L1 3147 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 3180 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 3201 modules/core/src/stat.cpp normType == NORM_L1 ? norm1 + norm2 + norm3 : NORM_L1 3216 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 3243 modules/core/src/stat.cpp normType == NORM_L1 ? NORM_L1 3281 modules/core/src/stat.cpp normType == NORM_L1 ? norm + norm_array[i] : NORM_L1 3317 modules/core/src/stat.cpp if( normType == NORM_L1 ) NORM_L1 3376 modules/core/src/stat.cpp bool blockSum = (normType == NORM_L1 && depth <= CV_16S) || NORM_L1 3384 modules/core/src/stat.cpp intSumBlockSize = normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15); NORM_L1 3724 modules/core/src/stat.cpp if( normType == NORM_L1 && dtype == CV_32S ) NORM_L1 3726 modules/core/src/stat.cpp else if( normType == NORM_L1 && dtype == CV_32F ) NORM_L1 3741 modules/core/src/stat.cpp if( normType == NORM_L1 ) NORM_L1 1254 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L1)); NORM_L1 1255 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L1)); NORM_L1 1267 modules/core/test/ocl/test_arithm.cpp OCL_OFF(const double cpuRes = cv::norm(src1_roi, NORM_L1, mask_roi)); NORM_L1 1268 modules/core/test/ocl/test_arithm.cpp OCL_ON(const double gpuRes = cv::norm(usrc1_roi, NORM_L1, umask_roi)); NORM_L1 1349 modules/core/test/ocl/test_arithm.cpp int type = NORM_L1; NORM_L1 1369 modules/core/test/ocl/test_arithm.cpp int type = NORM_L1; NORM_L1 1242 modules/core/test/test_arithm.cpp if( normType == NORM_INF || normType == NORM_L1 || NORM_L1 65 modules/core/test/test_eigen.cpp const int NORM_TYPE[COUNT_NORM_TYPES] = {cv::NORM_L1, cv::NORM_L2, cv::NORM_INF}; NORM_L1 215 modules/core/test/test_eigen.cpp case cv::NORM_L1: std::cout << "L1"; break; NORM_L1 55 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); NORM_L1 66 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); NORM_L1 77 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); NORM_L1 92 modules/core/test/test_lpsolver.cpp ASSERT_LT(cvtest::norm(z, etalon_z, cv::NORM_L1), 1e-12); NORM_L1 1963 modules/core/test/test_math.cpp normval = cvtest::norm( w->row(i), NORM_L1 ); NORM_L1 57 modules/cudaarithm/perf/perf_reductions.cpp Values(NormType(cv::NORM_INF), NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) NORM_L1 96 modules/cudaarithm/perf/perf_reductions.cpp Values(NormType(cv::NORM_INF), NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) NORM_L1 392 modules/cudaarithm/perf/perf_reductions.cpp NormType(cv::NORM_L1), NORM_L1 97 modules/cudaarithm/src/reductions.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); NORM_L1 103 modules/cudaarithm/src/reductions.cpp if (normType == NORM_L1) NORM_L1 113 modules/cudaarithm/test/test_reductions.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2), NormCode(cv::NORM_INF)), NORM_L1 173 modules/cudaarithm/test/test_reductions.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2), NormCode(cv::NORM_INF)), NORM_L1 967 modules/cudaarithm/test/test_reductions.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2), NormCode(cv::NORM_INF), NormCode(cv::NORM_MINMAX)), NORM_L1 153 modules/cudafeatures2d/perf/perf_features2d.cpp Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2), NormType(cv::NORM_HAMMING)))) NORM_L1 211 modules/cudafeatures2d/perf/perf_features2d.cpp Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) NORM_L1 265 modules/cudafeatures2d/perf/perf_features2d.cpp Values(NormType(cv::NORM_L1), NormType(cv::NORM_L2)))) NORM_L1 181 modules/cudafeatures2d/src/brute_force_matcher.cpp CV_Assert( norm == NORM_L1 || norm == NORM_L2 || norm == NORM_HAMMING ); NORM_L1 358 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHamming; NORM_L1 420 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHamming; NORM_L1 618 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHamming; NORM_L1 704 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHamming; NORM_L1 887 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHamming; NORM_L1 956 modules/cudafeatures2d/src/brute_force_matcher.cpp const caller_t* callers = norm_ == NORM_L1 ? callersL1 : norm_ == NORM_L2 ? callersL2 : callersHamming; NORM_L1 707 modules/cudafeatures2d/test/test_features2d.cpp testing::Values(NormCode(cv::NORM_L1), NormCode(cv::NORM_L2)), NORM_L1 723 modules/features2d/include/opencv2/features2d.hpp enum { normType = NORM_L1 }; NORM_L1 9 modules/features2d/perf/perf_batchDistance.cpp CV_ENUM(NormType, NORM_L1, NORM_L2, NORM_L2SQR, NORM_HAMMING, NORM_HAMMING2) NORM_L1 23 modules/features2d/perf/perf_batchDistance.cpp testing::Combine(testing::Values((int)NORM_L1, (int)NORM_L2SQR), NORM_L1 107 modules/features2d/perf/perf_batchDistance.cpp testing::Combine(testing::Values((int)NORM_L1, (int)NORM_L2SQR), NORM_L1 813 modules/features2d/src/matchers.cpp (normType == NORM_L1 && queryDescriptors.type() == CV_8U) ? CV_32S : CV_32F; NORM_L1 934 modules/features2d/src/matchers.cpp (normType == NORM_L1 && queryDescriptors.type() == CV_8U) ? CV_32S : CV_32F; NORM_L1 994 modules/features2d/src/matchers.cpp dm = makePtr<BFMatcher>(int(NORM_L1)); NORM_L1 207 modules/features2d/test/ocl/test_brute_force_matcher.cpp OCL_INSTANTIATE_TEST_CASE_P(Matcher, BruteForceMatcher, Combine( Values((int)NORM_L1, (int)NORM_L2), NORM_L1 201 modules/features2d/test/test_nearestneighbors.cpp if( cvtest::norm( neighbors, neighbors1, NORM_L1 ) != 0 ) NORM_L1 233 modules/features2d/test/test_nearestneighbors.cpp if( cvtest::norm( neighbors, neighbors1, NORM_L1 ) != 0 ) NORM_L1 79 modules/imgcodecs/test/test_drawing.cpp float err = (float)cvtest::norm( testImg, valImg, NORM_L1 ); NORM_L1 236 modules/imgcodecs/test/test_grfmt.cpp double n = cvtest::norm(img, img_test, NORM_L1); NORM_L1 79 modules/imgproc/test/ocl/test_filter2d.cpp cv::normalize(temp, kernel, 1.0, 0.0, NORM_L1); NORM_L1 85 modules/imgproc/test/ocl/test_sepfilter2D.cpp cv::normalize(temp, kernelX, 1.0, 0.0, NORM_L1); NORM_L1 87 modules/imgproc/test/ocl/test_sepfilter2D.cpp cv::normalize(temp, kernelY, 1.0, 0.0, NORM_L1); NORM_L1 648 modules/imgproc/test/test_convhull.cpp if( cvtest::norm( _mask, Mat::zeros(_mask.dims, _mask.size, _mask.type()), NORM_L1 ) != hull_count ) NORM_L1 316 modules/ml/src/em.cpp normalize(sampleProbs, sampleProbs, 1, 0, NORM_L1); NORM_L1 285 modules/ml/src/kdtree.cpp CV_Assert(K > 0 && (normType == NORM_L2 || normType == NORM_L1)); NORM_L1 280 modules/ml/src/rtrees.cpp normalize(varImportance, varImportance, 1., 0, NORM_L1); NORM_L1 145 modules/photo/src/denoising.cpp case NORM_L1: NORM_L1 349 modules/photo/src/denoising.cpp case NORM_L1: NORM_L1 55 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int maxDist = normType == NORM_L1 ? std::numeric_limits<ST>::max() * cn : NORM_L1 72 modules/photo/src/fast_nlmeans_denoising_opencl.hpp normType == NORM_L1 ? " -D ABS" : "")); NORM_L1 92 modules/photo/src/fast_nlmeans_denoising_opencl.hpp (normType != NORM_L1 || (depth != CV_8U && depth != CV_16U)))) NORM_L1 125 modules/photo/src/fast_nlmeans_denoising_opencl.hpp normType == NORM_L1 ? " -D ABS" : ""); NORM_L1 123 modules/photo/test/ocl/test_denoising.cpp Combine(Values(1, 2, 3, 4), Values((int)NORM_L2, (int)NORM_L1), NORM_L1 126 modules/photo/test/ocl/test_denoising.cpp Combine(Values(1, 2, 3, 4), Values((int)NORM_L2, (int)NORM_L1), NORM_L1 88 modules/photo/test/test_cloning.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 119 modules/photo/test/test_cloning.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 151 modules/photo/test/test_cloning.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 177 modules/photo/test/test_cloning.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 201 modules/photo/test/test_cloning.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 227 modules/photo/test/test_cloning.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 66 modules/photo/test/test_decolor.cpp double error_grayscale = cvtest::norm(reference_grayscale, grayscale, NORM_L1); NORM_L1 70 modules/photo/test/test_decolor.cpp double error_boost = cvtest::norm(reference_boost, color_boost, NORM_L1); NORM_L1 65 modules/photo/test/test_npr.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 82 modules/photo/test/test_npr.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 100 modules/photo/test/test_npr.cpp double error = cvtest::norm(reference, result, NORM_L1); NORM_L1 117 modules/photo/test/test_npr.cpp double pencil_error = norm(pencil_reference, pencil_result, NORM_L1); NORM_L1 121 modules/photo/test/test_npr.cpp double color_pencil_error = cvtest::norm(color_pencil_reference, color_pencil_result, NORM_L1); NORM_L1 138 modules/photo/test/test_npr.cpp double stylized_error = cvtest::norm(stylized_reference, result, NORM_L1); NORM_L1 51 modules/shape/src/haus_dis.cpp HausdorffDistanceExtractorImpl(int _distanceFlag = NORM_L1, float _rankProportion=0.6) NORM_L1 60 modules/ts/include/opencv2/ts/cuda_perf.hpp CV_ENUM(NormType, NORM_INF, NORM_L1, NORM_L2, NORM_HAMMING, NORM_MINMAX) NORM_L1 318 modules/ts/include/opencv2/ts/cuda_test.hpp CV_ENUM(NormCode, NORM_INF, NORM_L1, NORM_L2, NORM_TYPE_MASK, NORM_RELATIVE, NORM_MINMAX) NORM_L1 1148 modules/ts/src/ts_func.cpp else if( normType == NORM_L1 ) NORM_L1 1205 modules/ts/src/ts_func.cpp else if( normType == NORM_L1 ) NORM_L1 1272 modules/ts/src/ts_func.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); NORM_L1 1354 modules/ts/src/ts_func.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 );