Home
last modified time | relevance | path

Searched refs:REF_OUTPUT (Results 1 – 17 of 17) sorted by relevance

/external/opencv3/modules/imgproc/test/
Dtest_filter.cpp71 test_array[REF_OUTPUT].push_back(NULL); in CV_FilterBaseTest()
138 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
202 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
257 Mat& src = test_mat[INPUT][0], &dst = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
410 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
432 cvtest::filter2D( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], test_mat[REF_OUTPUT][0].type(), in prepare_to_validation()
464 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth==CV_8U?CV_16S:CV_32F,1); in get_test_array_types_and_sizes()
550 cvtest::filter2D( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], test_mat[REF_OUTPUT][0].depth(), in prepare_to_validation()
611 cvtest::filter2D( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], test_mat[REF_OUTPUT][0].depth(), in prepare_to_validation()
644 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); in get_test_array_types_and_sizes()
[all …]
Dtest_distancetransform.cpp73 test_array[REF_OUTPUT].push_back(NULL); in CV_DisTransTest()
74 test_array[REF_OUTPUT].push_back(NULL); in CV_DisTransTest()
87 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_32FC1; in get_test_array_types_and_sizes()
88 types[OUTPUT][1] = types[REF_OUTPUT][1] = CV_32SC1; in get_test_array_types_and_sizes()
106 sizes[OUTPUT][1] = sizes[REF_OUTPUT][1] = cvSize(0,0); in get_test_array_types_and_sizes()
279 CvMat _input = test_mat[INPUT][0], _output = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
Dtest_moments.cpp78 test_array[REF_OUTPUT].push_back(NULL); in CV_MomentsTest()
135 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_64FC1; in get_test_array_types_and_sizes()
136 sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = cvSize(MOMENT_COUNT,1); in get_test_array_types_and_sizes()
207 double* mdata = test_mat[REF_OUTPUT][0].ptr<double>(); in prepare_to_validation()
317 double* a = test_mat[REF_OUTPUT][0].ptr<double>(); in prepare_to_validation()
352 test_array[REF_OUTPUT].push_back(NULL); in CV_HuMomentsTest()
368 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_64FC1; in get_test_array_types_and_sizes()
370 sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = cvSize(HU_MOMENT_COUNT,1); in get_test_array_types_and_sizes()
403 CvHuMoments* hu = test_mat[REF_OUTPUT][0].ptr<CvHuMoments>(); in prepare_to_validation()
Dtest_canny.cpp71 test_array[REF_OUTPUT].push_back(NULL); in CV_CannyTest()
89 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_8U; in get_test_array_types_and_sizes()
253 Mat src = test_mat[INPUT][0], dst = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
263 double err = cvtest::norm(test_mat[OUTPUT][0], test_mat[REF_OUTPUT][0], CV_L1); in validate_test_results()
274 nz0 = cvRound(cvtest::norm(test_mat[REF_OUTPUT][0], CV_L1)/255); in validate_test_results()
Dtest_templmatch.cpp71 test_array[REF_OUTPUT].push_back(NULL); in CV_TemplMatchTest()
113 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_32FC1; in get_test_array_types_and_sizes()
119 sizes[REF_OUTPUT][0] = sizes[OUTPUT][0]; in get_test_array_types_and_sizes()
313 CvMat _output = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
331 test_mat[REF_OUTPUT][0] += Scalar::all(delta); in prepare_to_validation()
Dtest_thresh.cpp68 test_array[REF_OUTPUT].push_back(NULL); in CV_ThreshTest()
82 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth,cn); in get_test_array_types_and_sizes()
316 test_threshold( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], in prepare_to_validation()
Dtest_color.cpp90 test_array[REF_OUTPUT].push_back(NULL); in CV_ColorCvtBaseTest()
91 test_array[REF_OUTPUT].push_back(NULL); in CV_ColorCvtBaseTest()
143 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_MAKETYPE(depth, 3); in get_test_array_types_and_sizes()
145 types[OUTPUT][1] = types[REF_OUTPUT][1] = CV_MAKETYPE(depth, cn); in get_test_array_types_and_sizes()
184 convert_forward( test_mat[INPUT][0], test_mat[REF_OUTPUT][0] ); in prepare_to_validation()
185 convert_backward( test_mat[INPUT][0], test_mat[REF_OUTPUT][0], in prepare_to_validation()
186 test_mat[REF_OUTPUT][1] ); in prepare_to_validation()
187 int depth = test_mat[REF_OUTPUT][0].depth(); in prepare_to_validation()
190 for( int y = 0; y < test_mat[REF_OUTPUT][0].rows; y++ ) in prepare_to_validation()
192 uchar* h0 = test_mat[REF_OUTPUT][0].ptr(y); in prepare_to_validation()
[all …]
Dtest_floodfill.cpp82 test_array[REF_OUTPUT].push_back(NULL); in CV_FloodFillTest()
112 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_64FC1; in get_test_array_types_and_sizes()
113 sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = cvSize(9,1); in get_test_array_types_and_sizes()
516 double* comp = test_mat[REF_OUTPUT][0].ptr<double>(); in prepare_to_validation()
Dtest_imgwarp.cpp991 test_array[REF_OUTPUT].push_back(NULL); in CV_UndistortMapTest()
992 test_array[REF_OUTPUT].push_back(NULL); in CV_UndistortMapTest()
1008 types[REF_OUTPUT][0] = types[REF_OUTPUT][1] = dualChannel ? CV_32FC2 : CV_32F; in get_test_array_types_and_sizes()
1015 sizes[REF_OUTPUT][0] = sizes[REF_OUTPUT][1] = sz; in get_test_array_types_and_sizes()
1074 test_mat[REF_OUTPUT][1] = Scalar::all(0); in prepare_test_case()
1085 …cvtest::initUndistortMap( test_mat[INPUT][0], test_mat[INPUT][1], test_mat[REF_OUTPUT][0].size(), … in prepare_to_validation()
1088 mapx.copyTo(test_mat[REF_OUTPUT][0]); in prepare_to_validation()
1089 mapy.copyTo(test_mat[REF_OUTPUT][1]); in prepare_to_validation()
1094 cv::merge(p, 2, test_mat[REF_OUTPUT][0]); in prepare_to_validation()
/external/opencv3/modules/calib3d/test/
Dtest_fundam.cpp545 test_array[REF_OUTPUT].push_back(NULL); in CV_RodriguesTest()
546 test_array[REF_OUTPUT].push_back(NULL); in CV_RodriguesTest()
547 test_array[REF_OUTPUT].push_back(NULL); in CV_RodriguesTest()
548 test_array[REF_OUTPUT].push_back(NULL); in CV_RodriguesTest()
549 test_array[REF_OUTPUT].push_back(NULL); in CV_RodriguesTest()
610 types[REF_OUTPUT][i] = types[OUTPUT][i]; in get_test_array_types_and_sizes()
611 sizes[REF_OUTPUT][i] = sizes[OUTPUT][i]; in get_test_array_types_and_sizes()
715 Mat& m = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
716 Mat& vec2 = test_mat[REF_OUTPUT][2]; in prepare_to_validation()
722 v2m_jac = &test_mat[REF_OUTPUT][1]; in prepare_to_validation()
[all …]
Dtest_modelest.cpp110 test_array[REF_OUTPUT].push_back(NULL);
125 sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = cvSize(1, 1);
126 types[OUTPUT][0] = types[REF_OUTPUT][0] = CV_8UC1;
212 …test_mat[REF_OUTPUT][0].at<uchar>(0) = test_case_idx < generalPositionsCount || usedPointsCount <=…
Dtest_undistort.cpp77 test_array[REF_OUTPUT].push_back(NULL); in CV_DefaultNewCameraMatrixTest()
87 …matrix_type = types[INPUT][0] = types[OUTPUT][0]= types[REF_OUTPUT][0] = cvtest::randInt(rng)%2 ? … in get_test_array_types_and_sizes()
88 sizes[INPUT][0] = sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = cvSize(3,3); in get_test_array_types_and_sizes()
131 Mat& dst = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
205 test_array[REF_OUTPUT].push_back(NULL); in CV_UndistortPointsTest()
219 types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = types[TEMP][0]= CV_32FC2; in get_test_array_types_and_sizes()
223 …types[INPUT][0] = types[OUTPUT][0] = types[REF_OUTPUT][0] = types[TEMP][0]= cvtest::randInt(rng)%2… in get_test_array_types_and_sizes()
230 …sizes[INPUT][0] = sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = sizes[TEMP][0]= cvtest::randInt(rng)%2… in get_test_array_types_and_sizes()
439 Mat& dst = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
613 test_array[REF_OUTPUT].push_back(NULL); in CV_InitUndistortRectifyMapTest()
[all …]
Dtest_cameracalibration.cpp78 test_array[REF_OUTPUT].push_back(NULL);
79 test_array[REF_OUTPUT].push_back(NULL);
80 test_array[REF_OUTPUT].push_back(NULL);
81 test_array[REF_OUTPUT].push_back(NULL);
82 test_array[REF_OUTPUT].push_back(NULL);
141 types[REF_OUTPUT][i] = types[OUTPUT][i];
142 sizes[REF_OUTPUT][i] = sizes[OUTPUT][i];
202 CvMat* m = &test_mat[REF_OUTPUT][0];
203 CvMat* vec2 = &test_mat[REF_OUTPUT][2];
209 v2m_jac = &test_mat[REF_OUTPUT][1];
[all …]
/external/opencv3/modules/core/test/
Dtest_math.cpp39 test_array[REF_OUTPUT].push_back(NULL); in Core_MathTest()
216 Mat& b = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
384 test_array[REF_OUTPUT].push_back(NULL); in Core_MatrixTest()
410 int flag = (i == OUTPUT || i == REF_OUTPUT) && scalar_output; in get_test_array_types_and_sizes()
463 test_mat[REF_OUTPUT][0].at<Scalar>(0,0) = r; in prepare_to_validation()
492 …test_mat[REF_OUTPUT][0].at<Scalar>(0,0) = Scalar(cvtest::crossCorr( test_mat[INPUT][0], test_mat[I… in prepare_to_validation()
525 types[INPUT][0] = types[INPUT][1] = types[OUTPUT][0] = types[REF_OUTPUT][0] = type; in get_test_array_types_and_sizes()
534 sizes[INPUT][0] = sizes[INPUT][1] = sizes[OUTPUT][0] = sizes[REF_OUTPUT][0] = sz; in get_test_array_types_and_sizes()
578 if( test_mat[REF_OUTPUT][0].rows > 1 ) in prepare_to_validation()
580 cvSetReal2D( test_array[REF_OUTPUT][0], 0, 0, c.val[0] ); in prepare_to_validation()
[all …]
Dtest_dxt.cpp524 test_array[REF_OUTPUT].push_back(NULL); in CxCore_DXTBaseTest()
635 types[REF_OUTPUT][0] = types[OUTPUT][0]; in get_test_array_types_and_sizes()
636 sizes[REF_OUTPUT][0] = sizes[OUTPUT][0]; in get_test_array_types_and_sizes()
699 Mat& dst = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
764 Mat& dst = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
812 Mat& dst0 = test_mat[REF_OUTPUT][0]; in prepare_to_validation()
/external/opencv3/modules/ts/src/
Dts_arrtest.cpp293 int i1 = i == 0 ? REF_OUTPUT : REF_INPUT_OUTPUT; in validate_test_results()
/external/opencv3/modules/ts/include/opencv2/
Dts.hpp466 enum { INPUT, INPUT_OUTPUT, OUTPUT, REF_INPUT_OUTPUT, REF_OUTPUT, TEMP, MASK, MAX_ARR }; enumerator