提交 f5a01f15 编写于 作者: E Elena Gvozdeva

Fixed test for ocl_flip

上级 b9300287
...@@ -976,7 +976,7 @@ OCL_TEST_P(Flip, X) ...@@ -976,7 +976,7 @@ OCL_TEST_P(Flip, X)
OCL_OFF(cv::flip(src1_roi, dst1_roi, 0)); OCL_OFF(cv::flip(src1_roi, dst1_roi, 0));
OCL_ON(cv::flip(usrc1_roi, udst1_roi, 0)); OCL_ON(cv::flip(usrc1_roi, udst1_roi, 0));
Near(1e-5); Near(0);
} }
} }
...@@ -988,7 +988,7 @@ OCL_TEST_P(Flip, Y) ...@@ -988,7 +988,7 @@ OCL_TEST_P(Flip, Y)
OCL_OFF(cv::flip(src1_roi, dst1_roi, 1)); OCL_OFF(cv::flip(src1_roi, dst1_roi, 1));
OCL_ON(cv::flip(usrc1_roi, udst1_roi, 1)); OCL_ON(cv::flip(usrc1_roi, udst1_roi, 1));
Near(1e-5); Near(0);
} }
} }
...@@ -1000,7 +1000,7 @@ OCL_TEST_P(Flip, BOTH) ...@@ -1000,7 +1000,7 @@ OCL_TEST_P(Flip, BOTH)
OCL_OFF(cv::flip(src1_roi, dst1_roi, -1)); OCL_OFF(cv::flip(src1_roi, dst1_roi, -1));
OCL_ON(cv::flip(usrc1_roi, udst1_roi, -1)); OCL_ON(cv::flip(usrc1_roi, udst1_roi, -1));
Near(1e-5); Near(0);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册