Home
last modified time | relevance | path

Searched refs:NORM_L2 (Results 1 – 25 of 66) 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 …ORM_INF, (int)NORM_L1, (int)NORM_L2, (int)(NORM_RELATIVE+NORM_INF), (int)(NORM_RELATIVE+NORM_L1), …
86 …ORM_INF, (int)NORM_L1, (int)NORM_L2, (int)(NORM_RELATIVE|NORM_INF), (int)(NORM_RELATIVE|NORM_L1), …
110 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
123 if(normType==NORM_L2) alpha = (double)src.total()/10;
136 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
150 if(normType==NORM_L2) alpha = (double)src.total()/10;
164 testing::Values((int)NORM_INF, (int)NORM_L1, (int)NORM_L2)
[all …]
/external/opencv3/modules/photo/test/
Dtest_denoising.cpp76 ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2)); in TEST()
96 ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2)); in TEST()
121 ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2)); in TEST()
146 ASSERT_EQ(0, cvtest::norm(result, expected, NORM_L2)); in TEST()
/external/opencv3/modules/calib3d/test/
Dtest_affine3.cpp57 …vtest::norm(cv::Mat(affine.matrix, false).colRange(0, 3).rowRange(0, 3) != expected, cv::NORM_L2)); in TEST()
58 ASSERT_EQ(0, cvtest::norm(cv::Mat(affine.linear()) != expected, cv::NORM_L2)); in TEST()
106 ASSERT_LT(cvtest::norm(va, vo, cv::NORM_L2), 1e-9); in TEST()
Dtest_cameracalibration_artificial.cpp207 if (cvtest::norm(rmat_est, rmat, NORM_L2) > eps* (cvtest::norm(rmat, NORM_L2) + dlt)) in compareRotationVecs()
217 … cvtest::norm(rmat_est, rmat, NORM_L2), cvtest::norm(rmat, NORM_L2)); in compareRotationVecs()
/external/opencv3/modules/features2d/perf/opencl/
Dperf_brute_force_matcher.cpp71 BFMatcher matcher(NORM_L2);
92 BFMatcher matcher(NORM_L2);
116 BFMatcher matcher(NORM_L2);
/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),
129 Combine(Values(3, 4), Values((int)NORM_L2), Bool(), Values(false)));
/external/opencv3/modules/video/test/
Dtest_estimaterigid.cpp112 double thres = 0.1*cvtest::norm(aff, NORM_L2); in testNPoints()
113 double d = cvtest::norm(aff_est, aff, NORM_L2); in testNPoints()
123 nB = cvtest::norm(B, NORM_L2); in testNPoints()
/external/opencv3/modules/ml/src/
Dkdtree.cpp65 normType = NORM_L2; in KDTree()
71 normType = NORM_L2; in KDTree()
78 normType = NORM_L2; in KDTree()
285 CV_Assert(K > 0 && (normType == NORM_L2 || normType == NORM_L1)); in findNearest()
343 if( normType == NORM_L2 ) in findNearest()
380 if( normType == NORM_L2 ) in findNearest()
Dtestset.cpp93 elem.d = norm(samples.row(i), NORM_L2); in createConcentricSpheresTestSet()
/external/opencv3/modules/features2d/test/
Dtest_fast.cpp122 if ( exp_kps1.size != kps1.size || 0 != cvtest::norm(exp_kps1, kps1, NORM_L2) || in run()
123 exp_kps2.size != kps2.size || 0 != cvtest::norm(exp_kps2, kps2, NORM_L2)) in run()
Dtest_agast.cpp122 if ( exp_kps1.size != kps1.size || 0 != cvtest::norm(exp_kps1, kps1, NORM_L2) || in run()
123 exp_kps2.size != kps2.size || 0 != cvtest::norm(exp_kps2, kps2, NORM_L2)) in run()
/external/opencv3/samples/python2/
Dfind_obj.py29 norm = cv2.NORM_L2
32 norm = cv2.NORM_L2
45 if norm == cv2.NORM_L2:
/external/opencv3/modules/cudaarithm/src/cuda/
Dnormalize.cu158 else if (normType == NORM_L2) in normalizeNorm()
181 if (normType == NORM_L2) 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()
108 GpuMat dst = getOutputMat(_dst, 1, 1, normType == NORM_L2 ? CV_64FC1 : CV_32SC1, stream); in calcNormDiff()
/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()
2595 … if ( !ocl_sum(haveMask ? src : src.reshape(1), sc, normType == NORM_L2 || normType == NORM_L2SQR ? in ocl_norm()
2620 normType == NORM_L2 || normType == NORM_L2SQR || in norm()
2642 normType == NORM_L2 || normType == NORM_L2SQR) ) in norm()
2662 normType == NORM_L2 || normType == NORM_L2SQR ? in norm()
2727 normType == NORM_L2 || normType == NORM_L2SQR ? in norm()
2760 normType == NORM_L2 || normType == NORM_L2SQR ? in norm()
2780 …Ipp64f norm = (normType == NORM_L2 || normType == NORM_L2SQR) ? norm_array[0] * norm_array[0] : no… in norm()
2786 … normType == NORM_L2 || normType == NORM_L2SQR ? norm + norm_array[i] * norm_array[i] : in norm()
[all …]
/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/features2d/perf/
Dperf_batchDistance.cpp9 CV_ENUM(NormType, NORM_L1, NORM_L2, NORM_L2SQR, NORM_HAMMING, NORM_HAMMING2)
99 NORM_L2, knn, Mat(), 0, isCrossCheck); in PERF_TEST_P()
/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
393 NormType(cv::NORM_L2), 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()
107 else if (normType == NORM_L2) in calcNorm()
/external/opencv3/modules/shape/include/opencv2/shape/
Dshape_distance.hpp219 …DistanceExtractor> createHausdorffDistanceExtractor(int distanceFlag=cv::NORM_L2, float rankProp=0…
/external/opencv3/modules/photo/include/opencv2/
Dphoto.hpp168 int normType = NORM_L2);
248 int normType = NORM_L2);
/external/opencv3/modules/features2d/src/
Dfeature2d.cpp160 return tp == CV_8U ? NORM_HAMMING : NORM_L2; in defaultNorm()
/external/opencv3/modules/core/include/opencv2/
Dcore.hpp648 CV_EXPORTS_W double norm(InputArray src1, int normType = NORM_L2, InputArray mask = noArray());
657 int normType = NORM_L2, InputArray mask = noArray());
678 int normType = NORM_L2, int K = 0,
710 int norm_type = NORM_L2, int dtype = -1, InputArray mask = noArray());
/external/opencv3/modules/ts/include/opencv2/ts/
Dcuda_perf.hpp60 CV_ENUM(NormType, NORM_INF, NORM_L1, NORM_L2, NORM_HAMMING, NORM_MINMAX)

123