\r
TEST_CYCLE() src.convertTo(dst, depthDst, alpha);\r
\r
- SANITY_CHECK(dst);\r
+ SANITY_CHECK(dst, 1e-12);\r
}\r
Mat dst;\r
TEST_CYCLE() merge( (vector<Mat> &)mv, dst );\r
\r
- SANITY_CHECK(dst);\r
+ SANITY_CHECK(dst, 1e-12);\r
}
\ No newline at end of file
\r
TEST_CYCLE() split(m, (vector<Mat>&)mv);\r
\r
- SANITY_CHECK(mv);\r
+ SANITY_CHECK(mv, 1e-12);\r
}\r
#include "perf_precomp.hpp"
+#include "opencv2/core/internal.hpp"
using namespace std;
using namespace cv;
TEST_CYCLE() GaussianBlur(src, dst, Size(3,3), 0, 0, btype);
+#if CV_SSE2
+ SANITY_CHECK(dst, 1);
+#else
SANITY_CHECK(dst);
+#endif
}
PERF_TEST_P(Size_MatType_BorderType3x3, blur3x3,
TEST_CYCLE() cornerHarris(src, dst, blockSize, apertureSize, k, borderType);
- SANITY_CHECK(dst);
+ SANITY_CHECK(dst, 2e-6);
}
\ No newline at end of file