Commit 41eb91f5 authored by Andrey Kamaev's avatar Andrey Kamaev

Updated performance tests sanity data; fixed some tests

parent 9576133e
...@@ -32,5 +32,5 @@ PERF_TEST_P( Size_DepthSrc_DepthDst_Channels_alpha, convertTo, ...@@ -32,5 +32,5 @@ PERF_TEST_P( Size_DepthSrc_DepthDst_Channels_alpha, convertTo,
TEST_CYCLE() src.convertTo(dst, depthDst, alpha); TEST_CYCLE() src.convertTo(dst, depthDst, alpha);
SANITY_CHECK(dst); SANITY_CHECK(dst, 1e-12);
} }
...@@ -32,5 +32,5 @@ PERF_TEST_P( Size_SrcDepth_DstChannels, merge, ...@@ -32,5 +32,5 @@ PERF_TEST_P( Size_SrcDepth_DstChannels, merge,
Mat dst; Mat dst;
TEST_CYCLE() merge( (vector<Mat> &)mv, dst ); TEST_CYCLE() merge( (vector<Mat> &)mv, dst );
SANITY_CHECK(dst); SANITY_CHECK(dst, 1e-12);
} }
\ No newline at end of file
...@@ -29,5 +29,5 @@ PERF_TEST_P( Size_Depth_Channels, split, ...@@ -29,5 +29,5 @@ PERF_TEST_P( Size_Depth_Channels, split,
TEST_CYCLE() split(m, (vector<Mat>&)mv); TEST_CYCLE() split(m, (vector<Mat>&)mv);
SANITY_CHECK(mv); SANITY_CHECK(mv, 1e-12);
} }
#include "perf_precomp.hpp" #include "perf_precomp.hpp"
#include "opencv2/core/internal.hpp"
using namespace std; using namespace std;
using namespace cv; using namespace cv;
...@@ -62,7 +63,11 @@ PERF_TEST_P(Size_MatType_BorderType3x3, gaussianBlur3x3, ...@@ -62,7 +63,11 @@ PERF_TEST_P(Size_MatType_BorderType3x3, gaussianBlur3x3,
TEST_CYCLE() GaussianBlur(src, dst, Size(3,3), 0, 0, btype); TEST_CYCLE() GaussianBlur(src, dst, Size(3,3), 0, 0, btype);
#if CV_SSE2
SANITY_CHECK(dst, 1);
#else
SANITY_CHECK(dst); SANITY_CHECK(dst);
#endif
} }
PERF_TEST_P(Size_MatType_BorderType3x3, blur3x3, PERF_TEST_P(Size_MatType_BorderType3x3, blur3x3,
......
...@@ -35,5 +35,5 @@ PERF_TEST_P(Img_BlockSize_ApertureSize_k_BorderType, cornerHarris, ...@@ -35,5 +35,5 @@ PERF_TEST_P(Img_BlockSize_ApertureSize_k_BorderType, cornerHarris,
TEST_CYCLE() cornerHarris(src, dst, blockSize, apertureSize, k, borderType); TEST_CYCLE() cornerHarris(src, dst, blockSize, apertureSize, k, borderType);
SANITY_CHECK(dst); SANITY_CHECK(dst, 2e-6);
} }
\ No newline at end of file
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