replaced sanity check condition for stitching perf test
authorAlexander Alekhin <alexander.alekhin@itseez.com>
Wed, 30 Apr 2014 14:01:25 +0000 (18:01 +0400)
committerAlexander Alekhin <alexander.alekhin@itseez.com>
Wed, 30 Apr 2014 14:02:06 +0000 (18:02 +0400)
modules/stitching/perf/perf_stich.cpp

index 8cf8965..1a37472 100644 (file)
@@ -56,11 +56,10 @@ PERF_TEST_P(stitch, a123, TEST_DETECTORS)
         stopTimer();
     }
 
-    Mat pano_small;
-    if (!pano.empty())
-        resize(pano, pano_small, Size(320, 240), 0, 0, INTER_AREA);
+    EXPECT_NEAR(pano.size().width, 1182, 50);
+    EXPECT_NEAR(pano.size().height, 682, 30);
 
-    SANITY_CHECK(pano_small, 5);
+    SANITY_CHECK_NOTHING();
 }
 
 PERF_TEST_P(stitch, b12, TEST_DETECTORS)