minor fix for StereoCSBP data cost compute kernel and test

This commit is contained in:
Vladislav Vinogradov
2014-10-23 19:33:19 +04:00
parent 5c07e0b6d3
commit 84f33d0578
2 changed files with 11 additions and 5 deletions

View File

@@ -158,7 +158,7 @@ GPU_TEST_P(StereoConstantSpaceBP, Regression)
cv::Mat h_disp(disp);
h_disp.convertTo(h_disp, disp_gold.depth());
EXPECT_MAT_NEAR(disp_gold, h_disp, 1.0);
EXPECT_MAT_SIMILAR(disp_gold, h_disp, 1e-4);
}
INSTANTIATE_TEST_CASE_P(GPU_Calib3D, StereoConstantSpaceBP, ALL_DEVICES);