Home
last modified time | relevance | path

Searched refs:test_case_idx (Results 1 – 25 of 26) sorted by relevance

12

/external/opencv3/modules/imgproc/test/
Dtest_imgwarp.cpp54 int prepare_test_case( int test_case_idx );
55 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
57 void fill_array( int test_case_idx, int i, int j, Mat& arr );
98 void CV_ImgWarpBaseTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
104 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
116 void CV_ImgWarpBaseTest::fill_array( int test_case_idx, int i, int j, Mat& arr ) in fill_array() argument
119 cvtest::ArrayTest::fill_array( test_case_idx, i, j, arr ); in fill_array()
122 int CV_ImgWarpBaseTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
124 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
210 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
[all …]
Dtest_filter.cpp53 int prepare_test_case( int test_case_idx );
55 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
127 void CV_FilterBaseTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
134 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
153 int CV_FilterBaseTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
155 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
175 void prepare_to_validation( int test_case_idx );
176 int prepare_test_case( int test_case_idx );
177 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
178 double get_success_error_level( int test_case_idx, int i, int j );
[all …]
Dtest_histograms.cpp59 int prepare_test_case( int test_case_idx );
60 int validate_test_results( int test_case_idx );
61 virtual void init_hist( int test_case_idx, int i );
63 virtual void get_hist_params( int test_case_idx );
64 virtual float** get_hist_ranges( int test_case_idx );
278 int CV_BaseHistTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
285 cvtest::BaseTest::prepare_test_case( test_case_idx ); in prepare_test_case()
286 get_hist_params( test_case_idx ); in prepare_test_case()
287 r = get_hist_ranges( test_case_idx ); in prepare_test_case()
293 init_hist( test_case_idx, i ); in prepare_test_case()
[all …]
Dtest_moments.cpp62 int prepare_test_case( int test_case_idx );
64 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
66 double get_success_error_level( int test_case_idx, int i, int j );
108 void CV_MomentsTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
112 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
156 int CV_MomentsTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
158 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
339 int prepare_test_case( int test_case_idx );
341 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
343 double get_success_error_level( int test_case_idx, int i, int j );
[all …]
Dtest_canny.cpp53 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
54 double get_success_error_level( int test_case_idx, int i, int j );
55 int prepare_test_case( int test_case_idx );
81 void CV_CannyTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
88 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
105 int CV_CannyTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
107 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
258 int CV_CannyTest::validate_test_results( int test_case_idx ) in validate_test_results() argument
261 prepare_to_validation(test_case_idx); in validate_test_results()
Dtest_convhull.cpp195 int prepare_test_case( int test_case_idx );
196 int validate_test_results( int test_case_idx );
334 int CV_BaseShapeDescrTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
342 cvtest::BaseTest::prepare_test_case( test_case_idx ); in prepare_test_case()
429 int prepare_test_case( int test_case_idx );
430 int validate_test_results( int test_case_idx );
464 int CV_ConvHullTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
466 int code = CV_BaseShapeDescrTest::prepare_test_case( test_case_idx ); in prepare_test_case()
540 int CV_ConvHullTest::validate_test_results( int test_case_idx ) in validate_test_results() argument
542 int code = CV_BaseShapeDescrTest::validate_test_results( test_case_idx ); in validate_test_results()
[all …]
Dtest_distancetransform.cpp53 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
54 double get_success_error_level( int test_case_idx, int i, int j );
59 int prepare_test_case( int test_case_idx );
80 void CV_DisTransTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
84 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
127 int CV_DisTransTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
129 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
Dtest_color.cpp55 int prepare_test_case( int test_case_idx );
57 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
119 void CV_ColorCvtBaseTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
124 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
152 int CV_ColorCvtBaseTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
154 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
425 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
428 double get_success_error_level( int test_case_idx, int i, int j );
438 void CV_ColorGrayTest::get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& si… in get_test_array_types_and_sizes() argument
440 CV_ColorCvtBaseTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
[all …]
Dtest_floodfill.cpp53 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
54 double get_success_error_level( int test_case_idx, int i, int j );
58 void fill_array( int test_case_idx, int i, int j, Mat& arr );
90 void CV_FloodFillTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
98 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
153 void CV_FloodFillTest::fill_array( int test_case_idx, int i, int j, Mat& arr ) in fill_array() argument
159 cvtest::ArrayTest::fill_array( test_case_idx, i, j, arr ); in fill_array()
Dtest_thresh.cpp53 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
54 double get_success_error_level( int test_case_idx, int i, int j );
74 void CV_ThreshTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
79 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
Dtest_templmatch.cpp54 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
56 double get_success_error_level( int test_case_idx, int i, int j );
104 void CV_TemplMatchTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
109 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
Dtest_contours.cpp59 int prepare_test_case( int test_case_idx );
60 int validate_test_results( int test_case_idx );
205 int CV_FindContourTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
209 int i, code = cvtest::BaseTest::prepare_test_case( test_case_idx ); in prepare_test_case()
/external/opencv3/modules/calib3d/test/
Dtest_modelest.cpp89 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
90 void fill_array( int test_case_idx, int i, int j, Mat& arr );
91 double get_success_error_level( int test_case_idx, int i, int j );
93 void prepare_to_validation( int test_case_idx );
129 void CV_ModelEstimator2_Test::fill_array( int test_case_idx, int i, int j, Mat& arr )
133 cvtest::ArrayTest::fill_array( test_case_idx, i, j, arr );
137 if (test_case_idx < generalPositionsCount)
144 ArrayTest::fill_array(test_case_idx, i, j, arr);
181 ArrayTest::fill_array(test_case_idx, i, j, arr);
209 void CV_ModelEstimator2_Test::prepare_to_validation( int test_case_idx )
[all …]
Dtest_fundam.cpp525 void fill_array( int test_case_idx, int i, int j, Mat& arr );
526 int prepare_test_case( int test_case_idx );
527 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
528 double get_success_error_level( int test_case_idx, int i, int j );
623 void CV_RodriguesTest::fill_array( int test_case_idx, int i, int j, Mat& arr ) in fill_array() argument
649 cvtest::ArrayTest::fill_array( test_case_idx, i, j, arr ); in fill_array()
653 int CV_RodriguesTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
655 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
767 void fill_array( int test_case_idx, int i, int j, Mat& arr );
768 int prepare_test_case( int test_case_idx );
[all …]
Dtest_undistort.cpp54 int prepare_test_case (int test_case_idx);
55 void prepare_to_validation( int test_case_idx );
56 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
83 void CV_DefaultNewCameraMatrixTest::get_test_array_types_and_sizes( int test_case_idx, vector<vecto… in get_test_array_types_and_sizes() argument
85 cvtest::ArrayTest::get_test_array_types_and_sizes(test_case_idx,sizes,types); in get_test_array_types_and_sizes()
91 int CV_DefaultNewCameraMatrixTest::prepare_test_case(int test_case_idx) in prepare_test_case() argument
93 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx ); in prepare_test_case()
166 int prepare_test_case (int test_case_idx);
167 void prepare_to_validation( int test_case_idx );
168 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
[all …]
Dtest_cameracalibration.cpp58 void fill_array( int test_case_idx, int i, int j, Mat& arr );
59 int prepare_test_case( int test_case_idx );
60 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
61 double get_success_error_level( int test_case_idx, int i, int j );
178 int CV_ProjectPointsTest::prepare_test_case( int test_case_idx )
180 int code = cvtest::ArrayTest::prepare_test_case( test_case_idx );
1282 bool checkPandROI( int test_case_idx,
1329 bool CV_StereoCalibrationTest::checkPandROI( int test_case_idx, const Mat& M, const Mat& D, const M… in checkPandROI() argument
1348 test_case_idx, pts[k].x, pts[k].y, upts[k].x, upts[k].y); in checkPandROI()
1361 test_case_idx, roi.x, roi.y, roi.width, roi.height); in checkPandROI()
[all …]
/external/opencv3/modules/ts/src/
Dts.cpp257 int test_case_idx, count = get_test_case_count(); in run() local
264 for( test_case_idx = ff && start_from >= 0 ? start_from : 0; in run()
265 count < 0 || test_case_idx < count; test_case_idx++ ) in run()
267 ts->update_context( this, test_case_idx, ff ); in run()
268 … progress = update_progress( progress, test_case_idx, count, (double)(t1 - t_start)/(freq*1000) ); in run()
270 code = prepare_test_case( test_case_idx ); in run()
282 if( validate_test_results( test_case_idx ) < 0 || ts->get_err_code() < 0 ) in run()
312 int BaseTest::update_progress( int progress, int test_case_idx, int count, double dt ) in update_progress() argument
317 int t = cvRound( ((double)test_case_idx * width)/count ); in update_progress()
336 test_case_idx = -1; in BadArgTest()
[all …]
Dts_arrtest.cpp133 int ArrayTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
152 get_test_array_types_and_sizes( test_case_idx, sizes, types ); in prepare_test_case()
220 fill_array( test_case_idx, (int)i, (int)j, test_mat[i][j] ); in prepare_test_case()
282 int ArrayTest::validate_test_results( int test_case_idx ) in validate_test_results() argument
288 prepare_to_validation( test_case_idx ); in validate_test_results()
305 err_level = get_success_error_level( test_case_idx, i0, (int)j ); in validate_test_results()
/external/opencv3/modules/core/test/
Dtest_math.cpp26 void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes,
51 void Core_MathTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
59 Base::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
79 void get_test_array_types_and_sizes( int test_case_idx,
84 void prepare_to_validation( int test_case_idx );
85 double get_success_error_level( int test_case_idx, int i, int j );
96 void Core_PowTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
104 Base::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
127 double Core_PowTest::get_success_error_level( int test_case_idx, int i, int j ) in get_success_error_level() argument
133 return Base::get_success_error_level( test_case_idx, i, j ); in get_success_error_level()
[all …]
Dtest_dxt.cpp501 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
502 int prepare_test_case( int test_case_idx );
533 void CxCore_DXTBaseTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
542 Base::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()
640 double CxCore_DXTBaseTest::get_success_error_level( int test_case_idx, int i, int j ) in get_success_error_level() argument
642 return Base::get_success_error_level( test_case_idx, i, j ); in get_success_error_level()
646 int CxCore_DXTBaseTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
648 int code = Base::prepare_test_case( test_case_idx ); in prepare_test_case()
658 cvtest::copy( test_mat[INPUT][test_case_idx & (int)spectrum_mode], in prepare_test_case()
675 void prepare_to_validation( int test_case_idx );
[all …]
Dtest_rotatedrect.cpp66 int Core_RotatedRectConstructorTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
68 cvtest::BaseTest::prepare_test_case( test_case_idx ); in prepare_test_case()
Dtest_concatenation.cpp91 int Core_ConcatenationTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
93 cvtest::BaseTest::prepare_test_case( test_case_idx ); in prepare_test_case()
/external/opencv3/modules/ts/include/opencv2/
Dts.hpp227 virtual int prepare_test_case( int test_case_idx );
230 virtual int validate_test_results( int test_case_idx );
236 virtual int update_progress( int progress, int test_case_idx, int count, double dt );
270 int test_case_idx; member
324 virtual void update_context( BaseTest* test, int test_case_idx, bool update_ts_context );
449 virtual int prepare_test_case( int test_case_idx );
450 virtual int validate_test_results( int test_case_idx );
452 virtual void prepare_to_validation( int test_case_idx );
453 …virtual void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vect…
454 virtual void fill_array( int test_case_idx, int i, int j, Mat& arr );
[all …]
/external/opencv3/modules/video/test/
Dtest_camshift.cpp58 int prepare_test_case( int test_case_idx );
59 int validate_test_results( int test_case_idx );
153 int CV_TrackBaseTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
156 cvtest::BaseTest::prepare_test_case( test_case_idx ); in prepare_test_case()
209 int prepare_test_case( int test_case_idx );
210 int validate_test_results( int test_case_idx );
225 int CV_CamShiftTest::prepare_test_case( int test_case_idx ) in prepare_test_case() argument
229 int code = CV_TrackBaseTest::prepare_test_case( test_case_idx ); in prepare_test_case()
377 int prepare_test_case( int test_case_idx );
378 int validate_test_results( int test_case_idx );
[all …]
Dtest_accum.cpp54 …void get_test_array_types_and_sizes( int test_case_idx, vector<vector<Size> >& sizes, vector<vecto…
55 double get_success_error_level( int test_case_idx, int i, int j );
71 void CV_AccumBaseTest::get_test_array_types_and_sizes( int test_case_idx, in get_test_array_types_and_sizes() argument
78 cvtest::ArrayTest::get_test_array_types_and_sizes( test_case_idx, sizes, types ); in get_test_array_types_and_sizes()

12