Home
last modified time | relevance | path

Searched refs:get_data_path (Results 1 – 25 of 63) sorted by relevance

123

/external/opencv3/modules/imgproc/test/
Dtest_grabcut.cpp79 Mat img = imread(string(ts->get_data_path()) + "shared/airplane.png"); in run()
80 Mat mask_prob = imread(string(ts->get_data_path()) + "grabcut/mask_prob.png", 0); in run()
81 Mat exp_mask1 = imread(string(ts->get_data_path()) + "grabcut/exp_mask1.png", 0); in run()
82 Mat exp_mask2 = imread(string(ts->get_data_path()) + "grabcut/exp_mask2.png", 0); in run()
105 imwrite(string(ts->get_data_path()) + "grabcut/mask_prob.png", mask_prob); in run()
110 imwrite(string(ts->get_data_path()) + "grabcut/exp_mask1.png", exp_mask1); in run()
129 imwrite(string(ts->get_data_path()) + "grabcut/exp_mask2.png", exp_mask2); in run()
146 Mat image_1 = imread(string(ts.get_data_path()) + "grabcut/image1652.ppm", IMREAD_COLOR); in TEST()
147 Mat mask_1 = imread(string(ts.get_data_path()) + "grabcut/mask1652.ppm", IMREAD_GRAYSCALE); in TEST()
Dtest_watershed.cpp63 string exp_path = string(ts->get_data_path()) + "watershed/wshed_exp.png"; in run()
65 Mat orig = imread(string(ts->get_data_path()) + "inpaint/orig.png"); in run()
66 FileStorage fs(string(ts->get_data_path()) + "watershed/comp.xml", FileStorage::READ); in run()
Dtest_connectedcomponents.cpp63 string exp_path = string(ts->get_data_path()) + "connectedcomponents/ccomp_exp.png"; in run()
65 … Mat orig = imread(string(ts->get_data_path()) + "connectedcomponents/concentric_circles.png", 0); in run()
Dtest_houghLines.cpp145 string filename = cvtest::TS::ptr()->get_data_path() + picture_name; in run_test()
151 xml = string(cvtest::TS::ptr()->get_data_path()) + "imgproc/HoughLines.xml"; in run_test()
153 xml = string(cvtest::TS::ptr()->get_data_path()) + "imgproc/HoughLinesP.xml"; in run_test()
/external/opencv3/modules/photo/test/
Dtest_npr.cpp54 string folder = string(cvtest::TS::ptr()->get_data_path()) + "npr/"; in TEST()
71 string folder = string(cvtest::TS::ptr()->get_data_path()) + "npr/"; in TEST()
89 string folder = string(cvtest::TS::ptr()->get_data_path()) + "npr/"; in TEST()
106 string folder = string(cvtest::TS::ptr()->get_data_path()) + "npr/"; in TEST()
127 string folder = string(cvtest::TS::ptr()->get_data_path()) + "npr/"; in TEST()
Dtest_denoising.cpp61 string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; in TEST()
81 string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; in TEST()
102 string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; in TEST()
127 string folder = string(cvtest::TS::ptr()->get_data_path()) + "denoising/"; in TEST()
162 string imgname = string(cvtest::TS::ptr()->get_data_path()) + "shared/5MP.png"; in TEST()
Dtest_hdr.cpp91 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/tonemap/"; in TEST()
131 string folder = string(cvtest::TS::ptr()->get_data_path()) + "shared/"; in TEST()
157 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/"; in TEST()
183 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/"; in TEST()
206 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/"; in TEST()
226 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/"; in TEST()
245 string test_path = string(cvtest::TS::ptr()->get_data_path()) + "hdr/"; in TEST()
Dtest_cloning.cpp63 string folder = string(cvtest::TS::ptr()->get_data_path()) + "cloning/Normal_Cloning/"; in TEST()
94 string folder = string(cvtest::TS::ptr()->get_data_path()) + "cloning/Mixed_Cloning/"; in TEST()
126 string folder = string(cvtest::TS::ptr()->get_data_path()) + "cloning/Monochrome_Transfer/"; in TEST()
158 string folder = string(cvtest::TS::ptr()->get_data_path()) + "cloning/color_change/"; in TEST()
184 string folder = string(cvtest::TS::ptr()->get_data_path()) + "cloning/Illumination_Change/"; in TEST()
208 string folder = string(cvtest::TS::ptr()->get_data_path()) + "cloning/Texture_Flattening/"; in TEST()
/external/opencv3/modules/imgcodecs/test/
Dtest_grfmt.cpp103 const string folder = string(cvtest::TS::ptr()->get_data_path()) + "/readwrite/"; in TEST()
124 const string folder = string(cvtest::TS::ptr()->get_data_path()) + "/readwrite/"; in TEST()
141 Mat img = imread(string(ts->get_data_path()) + "readwrite/read.png"); in run()
295 Mat rle = imread(string(ts->get_data_path()) + "readwrite/rle8.bmp"); in run()
296 Mat bmp = imread(string(ts->get_data_path()) + "readwrite/ordinary.bmp"); in run()
353 string imgName = string(ts.get_data_path()) + "/../cv/shared/lena.png"; in TEST()
381 Mat img = imread(string(ts->get_data_path()) + "readwrite/color_palette_alpha.png",-1); in run()
401 img = imread(string(ts->get_data_path()) + "readwrite/color_palette_no_alpha.png",-1); in run()
419 img = imread(string(ts->get_data_path()) + "readwrite/color_palette_alpha.png",1); in run()
437 img = imread(string(ts->get_data_path()) + "readwrite/color_palette_no_alpha.png",1); in run()
[all …]
/external/opencv3/modules/videoio/test/
Dtest_basic_props.cpp63 const string src_dir = TS::ptr()->get_data_path(); in TEST()
87 const string src_dir = TS::ptr()->get_data_path(); in TEST()
114 const string src_dir = TS::ptr()->get_data_path(); in TEST()
137 const string src_dir = TS::ptr()->get_data_path(); in TEST()
Dtest_video_io.cpp548 ImageTest(ts->get_data_path()); in run()
553 SpecificImageTest(ts->get_data_path()); in run()
563 VideoTest(ts->get_data_path(), fmt); in run()
574 SpecificVideoTest(ts->get_data_path(), fmt); in run()
/external/opencv3/modules/video/test/
Dtest_optflowpyrlk.cpp82 sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "lk_prev.dat" ); in run()
92 sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "lk_next.dat" ); in run()
119 sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "rock_1.bmp" ); in run()
131 sprintf( filename, "%soptflow/%s", ts->get_data_path().c_str(), "rock_2.bmp" ); in run()
218 std::string path = cvtest::TS::ptr()->get_data_path() + "../cv/shared/lena.png"; in TEST()
Dtest_tvl1optflow.cpp146 const string frame1_path = TS::ptr()->get_data_path() + "optflow/RubberWhale1.png"; in TEST()
147 const string frame2_path = TS::ptr()->get_data_path() + "optflow/RubberWhale2.png"; in TEST()
148 const string gold_flow_path = TS::ptr()->get_data_path() + "optflow/tvl1_flow.flo"; in TEST()
Dtest_ecc.cpp114 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testTranslation()
189 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testEuclidean()
264 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testAffine()
339 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testHomography()
411 Mat img = imread( string(ts->get_data_path()) + "shared/fruits.png", 0); in testMask()
/external/opencv3/modules/stitching/test/
Dtest_blenders.cpp49 Mat image1 = imread(string(cvtest::TS::ptr()->get_data_path()) + "cv/shared/baboon.png"); in TEST()
50 Mat image2 = imread(string(cvtest::TS::ptr()->get_data_path()) + "cv/shared/lena.png"); in TEST()
75 Mat expected = imread(string(cvtest::TS::ptr()->get_data_path()) + "stitching/baboon_lena.png"); in TEST()
/external/opencv3/modules/features2d/test/
Dtest_agast.cpp63 Mat image1 = imread(string(ts->get_data_path()) + "inpaint/orig.png"); in run()
64 Mat image2 = imread(string(ts->get_data_path()) + "cameracalibration/chess9.png"); in run()
65 string xml = string(ts->get_data_path()) + format("agast/result%d.xml", type); in run()
Dtest_fast.cpp63 Mat image1 = imread(string(ts->get_data_path()) + "inpaint/orig.png"); in run()
64 Mat image2 = imread(string(ts->get_data_path()) + "cameracalibration/chess9.png"); in run()
65 string xml = string(ts->get_data_path()) + format("fast/result%d.xml", type); in run()
Dtest_descriptors_regression.cpp195 string imgFilename = string(ts->get_data_path()) + FEATURES2D_DIR + "/" + IMAGE_FILENAME; in regressionTest()
204 …FileStorage fs( string(ts->get_data_path()) + FEATURES2D_DIR + "/keypoints.xml.gz", FileStorage::R… in regressionTest()
255 … fs.open( string(ts->get_data_path()) + FEATURES2D_DIR + "/keypoints.xml.gz", FileStorage::WRITE ); in regressionTest()
289 … Mat res = readMatFromBin( string(ts->get_data_path()) + DESCRIPTOR_DIR + "/" + string(name) ); in readDescriptors()
295 writeMatInBin( descs, string(ts->get_data_path()) + DESCRIPTOR_DIR + "/" + string(name) ); in writeDescriptors()
353 …string path = string(cvtest::TS::ptr()->get_data_path() + "detectors_descriptors_evaluation/images… in TEST()
381 const String& pattern = string(cvtest::TS::ptr()->get_data_path() + "shared/*.png"); in TEST()
Dtest_brisk.cpp62 Mat image1 = imread(string(ts->get_data_path()) + "inpaint/orig.png"); in run()
63 Mat image2 = imread(string(ts->get_data_path()) + "cameracalibration/chess9.png"); in run()
/external/opencv3/modules/cudacodec/test/
Dtest_video.cpp58 …const std::string inputFile = std::string(cvtest::TS::ptr()->get_data_path()) + "video/" + GET_PAR… in CUDA_TEST_P()
80 …const std::string inputFile = std::string(cvtest::TS::ptr()->get_data_path()) + "video/" + GET_PAR… in CUDA_TEST_P()
/external/opencv3/modules/video/test/ocl/
Dtest_bgfg_mog2.cpp44 string inputFile = string(TS::ptr()->get_data_path()) + "video/768x576.avi"; in OCL_TEST_P()
92 string inputFile = string(TS::ptr()->get_data_path()) + "video/768x576.avi"; in OCL_TEST_P()
/external/opencv3/modules/cudaobjdetect/test/
Dtest_objdetect.cpp160 …f.open((std::string(cvtest::TS::ptr()->get_data_path()) + "hog/expected_output.bin").c_str(), std:… in CUDA_TEST_P()
290 …std::string classifierXmlPath = std::string(cvtest::TS::ptr()->get_data_path()) + "lbpcascade/lbpc… in CUDA_TEST_P()
318 …std::string classifierXmlPath = std::string(cvtest::TS::ptr()->get_data_path()) + "lbpcascade/lbpc… in CUDA_TEST_P()
319 std::string imagePath = std::string(cvtest::TS::ptr()->get_data_path()) + "lbpcascade/er.png"; in CUDA_TEST_P()
/external/opencv3/modules/cudaimgproc/test/
Dtest_mean_shift.cpp101 …fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap.yaml", cv::FileStorage:… in CUDA_TEST_P()
103 …fs.open(std::string(cvtest::TS::ptr()->get_data_path()) + "meanshift/spmap_CC1X.yaml", cv::FileSto… in CUDA_TEST_P()
/external/opencv3/modules/ml/test/
Dtest_lr.cpp95 string dataFileName = ts->get_data_path() + "iris.data"; in run()
151 string dataFileName = ts->get_data_path() + "iris.data"; in run()
/external/opencv3/modules/viz/test/
Dtests_simple.cpp182 Mat lena = imread(Path::combine(cvtest::TS::ptr()->get_data_path(), "lena.png")); in TEST()
316 Mat lena = imread(Path::combine(cvtest::TS::ptr()->get_data_path(), "lena.png")); in TEST()
339 Mat lena = imread(Path::combine(cvtest::TS::ptr()->get_data_path(), "lena.png")); in TEST()
372 Mat lena = imread(Path::combine(cvtest::TS::ptr()->get_data_path(), "lena.png")); in TEST()
385 Mat lena = imread(Path::combine(cvtest::TS::ptr()->get_data_path(), "lena.png")); in TEST()

123