TEST_CYCLE() blur(src, dst, Size(3,3), Point(-1,-1), btype);
- SANITY_CHECK(dst);
+ SANITY_CHECK(dst, 1e-3);
}
PERF_TEST_P(Size_MatType_BorderType, gaussianBlur5x5,
TEST_CYCLE() blur(src, dst, Size(5,5), Point(-1,-1), btype);
- SANITY_CHECK(dst);
+ SANITY_CHECK(dst, 1e-3);
}
TEST_CYCLE() cornerEigenValsAndVecs(src, dst, blockSize, apertureSize, borderType);
- SANITY_CHECK(dst);
+ SANITY_CHECK(dst, 2e-5);
}
\ No newline at end of file
\r
SANITY_CHECK(sum, 1e-6);\r
SANITY_CHECK(sqsum, 1e-6);\r
- SANITY_CHECK(tilted, 1e-6);\r
+ SANITY_CHECK(tilted, 1e-6, tilted.depth() > CV_32S ? ERROR_RELATIVE : ERROR_ABSOLUTE);\r
}\r