Bug #1991 : fixed gpu interpolation (remap, resize, warp...)

This commit is contained in:
Vladislav Vinogradov
2012-05-29 11:30:44 +00:00
parent eb4ce67dac
commit 6f32fb025d
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(