projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6dd4e8
)
fix mismatch of WarpAffine
author
yao
<bitwangyaoyao@gmail.com>
Sat, 23 Feb 2013 09:43:10 +0000
(17:43 +0800)
committer
yao
<bitwangyaoyao@gmail.com>
Sat, 23 Feb 2013 09:43:10 +0000
(17:43 +0800)
modules/ocl/test/test_imgproc.cpp
patch
|
blob
|
history
diff --git
a/modules/ocl/test/test_imgproc.cpp
b/modules/ocl/test/test_imgproc.cpp
index
5bf08c8
..
9cc6c1c
100644
(file)
--- a/
modules/ocl/test/test_imgproc.cpp
+++ b/
modules/ocl/test/test_imgproc.cpp
@@
-791,8
+791,8
@@
TEST_P(WarpAffine, Mat)
{
static const double coeffs[2][3] =
{
- {cos(
3.14 / 6), -sin(3.14
/ 6), 100.0},
- {sin(
3.14 / 6), cos(3.14
/ 6), -100.0}
+ {cos(
CV_PI / 6), -sin(CV_PI
/ 6), 100.0},
+ {sin(
CV_PI / 6), cos(CV_PI
/ 6), -100.0}
};
Mat M(2, 3, CV_64F, (void *)coeffs);