Commit 8923915a authored by Alexander Shishkov's avatar Alexander Shishkov

updated tests and test data for photo

parent 8eb40877
...@@ -4,7 +4,8 @@ namespace cvtest ...@@ -4,7 +4,8 @@ namespace cvtest
{ {
TEST(xphoto_dctimagedenoising, regression) TEST(xphoto_dctimagedenoising, regression)
{ {
cv::String dir = cvtest::TS::ptr()->get_data_path() + "dct_image_denoising/"; cv::String subfolder = "cv/xphoto/";
cv::String dir = cvtest::TS::ptr()->get_data_path() + subfolder + "dct_image_denoising/";
int nTests = 1; int nTests = 1;
double thresholds[] = {0.2}; double thresholds[] = {0.2};
......
...@@ -4,7 +4,8 @@ namespace cvtest ...@@ -4,7 +4,8 @@ namespace cvtest
{ {
TEST(xphoto_simplecolorbalance, regression) TEST(xphoto_simplecolorbalance, regression)
{ {
cv::String dir = cvtest::TS::ptr()->get_data_path() + "simple_white_balance/"; cv::String subfolder = "cv/xphoto/";
cv::String dir = cvtest::TS::ptr()->get_data_path() + subfolder + "simple_white_balance/";
int nTests = 12; int nTests = 12;
float threshold = 0.005f; float threshold = 0.005f;
......
#include "test_precomp.hpp" #include "test_precomp.hpp"
CV_TEST_MAIN("xphoto") CV_TEST_MAIN("")
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment