From 856aaee8cdce8a1538c6aadf67670f31500390aa Mon Sep 17 00:00:00 2001 From: Ivan Korolev Date: Fri, 30 Mar 2012 12:48:47 +0000 Subject: [PATCH] Fixed the path to the testdata. --- modules/imgproc/test/test_color.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/test/test_color.cpp b/modules/imgproc/test/test_color.cpp index b88b30efee..68008b714d 100644 --- a/modules/imgproc/test/test_color.cpp +++ b/modules/imgproc/test/test_color.cpp @@ -1676,8 +1676,8 @@ TEST(Imgproc_ColorBayerVNG, accuracy) { cvtest::TS& ts = *cvtest::TS::ptr(); - Mat given = imread(ts.get_data_path() + "/cvtcolor/bayerVNG_input.png", CV_LOAD_IMAGE_GRAYSCALE); - Mat gold = imread(ts.get_data_path() + "/cvtcolor/bayerVNG_gold.png", CV_LOAD_IMAGE_UNCHANGED); + Mat given = imread(string(ts.get_data_path()) + "/cvtcolor/bayerVNG_input.png", CV_LOAD_IMAGE_GRAYSCALE); + Mat gold = imread(string(ts.get_data_path()) + "/cvtcolor/bayerVNG_gold.png", CV_LOAD_IMAGE_UNCHANGED); Mat result; cvtColor(given, result, CV_BayerBG2BGR_VNG, 3);