updated tests and test data for photo

pull/64/head
Alexander Shishkov 11 years ago
parent 8eb40877df
commit 8923915a67
  1. 3
      modules/xphoto/test/dct_image_denoising.cpp
  2. 3
      modules/xphoto/test/simple_color_balance.cpp
  3. 2
      modules/xphoto/test/test_main.cpp

@ -4,7 +4,8 @@ namespace cvtest
{
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;
double thresholds[] = {0.2};

@ -4,7 +4,8 @@ namespace cvtest
{
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;
float threshold = 0.005f;

@ -1,3 +1,3 @@
#include "test_precomp.hpp"
CV_TEST_MAIN("xphoto")
CV_TEST_MAIN("")

Loading…
Cancel
Save