Set sanity thresholds for several performance tests

This commit is contained in:
Andrey Kamaev
2012-04-20 15:33:34 +00:00
parent 5b6b30ba0e
commit d46659f6cc
3 changed files with 4 additions and 4 deletions

View File

@@ -78,5 +78,5 @@ PERF_TEST_P( Size_MatType_OutMatDepth, integral_sqsum_tilted,
SANITY_CHECK(sum, 1e-6);
SANITY_CHECK(sqsum, 1e-6);
SANITY_CHECK(tilted, 1e-6);
SANITY_CHECK(tilted, 1e-6, tilted.depth() > CV_32S ? ERROR_RELATIVE : ERROR_ABSOLUTE);
}