Tests for xphoto

pull/348/head
Maksim Shabunin 10 years ago
parent 79df3dbc85
commit 95af1b58f9
  1. 5
      modules/xphoto/test/simple_color_balance.cpp
  2. 3
      modules/xphoto/test/test_grayworld.cpp
  3. BIN
      modules/xphoto/testdata/xphoto/dct_image_denoising/results/01.png
  4. BIN
      modules/xphoto/testdata/xphoto/dct_image_denoising/sources/01.png
  5. BIN
      modules/xphoto/testdata/xphoto/inpainting/mask_1.png
  6. BIN
      modules/xphoto/testdata/xphoto/inpainting/src_1.jpg
  7. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/01.png
  8. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/02.png
  9. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/03.png
  10. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/04.png
  11. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/05.png
  12. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/06.png
  13. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/07.png
  14. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/08.png
  15. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/09.png
  16. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/10.png
  17. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/11.png
  18. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/12.png
  19. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/13.png
  20. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/results/14.png
  21. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/01.png
  22. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/02.png
  23. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/03.png
  24. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/04.png
  25. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/05.png
  26. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/06.png
  27. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/07.png
  28. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/08.png
  29. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/09.png
  30. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/10.png
  31. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/11.png
  32. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/12.png
  33. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/13.png
  34. BIN
      modules/xphoto/testdata/xphoto/simple_white_balance/sources/14.png

@ -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 );
}
}
}
}

@ -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;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 188 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 478 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 558 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 548 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 124 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 275 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 162 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 565 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 367 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 693 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 294 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 252 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 461 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 250 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 473 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 511 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 297 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 158 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 198 KiB

Loading…
Cancel
Save