mirror of
https://github.com/opencv/opencv.git
synced 2024-11-28 13:10:12 +08:00
Merge pull request #17943 from tomoaki0705:fixPolarToCartRounding
This commit is contained in:
commit
1e18004bdd
@ -2778,7 +2778,7 @@ CUDA_TEST_P(PolarToCart, Accuracy)
|
||||
{
|
||||
cv::Mat magnitude = randomMat(size, type);
|
||||
cv::Mat angle = randomMat(size, type);
|
||||
const double tol = (type == CV_32FC1 ? 1.6e-4 : 1e-4) * (angleInDegrees ? 1.0 : 19.0);
|
||||
const double tol = (type == CV_32FC1 ? 1.6e-4 : 1e-4) * (angleInDegrees ? 1.0 : 19.47);
|
||||
|
||||
cv::cuda::GpuMat x = createMat(size, type, useRoi);
|
||||
cv::cuda::GpuMat y = createMat(size, type, useRoi);
|
||||
|
Loading…
Reference in New Issue
Block a user