normType 648 modules/core/include/opencv2/core.hpp CV_EXPORTS_W double norm(InputArray src1, int normType = NORM_L2, InputArray mask = noArray()); normType 657 modules/core/include/opencv2/core.hpp int normType = NORM_L2, InputArray mask = noArray()); normType 662 modules/core/include/opencv2/core.hpp CV_EXPORTS double norm( const SparseMat& src, int normType ); normType 678 modules/core/include/opencv2/core.hpp int normType = NORM_L2, int K = 0, normType 719 modules/core/include/opencv2/core.hpp CV_EXPORTS void normalize( const SparseMat& src, SparseMat& dst, double alpha, int normType ); normType 266 modules/core/include/opencv2/core/matx.hpp template<typename _Tp, int m, int n> static double norm(const Matx<_Tp, m, n>& M, int normType); normType 839 modules/core/include/opencv2/core/matx.hpp double norm(const Matx<_Tp, m, n>& M, int normType) normType 841 modules/core/include/opencv2/core/matx.hpp return normType == NORM_INF ? (double)normInf<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n) : normType 842 modules/core/include/opencv2/core/matx.hpp normType == NORM_L1 ? (double)normL1<_Tp, typename DataType<_Tp>::work_type>(M.val, m*n) : normType 765 modules/core/perf/opencl/perf_arithm.cpp const int normType = get<2>(params); normType 773 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, normType); normType 785 modules/core/perf/opencl/perf_arithm.cpp const int normType = get<2>(params); normType 793 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, src2, normType); normType 805 modules/core/perf/opencl/perf_arithm.cpp const int normType = get<2>(params); normType 813 modules/core/perf/opencl/perf_arithm.cpp OCL_TEST_CYCLE() res = cv::norm(src1, src2, normType | cv::NORM_RELATIVE); normType 24 modules/core/perf/perf_norm.cpp int normType = get<2>(GetParam()); normType 31 modules/core/perf/perf_norm.cpp TEST_CYCLE() n = norm(src, normType); normType 46 modules/core/perf/perf_norm.cpp int normType = get<2>(GetParam()); normType 54 modules/core/perf/perf_norm.cpp TEST_CYCLE() n = norm(src, normType, mask); normType 69 modules/core/perf/perf_norm.cpp int normType = get<2>(GetParam()); normType 77 modules/core/perf/perf_norm.cpp TEST_CYCLE() n = norm(src1, src2, normType); normType 92 modules/core/perf/perf_norm.cpp int normType = get<2>(GetParam()); normType 101 modules/core/perf/perf_norm.cpp TEST_CYCLE() n = norm(src1, src2, normType, mask); normType 116 modules/core/perf/perf_norm.cpp int normType = get<2>(GetParam()); normType 122 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); normType 123 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; normType 127 modules/core/perf/perf_norm.cpp TEST_CYCLE() normalize(src, dst, alpha, 0., normType); normType 142 modules/core/perf/perf_norm.cpp int normType = get<2>(GetParam()); normType 149 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); normType 150 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; normType 155 modules/core/perf/perf_norm.cpp TEST_CYCLE() normalize(src, dst, alpha, 0., normType, -1, mask); normType 170 modules/core/perf/perf_norm.cpp int normType = get<2>(GetParam()); normType 176 modules/core/perf/perf_norm.cpp if(normType==NORM_L1) alpha = (double)src.total() * src.channels(); normType 177 modules/core/perf/perf_norm.cpp if(normType==NORM_L2) alpha = (double)src.total()/10; normType 181 modules/core/perf/perf_norm.cpp TEST_CYCLE() normalize(src, dst, alpha, 0., normType, CV_32F); normType 5215 modules/core/src/matrix.cpp double norm( const SparseMat& src, int normType ) normType 5220 modules/core/src/matrix.cpp normType &= NORM_TYPE_MASK; normType 5224 modules/core/src/matrix.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); normType 5228 modules/core/src/matrix.cpp if( normType == NORM_INF ) normType 5231 modules/core/src/matrix.cpp else if( normType == NORM_L1 ) normType 5243 modules/core/src/matrix.cpp if( normType == NORM_INF ) normType 5246 modules/core/src/matrix.cpp else if( normType == NORM_L1 ) normType 5259 modules/core/src/matrix.cpp if( normType == NORM_L2 ) normType 2515 modules/core/src/stat.cpp static NormFunc getNormFunc(int normType, int depth) normType 2533 modules/core/src/stat.cpp return normTab[normType][depth]; normType 2536 modules/core/src/stat.cpp static NormDiffFunc getNormDiffFunc(int normType, int depth) normType 2560 modules/core/src/stat.cpp return normDiffTab[normType][depth]; normType 2565 modules/core/src/stat.cpp static bool ocl_norm( InputArray _src, int normType, InputArray _mask, double & result ) normType 2578 modules/core/src/stat.cpp if ( !(normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR) || normType 2584 modules/core/src/stat.cpp if (normType == NORM_INF) normType 2590 modules/core/src/stat.cpp else if (normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR) normType 2595 modules/core/src/stat.cpp if ( !ocl_sum(haveMask ? src : src.reshape(1), sc, normType == NORM_L2 || normType == NORM_L2SQR ? normType 2606 modules/core/src/stat.cpp result = normType == NORM_L1 || normType == NORM_L2SQR ? s : std::sqrt(s); normType 2616 modules/core/src/stat.cpp double cv::norm( InputArray _src, int normType, InputArray _mask ) normType 2618 modules/core/src/stat.cpp normType &= NORM_TYPE_MASK; normType 2619 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType 2620 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR || normType 2621 modules/core/src/stat.cpp ((normType == NORM_HAMMING || normType == NORM_HAMMING2) && _src.type() == CV_8U) ); normType 2626 modules/core/src/stat.cpp ocl_norm(_src, normType, _mask, _result), normType 2641 modules/core/src/stat.cpp && (normType == NORM_INF || normType == NORM_L1 || normType 2642 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR) ) normType 2650 modules/core/src/stat.cpp normType == NORM_INF ? normType 2656 modules/core/src/stat.cpp normType == NORM_L1 ? normType 2662 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 2674 modules/core/src/stat.cpp return normType == NORM_L2SQR ? (double)(norm * norm) : (double)norm; normType 2722 modules/core/src/stat.cpp normType == NORM_L1 ? normType 2727 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 2733 modules/core/src/stat.cpp normType == NORM_INF ? normType 2749 modules/core/src/stat.cpp normType == NORM_L1 ? normType 2760 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 2780 modules/core/src/stat.cpp Ipp64f norm = (normType == NORM_L2 || normType == NORM_L2SQR) ? norm_array[0] * norm_array[0] : norm_array[0]; normType 2784 modules/core/src/stat.cpp normType == NORM_INF ? std::max(norm, norm_array[i]) : normType 2785 modules/core/src/stat.cpp normType == NORM_L1 ? norm + norm_array[i] : normType 2786 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? norm + norm_array[i] * norm_array[i] : normType 2790 modules/core/src/stat.cpp return normType == NORM_L2 ? (double)std::sqrt(norm) : (double)norm; normType 2808 modules/core/src/stat.cpp if( normType == NORM_L2 ) normType 2814 modules/core/src/stat.cpp if( normType == NORM_L2SQR ) normType 2820 modules/core/src/stat.cpp if( normType == NORM_L1 ) normType 2826 modules/core/src/stat.cpp if( normType == NORM_INF ) normType 2837 modules/core/src/stat.cpp if( normType == NORM_HAMMING ) normType 2842 modules/core/src/stat.cpp if( normType == NORM_HAMMING2 ) normType 2852 modules/core/src/stat.cpp if( normType == NORM_HAMMING || normType == NORM_HAMMING2 ) normType 2858 modules/core/src/stat.cpp return norm(temp, normType); normType 2860 modules/core/src/stat.cpp int cellSize = normType == NORM_HAMMING ? 1 : 2; normType 2876 modules/core/src/stat.cpp NormFunc func = getNormFunc(normType >> 1, depth); normType 2891 modules/core/src/stat.cpp bool blockSum = (normType == NORM_L1 && depth <= CV_16S) || normType 2892 modules/core/src/stat.cpp ((normType == NORM_L2 || normType == NORM_L2SQR) && depth <= CV_8S); normType 2899 modules/core/src/stat.cpp intSumBlockSize = (normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15))/cn; normType 2924 modules/core/src/stat.cpp if( normType == NORM_INF ) normType 2933 modules/core/src/stat.cpp else if( normType == NORM_L2 ) normType 2943 modules/core/src/stat.cpp static bool ocl_norm( InputArray _src1, InputArray _src2, int normType, InputArray _mask, double & result ) normType 2952 modules/core/src/stat.cpp bool relative = (normType & NORM_RELATIVE) != 0; normType 2953 modules/core/src/stat.cpp normType &= ~NORM_RELATIVE; normType 2954 modules/core/src/stat.cpp bool normsum = normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR; normType 2958 modules/core/src/stat.cpp if (!ocl_sum(_src1, sc1, normType == NORM_L2 || normType == NORM_L2SQR ? normType 2978 modules/core/src/stat.cpp if (normType == NORM_L2) normType 2995 modules/core/src/stat.cpp double cv::norm( InputArray _src1, InputArray _src2, int normType, InputArray _mask ) normType 3002 modules/core/src/stat.cpp ocl_norm(_src1, _src2, normType, _mask, _result), normType 3006 modules/core/src/stat.cpp if( normType & CV_RELATIVE ) normType 3013 modules/core/src/stat.cpp normType &= NORM_TYPE_MASK; normType 3014 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 || normType == NORM_L2SQR || normType 3015 modules/core/src/stat.cpp ((normType == NORM_HAMMING || normType == NORM_HAMMING2) && src1.type() == CV_8U) ); normType 3020 modules/core/src/stat.cpp && (normType == NORM_INF || normType == NORM_L1 || normType 3021 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR) ) normType 3029 modules/core/src/stat.cpp normType == NORM_INF ? normType 3037 modules/core/src/stat.cpp normType == NORM_L1 ? normType 3045 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 3057 modules/core/src/stat.cpp return normType == NORM_L2SQR ? (double)(norm * norm) : (double)norm; normType 3067 modules/core/src/stat.cpp normType == NORM_INF ? normType 3073 modules/core/src/stat.cpp normType == NORM_L1 ? normType 3078 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 3084 modules/core/src/stat.cpp normType == NORM_L1 ? normType 3087 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 3114 modules/core/src/stat.cpp return norm(_src1, _src2, normType & ~CV_RELATIVE, _mask)/(norm(_src2, normType, _mask) + DBL_EPSILON); normType 3120 modules/core/src/stat.cpp normType &= 7; normType 3121 modules/core/src/stat.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType 3122 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR || normType 3123 modules/core/src/stat.cpp ((normType == NORM_HAMMING || normType == NORM_HAMMING2) && src1.type() == CV_8U) ); normType 3132 modules/core/src/stat.cpp && (normType == NORM_INF || normType == NORM_L1 || normType 3133 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR) ) normType 3141 modules/core/src/stat.cpp normType == NORM_INF ? normType 3147 modules/core/src/stat.cpp normType == NORM_L1 ? normType 3155 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 3167 modules/core/src/stat.cpp return normType == NORM_L2SQR ? (double)(norm * norm) : (double)norm; normType 3174 modules/core/src/stat.cpp normType == NORM_INF ? normType 3180 modules/core/src/stat.cpp normType == NORM_L1 ? normType 3186 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 3200 modules/core/src/stat.cpp normType == NORM_INF ? std::max(std::max(norm1, norm2), norm3) : normType 3201 modules/core/src/stat.cpp normType == NORM_L1 ? norm1 + norm2 + norm3 : normType 3202 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? std::sqrt(norm1 * norm1 + norm2 * norm2 + norm3 * norm3) : normType 3205 modules/core/src/stat.cpp return normType == NORM_L2SQR ? (double)(norm * norm) : (double)norm; normType 3216 modules/core/src/stat.cpp normType == NORM_L1 ? normType 3221 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 3227 modules/core/src/stat.cpp normType == NORM_INF ? normType 3243 modules/core/src/stat.cpp normType == NORM_L1 ? normType 3256 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? normType 3276 modules/core/src/stat.cpp Ipp64f norm = (normType == NORM_L2 || normType == NORM_L2SQR) ? norm_array[0] * norm_array[0] : norm_array[0]; normType 3280 modules/core/src/stat.cpp normType == NORM_INF ? std::max(norm, norm_array[i]) : normType 3281 modules/core/src/stat.cpp normType == NORM_L1 ? norm + norm_array[i] : normType 3282 modules/core/src/stat.cpp normType == NORM_L2 || normType == NORM_L2SQR ? norm + norm_array[i] * norm_array[i] : normType 3286 modules/core/src/stat.cpp return normType == NORM_L2 ? (double)std::sqrt(norm) : (double)norm; normType 3305 modules/core/src/stat.cpp if( normType == NORM_L2 ) normType 3311 modules/core/src/stat.cpp if( normType == NORM_L2SQR ) normType 3317 modules/core/src/stat.cpp if( normType == NORM_L1 ) normType 3323 modules/core/src/stat.cpp if( normType == NORM_INF ) normType 3335 modules/core/src/stat.cpp if( normType == NORM_HAMMING || normType == NORM_HAMMING2 ) normType 3342 modules/core/src/stat.cpp return norm(temp, normType); normType 3344 modules/core/src/stat.cpp int cellSize = normType == NORM_HAMMING ? 1 : 2; normType 3360 modules/core/src/stat.cpp NormDiffFunc func = getNormDiffFunc(normType >> 1, depth); normType 3376 modules/core/src/stat.cpp bool blockSum = (normType == NORM_L1 && depth <= CV_16S) || normType 3377 modules/core/src/stat.cpp ((normType == NORM_L2 || normType == NORM_L2SQR) && depth <= CV_8S); normType 3384 modules/core/src/stat.cpp intSumBlockSize = normType == NORM_L1 && depth <= CV_8S ? (1 << 23) : (1 << 15); normType 3410 modules/core/src/stat.cpp if( normType == NORM_INF ) normType 3419 modules/core/src/stat.cpp else if( normType == NORM_L2 ) normType 3649 modules/core/src/stat.cpp int normType, int K, InputArray _mask, normType 3660 modules/core/src/stat.cpp dtype = normType == NORM_HAMMING || normType == NORM_HAMMING2 ? CV_32S : CV_32F; normType 3684 modules/core/src/stat.cpp batchDistance(src2, src1, tdist, dtype, tidx, normType, K, mask, 0, false); normType 3724 modules/core/src/stat.cpp if( normType == NORM_L1 && dtype == CV_32S ) normType 3726 modules/core/src/stat.cpp else if( normType == NORM_L1 && dtype == CV_32F ) normType 3728 modules/core/src/stat.cpp else if( normType == NORM_L2SQR && dtype == CV_32S ) normType 3730 modules/core/src/stat.cpp else if( normType == NORM_L2SQR && dtype == CV_32F ) normType 3732 modules/core/src/stat.cpp else if( normType == NORM_L2 && dtype == CV_32F ) normType 3734 modules/core/src/stat.cpp else if( normType == NORM_HAMMING && dtype == CV_32S ) normType 3736 modules/core/src/stat.cpp else if( normType == NORM_HAMMING2 && dtype == CV_32S ) normType 3741 modules/core/src/stat.cpp if( normType == NORM_L1 ) normType 3743 modules/core/src/stat.cpp else if( normType == NORM_L2SQR ) normType 3745 modules/core/src/stat.cpp else if( normType == NORM_L2 ) normType 3752 modules/core/src/stat.cpp type, dtype, normType)); normType 3880 modules/core/src/stat.cpp cvNorm( const void* imgA, const void* imgB, int normType, const void* maskarr ) normType 3897 modules/core/src/stat.cpp return !maskarr ? cv::norm(a, normType) : cv::norm(a, normType, mask); normType 3903 modules/core/src/stat.cpp return !maskarr ? cv::norm(a, b, normType) : cv::norm(a, b, normType, mask); normType 1234 modules/core/test/test_arithm.cpp normType = 0; normType 1241 modules/core/test/test_arithm.cpp normType = rng.uniform(1, 8); normType 1242 modules/core/test/test_arithm.cpp if( normType == NORM_INF || normType == NORM_L1 || normType 1243 modules/core/test/test_arithm.cpp normType == NORM_L2 || normType == NORM_L2SQR || normType 1244 modules/core/test/test_arithm.cpp normType == NORM_HAMMING || normType == NORM_HAMMING2 ) normType 1247 modules/core/test/test_arithm.cpp if( normType == NORM_HAMMING || normType == NORM_HAMMING2 ) normType 1256 modules/core/test/test_arithm.cpp dst.at<double>(0,0) = cv::norm(src[0], normType, mask); normType 1257 modules/core/test/test_arithm.cpp dst.at<double>(0,1) = cv::norm(src[0], src[1], normType, mask); normType 1262 modules/core/test/test_arithm.cpp dst.at<double>(0,0) = cvtest::norm(src[0], normType, mask); normType 1263 modules/core/test/test_arithm.cpp dst.at<double>(0,1) = cvtest::norm(src[0], src[1], normType, mask); normType 1272 modules/core/test/test_arithm.cpp int normType; normType 530 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS double norm(InputArray src1, int normType, InputArray mask = noArray()); normType 532 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void calcNorm(InputArray src, OutputArray dst, int normType, InputArray mask = noArray(), Stream& stream = Stream::Null()); normType 542 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS double norm(InputArray src1, InputArray src2, int normType=NORM_L2); normType 544 modules/cudaarithm/include/opencv2/cudaarithm.hpp CV_EXPORTS void calcNormDiff(InputArray src1, InputArray src2, OutputArray dst, int normType=NORM_L2, Stream& stream = Stream::Null()); normType 61 modules/cudaarithm/perf/perf_reductions.cpp const int normType = GET_PARAM(2); normType 75 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::norm(d_src, normType, d_buf); normType 83 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::norm(src, normType); normType 99 modules/cudaarithm/perf/perf_reductions.cpp const int normType = GET_PARAM(1); normType 113 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() gpu_dst = cv::cuda::norm(d_src1, d_src2, normType); normType 122 modules/cudaarithm/perf/perf_reductions.cpp TEST_CYCLE() cpu_dst = cv::norm(src1, src2, normType); normType 95 modules/cudaarithm/src/reductions.cpp void cv::cuda::calcNorm(InputArray _src, OutputArray dst, int normType, InputArray mask, Stream& stream) normType 97 modules/cudaarithm/src/reductions.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); normType 103 modules/cudaarithm/src/reductions.cpp if (normType == NORM_L1) normType 107 modules/cudaarithm/src/reductions.cpp else if (normType == NORM_L2) normType 117 modules/cudaarithm/src/reductions.cpp double cv::cuda::norm(InputArray _src, int normType, InputArray _mask) normType 122 modules/cudaarithm/src/reductions.cpp calcNorm(_src, dst, normType, _mask, stream); normType 92 modules/cudafeatures2d/include/opencv2/cudafeatures2d.hpp static Ptr<DescriptorMatcher> createBFMatcher(int normType = cv::NORM_L2); normType 158 modules/cudafeatures2d/perf/perf_features2d.cpp const int normType = GET_PARAM(1); normType 160 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; normType 170 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> d_matcher = cv::cuda::DescriptorMatcher::createBFMatcher(normType); normType 185 modules/cudafeatures2d/perf/perf_features2d.cpp cv::BFMatcher matcher(normType); normType 217 modules/cudafeatures2d/perf/perf_features2d.cpp const int normType = GET_PARAM(2); normType 219 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; normType 229 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> d_matcher = cv::cuda::DescriptorMatcher::createBFMatcher(normType); normType 247 modules/cudafeatures2d/perf/perf_features2d.cpp cv::BFMatcher matcher(normType); normType 270 modules/cudafeatures2d/perf/perf_features2d.cpp const int normType = GET_PARAM(1); normType 272 modules/cudafeatures2d/perf/perf_features2d.cpp const int type = normType == cv::NORM_HAMMING ? CV_8U : CV_32F; normType 283 modules/cudafeatures2d/perf/perf_features2d.cpp cv::Ptr<cv::cuda::DescriptorMatcher> d_matcher = cv::cuda::DescriptorMatcher::createBFMatcher(normType); normType 301 modules/cudafeatures2d/perf/perf_features2d.cpp cv::BFMatcher matcher(normType); normType 980 modules/features2d/include/opencv2/features2d.hpp CV_WRAP BFMatcher( int normType=NORM_L2, bool crossCheck=false ); normType 992 modules/features2d/include/opencv2/features2d.hpp int normType; normType 29 modules/features2d/perf/perf_batchDistance.cpp NormType normType = get<0>(GetParam()); normType 44 modules/features2d/perf/perf_batchDistance.cpp normType, knn, Mat(), 0, isCrossCheck); normType 57 modules/features2d/perf/perf_batchDistance.cpp NormType normType = get<0>(GetParam()); normType 71 modules/features2d/perf/perf_batchDistance.cpp normType, knn, Mat(), 0, isCrossCheck); normType 112 modules/features2d/perf/perf_batchDistance.cpp NormType normType = get<0>(GetParam()); normType 127 modules/features2d/perf/perf_batchDistance.cpp normType, knn, Mat(), 0, isCrossCheck); normType 680 modules/features2d/src/matchers.cpp normType = _normType; normType 686 modules/features2d/src/matchers.cpp Ptr<BFMatcher> matcher = makePtr<BFMatcher>(normType, crossCheck); normType 759 modules/features2d/src/matchers.cpp if(ocl_match(_queryDescriptors, utrainDescCollection[0], matches, normType)) normType 767 modules/features2d/src/matchers.cpp if(ocl_match(_queryDescriptors, trainDescCollection[0], matches, normType)) normType 778 modules/features2d/src/matchers.cpp if(ocl_knnMatch(_queryDescriptors, utrainDescCollection[0], matches, knn, normType, compactResult) ) normType 786 modules/features2d/src/matchers.cpp if(ocl_knnMatch(_queryDescriptors, trainDescCollection[0], matches, knn, normType, compactResult) ) normType 812 modules/features2d/src/matchers.cpp int dtype = normType == NORM_HAMMING || normType == NORM_HAMMING2 || normType 813 modules/features2d/src/matchers.cpp (normType == NORM_L1 && queryDescriptors.type() == CV_8U) ? CV_32S : CV_32F; normType 821 modules/features2d/src/matchers.cpp normType, knn, masks.empty() ? Mat() : masks[iIdx], update, crossCheck); normType 901 modules/features2d/src/matchers.cpp if(ocl_radiusMatch(_queryDescriptors, utrainDescCollection[0], matches, maxDistance, normType, compactResult) ) normType 909 modules/features2d/src/matchers.cpp if (ocl_radiusMatch(_queryDescriptors, trainDescCollection[0], matches, maxDistance, normType, compactResult) ) normType 933 modules/features2d/src/matchers.cpp int dtype = normType == NORM_HAMMING || normType 934 modules/features2d/src/matchers.cpp (normType == NORM_L1 && queryDescriptors.type() == CV_8U) ? CV_32S : CV_32F; normType 939 modules/features2d/src/matchers.cpp normType, 0, masks.empty() ? Mat() : masks[iIdx], 0, false); normType 307 modules/features2d/test/test_rotation_and_scale_invariance.cpp normType(_normType), normType 336 modules/features2d/test/test_rotation_and_scale_invariance.cpp BFMatcher bfmatcher(normType); normType 381 modules/features2d/test/test_rotation_and_scale_invariance.cpp int normType; normType 510 modules/features2d/test/test_rotation_and_scale_invariance.cpp normType(_normType), normType 539 modules/features2d/test/test_rotation_and_scale_invariance.cpp BFMatcher bfmatcher(normType); normType 585 modules/features2d/test/test_rotation_and_scale_invariance.cpp int normType; normType 65 modules/ml/src/kdtree.cpp normType = NORM_L2; normType 71 modules/ml/src/kdtree.cpp normType = NORM_L2; normType 78 modules/ml/src/kdtree.cpp normType = NORM_L2; normType 285 modules/ml/src/kdtree.cpp CV_Assert(K > 0 && (normType == NORM_L2 || normType == NORM_L1)); normType 343 modules/ml/src/kdtree.cpp if( normType == NORM_L2 ) normType 380 modules/ml/src/kdtree.cpp if( normType == NORM_L2 ) normType 91 modules/ml/src/kdtree.hpp CV_PROP_RW int normType; //!< type of the distance (cv::NORM_L1 or cv::NORM_L2) used for search. Initially set to cv::NORM_L2, but you can modify it normType 168 modules/photo/include/opencv2/photo.hpp int normType = NORM_L2); normType 248 modules/photo/include/opencv2/photo.hpp int normType = NORM_L2); normType 112 modules/photo/src/denoising.cpp int templateWindowSize, int searchWindowSize, int normType) normType 121 modules/photo/src/denoising.cpp templateWindowSize, searchWindowSize, normType)) normType 127 modules/photo/src/denoising.cpp switch (normType) { normType 318 modules/photo/src/denoising.cpp int templateWindowSize, int searchWindowSize, int normType) normType 334 modules/photo/src/denoising.cpp switch (normType) { normType 34 modules/photo/src/fast_nlmeans_denoising_opencl.hpp const FT *h, int hn, int cn, int normType, normType 55 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int maxDist = normType == NORM_L1 ? std::numeric_limits<ST>::max() * cn : normType 72 modules/photo/src/fast_nlmeans_denoising_opencl.hpp normType == NORM_L1 ? " -D ABS" : "")); normType 85 modules/photo/src/fast_nlmeans_denoising_opencl.hpp int templateWindowSize, int searchWindowSize, int normType) normType 91 modules/photo/src/fast_nlmeans_denoising_opencl.hpp if (cn < 1 || cn > 4 || ((normType != NORM_L2 || depth != CV_8U) && normType 92 modules/photo/src/fast_nlmeans_denoising_opencl.hpp (normType != NORM_L1 || (depth != CV_8U && depth != CV_16U)))) normType 125 modules/photo/src/fast_nlmeans_denoising_opencl.hpp normType == NORM_L1 ? " -D ABS" : ""); normType 135 modules/photo/src/fast_nlmeans_denoising_opencl.hpp h, hn, cn, normType, normType 140 modules/photo/src/fast_nlmeans_denoising_opencl.hpp h, hn, cn, normType, normType 18 modules/photo/test/ocl/test_denoising.cpp int cn, normType, templateWindowSize, searchWindowSize; normType 28 modules/photo/test/ocl/test_denoising.cpp normType = GET_PARAM(1); normType 85 modules/photo/test/ocl/test_denoising.cpp OCL_OFF(cv::fastNlMeansDenoising(src_roi, dst_roi, std::vector<float>(1, h[0]), templateWindowSize, searchWindowSize, normType)); normType 86 modules/photo/test/ocl/test_denoising.cpp OCL_ON(cv::fastNlMeansDenoising(usrc_roi, udst_roi, std::vector<float>(1, h[0]), templateWindowSize, searchWindowSize, normType)); normType 100 modules/photo/test/ocl/test_denoising.cpp OCL_OFF(cv::fastNlMeansDenoising(src_roi, dst_roi, h, templateWindowSize, searchWindowSize, normType)); normType 101 modules/photo/test/ocl/test_denoising.cpp OCL_ON(cv::fastNlMeansDenoising(usrc_roi, udst_roi, h, templateWindowSize, searchWindowSize, normType)); normType 131 modules/ts/include/opencv2/ts.hpp CV_EXPORTS double norm(InputArray src, int normType, InputArray mask=noArray()); normType 132 modules/ts/include/opencv2/ts.hpp CV_EXPORTS double norm(InputArray src1, InputArray src2, int normType, InputArray mask=noArray()); normType 1128 modules/ts/src/ts_func.cpp norm_(const _Tp* src, size_t total, int cn, int normType, double startval, const uchar* mask) normType 1135 modules/ts/src/ts_func.cpp if( normType == NORM_INF ) normType 1148 modules/ts/src/ts_func.cpp else if( normType == NORM_L1 ) normType 1185 modules/ts/src/ts_func.cpp norm_(const _Tp* src1, const _Tp* src2, size_t total, int cn, int normType, double startval, const uchar* mask) normType 1192 modules/ts/src/ts_func.cpp if( normType == NORM_INF ) normType 1205 modules/ts/src/ts_func.cpp else if( normType == NORM_L1 ) normType 1241 modules/ts/src/ts_func.cpp double norm(InputArray _src, int normType, InputArray _mask) normType 1244 modules/ts/src/ts_func.cpp if( normType == NORM_HAMMING || normType == NORM_HAMMING2 ) normType 1250 modules/ts/src/ts_func.cpp return cvtest::norm(temp, normType, Mat()); normType 1262 modules/ts/src/ts_func.cpp int cellSize = normType == NORM_HAMMING ? 1 : 2; normType 1268 modules/ts/src/ts_func.cpp int normType0 = normType; normType 1269 modules/ts/src/ts_func.cpp normType = normType == NORM_L2SQR ? NORM_L2 : normType; normType 1272 modules/ts/src/ts_func.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); normType 1291 modules/ts/src/ts_func.cpp result = norm_((const uchar*)sptr, total, cn, normType, result, mptr); normType 1294 modules/ts/src/ts_func.cpp result = norm_((const schar*)sptr, total, cn, normType, result, mptr); normType 1297 modules/ts/src/ts_func.cpp result = norm_((const ushort*)sptr, total, cn, normType, result, mptr); normType 1300 modules/ts/src/ts_func.cpp result = norm_((const short*)sptr, total, cn, normType, result, mptr); normType 1303 modules/ts/src/ts_func.cpp result = norm_((const int*)sptr, total, cn, normType, result, mptr); normType 1306 modules/ts/src/ts_func.cpp result = norm_((const float*)sptr, total, cn, normType, result, mptr); normType 1309 modules/ts/src/ts_func.cpp result = norm_((const double*)sptr, total, cn, normType, result, mptr); normType 1321 modules/ts/src/ts_func.cpp double norm(InputArray _src1, InputArray _src2, int normType, InputArray _mask) normType 1324 modules/ts/src/ts_func.cpp bool isRelative = (normType & NORM_RELATIVE) != 0; normType 1325 modules/ts/src/ts_func.cpp normType &= ~NORM_RELATIVE; normType 1327 modules/ts/src/ts_func.cpp if( normType == NORM_HAMMING || normType == NORM_HAMMING2 ) normType 1343 modules/ts/src/ts_func.cpp int cellSize = normType == NORM_HAMMING ? 1 : 2; normType 1349 modules/ts/src/ts_func.cpp int normType0 = normType; normType 1350 modules/ts/src/ts_func.cpp normType = normType == NORM_L2SQR ? NORM_L2 : normType; normType 1354 modules/ts/src/ts_func.cpp CV_Assert( normType == NORM_INF || normType == NORM_L1 || normType == NORM_L2 ); normType 1373 modules/ts/src/ts_func.cpp result = norm_((const uchar*)sptr1, (const uchar*)sptr2, total, cn, normType, result, mptr); normType 1376 modules/ts/src/ts_func.cpp result = norm_((const schar*)sptr1, (const schar*)sptr2, total, cn, normType, result, mptr); normType 1379 modules/ts/src/ts_func.cpp result = norm_((const ushort*)sptr1, (const ushort*)sptr2, total, cn, normType, result, mptr); normType 1382 modules/ts/src/ts_func.cpp result = norm_((const short*)sptr1, (const short*)sptr2, total, cn, normType, result, mptr); normType 1385 modules/ts/src/ts_func.cpp result = norm_((const int*)sptr1, (const int*)sptr2, total, cn, normType, result, mptr); normType 1388 modules/ts/src/ts_func.cpp result = norm_((const float*)sptr1, (const float*)sptr2, total, cn, normType, result, mptr); normType 1391 modules/ts/src/ts_func.cpp result = norm_((const double*)sptr1, (const double*)sptr2, total, cn, normType, result, mptr); normType 1399 modules/ts/src/ts_func.cpp return isRelative ? result / (cvtest::norm(src2, normType) + DBL_EPSILON) : result;