Merged revision(s) 8495 from trunk:

Bug #1991 : fixed gpu interpolation (remap, resize, warp...)
........
This commit is contained in:
Vladislav Vinogradov
2012-05-29 11:35:30 +00:00
parent d382fa56c7
commit 72d2311edf
3 changed files with 69 additions and 42 deletions

View File

@@ -163,7 +163,7 @@ TEST_P(Remap, Accuracy)
cv::Mat dst_gold;
remapGold(src, xmap, ymap, dst_gold, interpolation, borderType, val);
EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-4 : 1.0);
EXPECT_MAT_NEAR(dst_gold, dst, src.depth() == CV_32F ? 1e-3 : 1.0);
}
INSTANTIATE_TEST_CASE_P(GPU_ImgProc, Remap, testing::Combine(