Lines Matching refs:ts
114 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testTranslation()
119 ts->printf( ts->LOG, "test image can not be read"); in testTranslation()
120 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testTranslation()
126 cv::RNG rng = ts->get_rng(); in testTranslation()
132 ts->update_context( this, k, true ); in testTranslation()
149 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testTranslation()
154 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in testTranslation()
155 ts->printf( ts->LOG, "RMS = %f", in testTranslation()
170 ts->set_failed_test_info(cvtest::TS::OK); in run()
189 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testEuclidean()
194 ts->printf( ts->LOG, "test image can not be read"); in testEuclidean()
195 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testEuclidean()
201 cv::RNG rng = ts->get_rng(); in testEuclidean()
205 ts->update_context( this, k, true ); in testEuclidean()
224 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testEuclidean()
229 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in testEuclidean()
230 ts->printf( ts->LOG, "RMS = %f", in testEuclidean()
246 ts->set_failed_test_info(cvtest::TS::OK); in run()
264 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testAffine()
268 ts->printf( ts->LOG, "test image can not be read"); in testAffine()
269 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testAffine()
275 cv::RNG rng = ts->get_rng(); in testAffine()
279 ts->update_context( this, k, true ); in testAffine()
299 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testAffine()
304 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in testAffine()
305 ts->printf( ts->LOG, "RMS = %f", in testAffine()
322 ts->set_failed_test_info(cvtest::TS::OK); in run()
339 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testHomography()
344 ts->printf( ts->LOG, "test image can not be read"); in testHomography()
345 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testHomography()
351 cv::RNG rng = ts->get_rng(); in testHomography()
355 ts->update_context( this, k, true ); in testHomography()
374 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testHomography()
379 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in testHomography()
380 ts->printf( ts->LOG, "RMS = %f", in testHomography()
394 ts->set_failed_test_info(cvtest::TS::OK); in run()
411 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testMask()
416 ts->printf( ts->LOG, "test image can not be read"); in testMask()
417 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_TEST_DATA); in testMask()
426 cv::RNG rng = ts->get_rng(); in testMask()
432 ts->update_context( this, k, true ); in testMask()
457 ts->set_failed_test_info(cvtest::TS::FAIL_INVALID_OUTPUT); in testMask()
462 ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY); in testMask()
463 ts->printf( ts->LOG, "RMS = %f", in testMask()
477 ts->set_failed_test_info(cvtest::TS::OK); in run()