diff --git a/modules/line_descriptor/perf/perf_descriptors.cpp b/modules/line_descriptor/perf/perf_descriptors.cpp index 9bfa6e6ef..103a02335 100644 --- a/modules/line_descriptor/perf/perf_descriptors.cpp +++ b/modules/line_descriptor/perf/perf_descriptors.cpp @@ -51,7 +51,7 @@ using std::tr1::get; typedef perf::TestBaseWithParam file_str; #define IMAGES \ - "line_descriptor_data/cameraman.jpg", "line_descriptor_data/lena.bmp" + "cv/line_descriptor/cameraman.jpg", "cv/shared/lena.png" PERF_TEST_P(file_str, descriptors, testing::Values(IMAGES)) { diff --git a/modules/line_descriptor/perf/perf_detection.cpp b/modules/line_descriptor/perf/perf_detection.cpp index 5b6b24800..8e2528a32 100644 --- a/modules/line_descriptor/perf/perf_detection.cpp +++ b/modules/line_descriptor/perf/perf_detection.cpp @@ -51,7 +51,7 @@ using std::tr1::get; typedef perf::TestBaseWithParam file_str; #define IMAGES \ - "line_descriptor_data/cameraman.jpg", "line_descriptor_data/lena.bmp" + "cv/line_descriptor/cameraman.jpg", "cv/shared/lena.png" void createMatFromVec( const std::vector& linesVec, Mat& output ); diff --git a/modules/line_descriptor/test/test_descriptors_regression.cpp b/modules/line_descriptor/test/test_descriptors_regression.cpp index 947e6d7b0..a25ca513b 100644 --- a/modules/line_descriptor/test/test_descriptors_regression.cpp +++ b/modules/line_descriptor/test/test_descriptors_regression.cpp @@ -50,7 +50,6 @@ using namespace cv::line_descriptor; const std::string LINE_DESCRIPTOR_DIR = "line_descriptor"; const std::string IMAGE_FILENAME = "cameraman.jpg"; -const std::string DESCRIPTORS_DIR = LINE_DESCRIPTOR_DIR + "/descriptors"; template class CV_BD_DescriptorsTest : public cvtest::BaseTest @@ -120,7 +119,7 @@ class CV_BD_DescriptorsTest : public cvtest::BaseTest Mat readDescriptors() { Mat descriptors; - FileStorage fs( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/descriptors/" + fs_name, FileStorage::READ ); + FileStorage fs( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/" + fs_name, FileStorage::READ ); fs["descriptors"] >> descriptors; return descriptors; @@ -128,7 +127,7 @@ class CV_BD_DescriptorsTest : public cvtest::BaseTest bool writeDescriptors( Mat& descs ) { - FileStorage fs( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/descriptors/" + fs_name, FileStorage::WRITE ); + FileStorage fs( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/" + fs_name, FileStorage::WRITE ); fs << "descriptors" << descs; return true; @@ -270,7 +269,7 @@ class CV_BD_DescriptorsTest : public cvtest::BaseTest } std::vector keylines; - FileStorage fs( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/detectors/edl_detector_keylines_cameraman.yaml", FileStorage::READ ); + FileStorage fs( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/edl_detector_keylines_cameraman.yaml", FileStorage::READ ); if( fs.isOpened() ) { //read( fs.getFirstTopLevelNode(), keypoints ); @@ -326,7 +325,7 @@ class CV_BD_DescriptorsTest : public cvtest::BaseTest else { ts->printf( cvtest::TS::LOG, "Compute and write keylines.\n" ); - fs.open( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/detectors/edl_detector_keylines_cameraman.yaml", FileStorage::WRITE ); + fs.open( std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/edl_detector_keylines_cameraman.yaml", FileStorage::WRITE ); if( fs.isOpened() ) { bd->detect( img, keylines ); diff --git a/modules/line_descriptor/test/test_detector_regression.cpp b/modules/line_descriptor/test/test_detector_regression.cpp index ea128ee7a..3a98dd8ce 100644 --- a/modules/line_descriptor/test/test_detector_regression.cpp +++ b/modules/line_descriptor/test/test_detector_regression.cpp @@ -50,7 +50,6 @@ using namespace cv::line_descriptor; const std::string LINE_DESCRIPTOR_DIR = "line_descriptor"; const std::string IMAGE_FILENAME = "cameraman.jpg"; -const std::string DETECTOR_DIR = LINE_DESCRIPTOR_DIR + "/detectors"; class CV_BinaryDescriptorDetectorTest : public cvtest::BaseTest { @@ -256,7 +255,7 @@ void CV_BinaryDescriptorDetectorTest::regressionTest() { assert( bd ); std::string imgFilename = std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/" + IMAGE_FILENAME; - std::string resFilename = std::string( ts->get_data_path() ) + DETECTOR_DIR + "/" + fs_name + ".yaml"; + std::string resFilename = std::string( ts->get_data_path() ) + LINE_DESCRIPTOR_DIR + "/" + fs_name + ".yaml"; // Read the test image. Mat image = imread( imgFilename ); diff --git a/modules/reg/test/test_main.cpp b/modules/reg/test/test_main.cpp index 2e03ffb3e..3bf6cc44d 100644 --- a/modules/reg/test/test_main.cpp +++ b/modules/reg/test/test_main.cpp @@ -43,4 +43,4 @@ #include "test_precomp.hpp" -CV_TEST_MAIN("reg") +CV_TEST_MAIN("cv") diff --git a/modules/reg/test/test_reg.cpp b/modules/reg/test/test_reg.cpp index 907e5ea25..44b19d8ca 100644 --- a/modules/reg/test/test_reg.cpp +++ b/modules/reg/test/test_reg.cpp @@ -244,7 +244,7 @@ void RegTest::testProjective() void RegTest::loadImage() { - const string imageName = cvtest::TS::ptr()->get_data_path() + "home.png"; + const string imageName = cvtest::TS::ptr()->get_data_path() + "reg/home.png"; img1 = imread(imageName, -1); ASSERT_TRUE(img1.data != 0); diff --git a/modules/rgbd/samples/odometry_evaluation.cpp b/modules/rgbd/samples/odometry_evaluation.cpp index b52c9287a..121acfc5a 100644 --- a/modules/rgbd/samples/odometry_evaluation.cpp +++ b/modules/rgbd/samples/odometry_evaluation.cpp @@ -173,7 +173,7 @@ int main(int argc, char** argv) Ptr frame_prev = Ptr(new OdometryFrame()), frame_curr = Ptr(new OdometryFrame()); - Ptr odometry = Odometry::create("RGBD." + string(argv[3]) + "Odometry"); + Ptr odometry = Odometry::create(string(argv[3]) + "Odometry"); if(odometry.empty()) { cout << "Can not create Odometry algorithm. Check the passed odometry name." << endl; diff --git a/modules/rgbd/test/test_main.cpp b/modules/rgbd/test/test_main.cpp index d66d0ffc9..6b2499344 100644 --- a/modules/rgbd/test/test_main.cpp +++ b/modules/rgbd/test/test_main.cpp @@ -1,3 +1,3 @@ #include "test_precomp.hpp" -CV_TEST_MAIN("rgbd") +CV_TEST_MAIN("cv") diff --git a/modules/rgbd/test/test_normal.cpp b/modules/rgbd/test/test_normal.cpp index 95e3251e2..75a85bf6f 100644 --- a/modules/rgbd/test/test_normal.cpp +++ b/modules/rgbd/test/test_normal.cpp @@ -450,7 +450,7 @@ protected: //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// -TEST(Rgbd_Normals, compute) +TEST(DISABLED_Rgbd_Normals, compute) { cv::rgbd::CV_RgbdNormalsTest test; test.safe_run(); diff --git a/modules/rgbd/test/test_odometry.cpp b/modules/rgbd/test/test_odometry.cpp index c95720e1e..8e110bc3b 100644 --- a/modules/rgbd/test/test_odometry.cpp +++ b/modules/rgbd/test/test_odometry.cpp @@ -175,8 +175,8 @@ protected: bool CV_OdometryTest::readData(Mat& image, Mat& depth) const { - std::string imageFilename = std::string(ts->get_data_path()) + "/odometry/rgb.png"; - std::string depthFilename = std::string(ts->get_data_path()) + "/odometry/depth.png"; + std::string imageFilename = ts->get_data_path() + "rgbd/rgb.png"; + std::string depthFilename = ts->get_data_path() + "rgbd/depth.png"; image = imread(imageFilename, 0); depth = imread(depthFilename, -1); @@ -286,7 +286,7 @@ void CV_OdometryTest::run(int) Rodrigues(calcR, calcRvec); calcRvec = calcRvec.reshape(rvec.channels(), rvec.rows); Mat calcTvec = calcRt(Rect(3,0,1,3)); - + #if SHOW_DEBUG_IMAGES imshow("image", image); imshow("warpedImage", warpedImage); @@ -296,7 +296,7 @@ void CV_OdometryTest::run(int) waitKey(); #endif - + // compare rotation double rdiffnorm = norm(rvec - calcRvec), rnorm = norm(rvec); @@ -338,18 +338,18 @@ void CV_OdometryTest::run(int) TEST(RGBD_Odometry_Rgbd, algorithmic) { - cv::rgbd::CV_OdometryTest test(cv::rgbd::Odometry::create("RGBD.RgbdOdometry"), 0.99, 0.94); + cv::rgbd::CV_OdometryTest test(cv::rgbd::Odometry::create("RgbdOdometry"), 0.99, 0.94); test.safe_run(); } -TEST(RGBD_Odometry_ICP, algorithmic) +TEST(DISABLED_RGBD_Odometry_ICP, algorithmic) { - cv::rgbd::CV_OdometryTest test(cv::rgbd::Odometry::create("RGBD.ICPOdometry"), 0.99, 0.99); + cv::rgbd::CV_OdometryTest test(cv::rgbd::Odometry::create("ICPOdometry"), 0.99, 0.99); test.safe_run(); } -TEST(RGBD_Odometry_RgbdICP, algorithmic) +TEST(DISABLED_RGBD_Odometry_RgbdICP, algorithmic) { - cv::rgbd::CV_OdometryTest test(cv::rgbd::Odometry::create("RGBD.RgbdICPOdometry"), 0.99, 0.99); + cv::rgbd::CV_OdometryTest test(cv::rgbd::Odometry::create("RgbdICPOdometry"), 0.99, 0.99); test.safe_run(); } diff --git a/modules/rgbd/testdata/rgbd/odometry/depth.png b/modules/rgbd/testdata/rgbd/odometry/depth.png deleted file mode 100644 index dd4364259..000000000 Binary files a/modules/rgbd/testdata/rgbd/odometry/depth.png and /dev/null differ diff --git a/modules/rgbd/testdata/rgbd/odometry/rgb.png b/modules/rgbd/testdata/rgbd/odometry/rgb.png deleted file mode 100644 index 22fb853d1..000000000 Binary files a/modules/rgbd/testdata/rgbd/odometry/rgb.png and /dev/null differ diff --git a/modules/xfeatures2d/perf/perf_daisy.cpp b/modules/xfeatures2d/perf/perf_daisy.cpp index 18ade55e4..222ca1468 100644 --- a/modules/xfeatures2d/perf/perf_daisy.cpp +++ b/modules/xfeatures2d/perf/perf_daisy.cpp @@ -25,7 +25,7 @@ PERF_TEST_P(daisy, extract, testing::Values(DAISY_IMAGES)) Ptr descriptor = DAISY::create(); vector points; - vector descriptors; + Mat_ descriptors; // compute all daisies in image TEST_CYCLE() descriptor->compute(frame, descriptors); diff --git a/modules/xfeatures2d/src/daisy.cpp b/modules/xfeatures2d/src/daisy.cpp index 413322f0b..a98844ca1 100644 --- a/modules/xfeatures2d/src/daisy.cpp +++ b/modules/xfeatures2d/src/daisy.cpp @@ -602,10 +602,10 @@ static void bi_get_histogram( float* histogram, const double y, const double x, // A C --> pixel positions // B D - const float* A = hcube->ptr(0, mny *_hist_th_q_no, mnx *_hist_th_q_no); - const float* B = hcube->ptr(0, (mny+1)*_hist_th_q_no, mnx *_hist_th_q_no); - const float* C = hcube->ptr(0, mny *_hist_th_q_no, (mnx+1)*_hist_th_q_no); - const float* D = hcube->ptr(0, (mny+1)*_hist_th_q_no, (mnx+1)*_hist_th_q_no); + const float* A = hcube->ptr(0, mny , mnx ); + const float* B = hcube->ptr(0, (mny+1), mnx ); + const float* C = hcube->ptr(0, mny , (mnx+1)); + const float* D = hcube->ptr(0, (mny+1), (mnx+1)); double alpha = mnx+1-x; double beta = mny+1-y; @@ -1156,7 +1156,7 @@ struct ComputeHistogramsInvoker : ParallelLoopBody Rect( 0, 0, layers->at(r).size[2]-1, layers->at(r).size[1]-1 ) ) ) continue; - float* hist = layers->at(r).ptr(0,y*_hist_th_q_no,x*_hist_th_q_no); + float* hist = layers->at(r).ptr(0,y,x); for( int h = 0; h < _hist_th_q_no; h++ ) hist[h] = layers->at(r+1).at(h,y,x); diff --git a/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp b/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp index 88467b19c..d9e311a00 100644 --- a/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp +++ b/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp @@ -660,7 +660,7 @@ TEST(Features2d_RotationInvariance_Descriptor_LATCH, regression) test.safe_run(); } -TEST(Features2d_RotationInvariance_Descriptor_DAISY, regression) +TEST(DISABLED_Features2d_RotationInvariance_Descriptor_DAISY, regression) { DescriptorRotationInvarianceTest test(BRISK::create(), DAISY::create(15, 3, 8, 8, DAISY::NRM_NONE, noArray(), true, true), @@ -754,7 +754,7 @@ TEST(Features2d_RotationInvariance2_Detector_SURF, regression) ASSERT_LT( fabs(keypoints[1].response - keypoints[4].response), 1e-6); } -TEST(Features2d_ScaleInvariance_Descriptor_DAISY, regression) +TEST(DISABLED_Features2d_ScaleInvariance_Descriptor_DAISY, regression) { DescriptorScaleInvarianceTest test(BRISK::create(), DAISY::create(15, 3, 8, 8, DAISY::NRM_NONE, noArray(), true, true), diff --git a/modules/ximgproc/testdata/disparityfilter/GT.png b/modules/ximgproc/testdata/disparityfilter/GT.png deleted file mode 100644 index 4be979bf5..000000000 Binary files a/modules/ximgproc/testdata/disparityfilter/GT.png and /dev/null differ diff --git a/modules/ximgproc/testdata/disparityfilter/ROI.xml b/modules/ximgproc/testdata/disparityfilter/ROI.xml deleted file mode 100644 index ab1e4b006..000000000 --- a/modules/ximgproc/testdata/disparityfilter/ROI.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -166 -7 -851 -422 - diff --git a/modules/ximgproc/testdata/disparityfilter/disparity_left_raw.png b/modules/ximgproc/testdata/disparityfilter/disparity_left_raw.png deleted file mode 100644 index 3fb78c714..000000000 Binary files a/modules/ximgproc/testdata/disparityfilter/disparity_left_raw.png and /dev/null differ diff --git a/modules/ximgproc/testdata/disparityfilter/disparity_right_raw.png b/modules/ximgproc/testdata/disparityfilter/disparity_right_raw.png deleted file mode 100644 index e8d9fb168..000000000 Binary files a/modules/ximgproc/testdata/disparityfilter/disparity_right_raw.png and /dev/null differ diff --git a/modules/ximgproc/testdata/disparityfilter/left_view.png b/modules/ximgproc/testdata/disparityfilter/left_view.png deleted file mode 100644 index 9cbdcf86d..000000000 Binary files a/modules/ximgproc/testdata/disparityfilter/left_view.png and /dev/null differ diff --git a/modules/ximgproc/testdata/disparityfilter/reference_accuracy.xml b/modules/ximgproc/testdata/disparityfilter/reference_accuracy.xml deleted file mode 100644 index aa8614709..000000000 --- a/modules/ximgproc/testdata/disparityfilter/reference_accuracy.xml +++ /dev/null @@ -1,7 +0,0 @@ - - -5043.6495 -128.3773 -48.5417 -45.8749 - diff --git a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss15_sr0.3_outliers_ref.png b/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss15_sr0.3_outliers_ref.png deleted file mode 100644 index 09b6378f1..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss15_sr0.3_outliers_ref.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss30_sr0.1_ref.png b/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss30_sr0.1_ref.png deleted file mode 100644 index da8f762bb..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss30_sr0.1_ref.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss50_sr0.3_ref.png b/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss50_sr0.3_ref.png deleted file mode 100644 index 23be3f4f3..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss50_sr0.3_ref.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss50_sr0.5_outliers_ref.png b/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss50_sr0.5_outliers_ref.png deleted file mode 100644 index 94cbf8fe2..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss50_sr0.5_outliers_ref.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss5_sr0.1_outliers_ref.png b/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss5_sr0.1_outliers_ref.png deleted file mode 100644 index d35ad979b..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss5_sr0.1_outliers_ref.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss5_sr0.3_ref.png b/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss5_sr0.3_ref.png deleted file mode 100644 index 59830f0e6..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/amf/kodim23_amf_ss5_sr0.3_ref.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/dt/authors_statue_IC_ss30_sc0.2.png b/modules/ximgproc/testdata/edgefilter/dt/authors_statue_IC_ss30_sc0.2.png deleted file mode 100644 index adae53725..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/dt/authors_statue_IC_ss30_sc0.2.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/dt/authors_statue_NC_ss30_sc0.2.png b/modules/ximgproc/testdata/edgefilter/dt/authors_statue_NC_ss30_sc0.2.png deleted file mode 100644 index 7a14144c3..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/dt/authors_statue_NC_ss30_sc0.2.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/dt/authors_statue_RF_ss30_sc0.2.png b/modules/ximgproc/testdata/edgefilter/dt/authors_statue_RF_ss30_sc0.2.png deleted file mode 100644 index 4d71882a3..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/dt/authors_statue_RF_ss30_sc0.2.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/fgs/kodim23_lambda=1000_sigma=10.png b/modules/ximgproc/testdata/edgefilter/fgs/kodim23_lambda=1000_sigma=10.png deleted file mode 100644 index bb715802d..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/fgs/kodim23_lambda=1000_sigma=10.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/kodim23.png b/modules/ximgproc/testdata/edgefilter/kodim23.png deleted file mode 100644 index ed0297ea6..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/kodim23.png and /dev/null differ diff --git a/modules/ximgproc/testdata/edgefilter/statue.png b/modules/ximgproc/testdata/edgefilter/statue.png deleted file mode 100644 index b348cfd7d..000000000 Binary files a/modules/ximgproc/testdata/edgefilter/statue.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/model.yml.gz b/modules/ximgproc/testdata/ximgproc/model.yml.gz deleted file mode 100644 index 1a0138a40..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/model.yml.gz and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/01.png b/modules/ximgproc/testdata/ximgproc/results/01.png deleted file mode 100644 index 96ee757be..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/01.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/02.png b/modules/ximgproc/testdata/ximgproc/results/02.png deleted file mode 100644 index e42244f3d..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/02.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/03.png b/modules/ximgproc/testdata/ximgproc/results/03.png deleted file mode 100644 index d08f21ff2..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/03.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/04.png b/modules/ximgproc/testdata/ximgproc/results/04.png deleted file mode 100644 index 5980a8e20..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/04.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/05.png b/modules/ximgproc/testdata/ximgproc/results/05.png deleted file mode 100644 index 8abc9c2cd..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/05.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/06.png b/modules/ximgproc/testdata/ximgproc/results/06.png deleted file mode 100644 index 7b45eb909..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/06.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/07.png b/modules/ximgproc/testdata/ximgproc/results/07.png deleted file mode 100644 index d1796e60c..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/07.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/08.png b/modules/ximgproc/testdata/ximgproc/results/08.png deleted file mode 100644 index 8876820b8..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/08.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/09.png b/modules/ximgproc/testdata/ximgproc/results/09.png deleted file mode 100644 index 3024c8a7d..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/09.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/10.png b/modules/ximgproc/testdata/ximgproc/results/10.png deleted file mode 100644 index c84655680..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/10.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/11.png b/modules/ximgproc/testdata/ximgproc/results/11.png deleted file mode 100644 index 49e7380fd..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/11.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/results/12.png b/modules/ximgproc/testdata/ximgproc/results/12.png deleted file mode 100644 index 7f229e867..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/results/12.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/01.png b/modules/ximgproc/testdata/ximgproc/sources/01.png deleted file mode 100644 index 0146c435c..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/01.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/02.png b/modules/ximgproc/testdata/ximgproc/sources/02.png deleted file mode 100644 index dc4422a9a..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/02.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/03.png b/modules/ximgproc/testdata/ximgproc/sources/03.png deleted file mode 100644 index 180dec65e..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/03.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/04.png b/modules/ximgproc/testdata/ximgproc/sources/04.png deleted file mode 100644 index d7c6478e0..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/04.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/05.png b/modules/ximgproc/testdata/ximgproc/sources/05.png deleted file mode 100644 index 78fc43608..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/05.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/06.png b/modules/ximgproc/testdata/ximgproc/sources/06.png deleted file mode 100644 index ad79cde4a..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/06.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/07.png b/modules/ximgproc/testdata/ximgproc/sources/07.png deleted file mode 100644 index 785014c05..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/07.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/08.png b/modules/ximgproc/testdata/ximgproc/sources/08.png deleted file mode 100644 index ff46953e7..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/08.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/09.png b/modules/ximgproc/testdata/ximgproc/sources/09.png deleted file mode 100644 index 2156bb511..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/09.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/10.png b/modules/ximgproc/testdata/ximgproc/sources/10.png deleted file mode 100644 index c5bf64c6a..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/10.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/11.png b/modules/ximgproc/testdata/ximgproc/sources/11.png deleted file mode 100644 index 0650efa06..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/11.png and /dev/null differ diff --git a/modules/ximgproc/testdata/ximgproc/sources/12.png b/modules/ximgproc/testdata/ximgproc/sources/12.png deleted file mode 100644 index 57d850520..000000000 Binary files a/modules/ximgproc/testdata/ximgproc/sources/12.png and /dev/null differ diff --git a/modules/xphoto/test/simple_color_balance.cpp b/modules/xphoto/test/simple_color_balance.cpp index 956e2b11d..bf30271ba 100644 --- a/modules/xphoto/test/simple_color_balance.cpp +++ b/modules/xphoto/test/simple_color_balance.cpp @@ -4,8 +4,7 @@ namespace cvtest { TEST(xphoto_simplecolorbalance, regression) { - cv::String subfolder = "cv/xphoto/"; - cv::String dir = cvtest::TS::ptr()->get_data_path() + subfolder + "simple_white_balance/"; + cv::String dir = cvtest::TS::ptr()->get_data_path() + "cv/xphoto/simple_white_balance/"; int nTests = 12; float threshold = 0.005f; @@ -28,4 +27,4 @@ namespace cvtest EXPECT_LE( mse[0]+mse[1]+mse[2]+mse[3], threshold ); } } -} \ No newline at end of file +} diff --git a/modules/xphoto/test/test_grayworld.cpp b/modules/xphoto/test/test_grayworld.cpp index 737b101e4..81ae287a1 100644 --- a/modules/xphoto/test/test_grayworld.cpp +++ b/modules/xphoto/test/test_grayworld.cpp @@ -65,8 +65,7 @@ namespace cvtest { TEST(xphoto_grayworld_white_balance, regression) { - String subfolder = "/xphoto/"; - String dir = cvtest::TS::ptr()->get_data_path() + subfolder + "simple_white_balance/"; + String dir = cvtest::TS::ptr()->get_data_path() + "cv/xphoto/simple_white_balance/"; const int nTests = 14; const float wb_thresh = 0.5f; const float acc_thresh = 2.f; diff --git a/modules/xphoto/testdata/xphoto/dct_image_denoising/results/01.png b/modules/xphoto/testdata/xphoto/dct_image_denoising/results/01.png deleted file mode 100644 index d451f21fa..000000000 Binary files a/modules/xphoto/testdata/xphoto/dct_image_denoising/results/01.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/dct_image_denoising/sources/01.png b/modules/xphoto/testdata/xphoto/dct_image_denoising/sources/01.png deleted file mode 100644 index a7ac74db8..000000000 Binary files a/modules/xphoto/testdata/xphoto/dct_image_denoising/sources/01.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/inpainting/mask_1.png b/modules/xphoto/testdata/xphoto/inpainting/mask_1.png deleted file mode 100644 index f100fed07..000000000 Binary files a/modules/xphoto/testdata/xphoto/inpainting/mask_1.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/inpainting/src_1.jpg b/modules/xphoto/testdata/xphoto/inpainting/src_1.jpg deleted file mode 100644 index 64cd3cef9..000000000 Binary files a/modules/xphoto/testdata/xphoto/inpainting/src_1.jpg and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/01.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/01.png deleted file mode 100644 index 0e35a9875..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/01.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/02.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/02.png deleted file mode 100644 index 9bcbf295b..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/02.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/03.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/03.png deleted file mode 100644 index c92e59b68..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/03.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/04.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/04.png deleted file mode 100644 index 3df7fa933..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/04.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/05.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/05.png deleted file mode 100644 index 50c51aac5..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/05.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/06.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/06.png deleted file mode 100644 index 130e980a4..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/06.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/07.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/07.png deleted file mode 100644 index 256811d36..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/07.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/08.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/08.png deleted file mode 100644 index afa68b0f5..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/08.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/09.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/09.png deleted file mode 100644 index afa68b0f5..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/09.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/10.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/10.png deleted file mode 100644 index 7c7378694..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/10.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/11.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/11.png deleted file mode 100644 index 99919996f..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/11.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/12.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/12.png deleted file mode 100644 index 4f80234da..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/12.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/13.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/13.png deleted file mode 100644 index 6d21a0dd3..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/13.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/results/14.png b/modules/xphoto/testdata/xphoto/simple_white_balance/results/14.png deleted file mode 100644 index 4d31aa351..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/results/14.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/01.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/01.png deleted file mode 100644 index d44be3af3..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/01.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/02.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/02.png deleted file mode 100644 index 723e2124a..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/02.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/03.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/03.png deleted file mode 100644 index eeecf07c0..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/03.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/04.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/04.png deleted file mode 100644 index 096a79d6d..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/04.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/05.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/05.png deleted file mode 100644 index a23c632c1..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/05.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/06.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/06.png deleted file mode 100644 index 3bf87ef31..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/06.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/07.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/07.png deleted file mode 100644 index 448a86660..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/07.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/08.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/08.png deleted file mode 100644 index 5b4cd8008..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/08.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/09.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/09.png deleted file mode 100644 index 5b4cd8008..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/09.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/10.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/10.png deleted file mode 100644 index e9e10baba..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/10.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/11.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/11.png deleted file mode 100644 index 481059c55..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/11.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/12.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/12.png deleted file mode 100644 index 595cdef14..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/12.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/13.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/13.png deleted file mode 100644 index 226c7a796..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/13.png and /dev/null differ diff --git a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/14.png b/modules/xphoto/testdata/xphoto/simple_white_balance/sources/14.png deleted file mode 100644 index 6374d4232..000000000 Binary files a/modules/xphoto/testdata/xphoto/simple_white_balance/sources/14.png and /dev/null differ