Home | History | Annotate | Download | only in test

Lines Matching full:angleindegrees

2666     IMPLEMENT_PARAM_CLASS(AngleInDegrees, bool)
2669 PARAM_TEST_CASE(Phase, cv::cuda::DeviceInfo, cv::Size, AngleInDegrees, UseRoi)
2673 bool angleInDegrees;
2680 angleInDegrees = GET_PARAM(2);
2693 cv::cuda::phase(loadMat(x, useRoi), loadMat(y, useRoi), dst, angleInDegrees);
2696 cv::phase(x, y, dst_gold, angleInDegrees);
2698 EXPECT_MAT_NEAR(dst_gold, dst, angleInDegrees ? 1e-2 : 1e-3);
2704 testing::Values(AngleInDegrees(false), AngleInDegrees(true)),
2710 PARAM_TEST_CASE(CartToPolar, cv::cuda::DeviceInfo, cv::Size, AngleInDegrees, UseRoi)
2714 bool angleInDegrees;
2721 angleInDegrees = GET_PARAM(2);
2735 cv::cuda::cartToPolar(loadMat(x, useRoi), loadMat(y, useRoi), mag, angle, angleInDegrees);
2739 cv::cartToPolar(x, y, mag_gold, angle_gold, angleInDegrees);
2742 EXPECT_MAT_NEAR(angle_gold, angle, angleInDegrees ? 1e-2 : 1e-3);
2748 testing::Values(AngleInDegrees(false), AngleInDegrees(true)),
2754 PARAM_TEST_CASE(PolarToCart, cv::cuda::DeviceInfo, cv::Size, AngleInDegrees, UseRoi)
2758 bool angleInDegrees;
2765 angleInDegrees = GET_PARAM(2);
2779 cv::cuda::polarToCart(loadMat(magnitude, useRoi), loadMat(angle, useRoi), x, y, angleInDegrees);
2783 cv::polarToCart(magnitude, angle, x_gold, y_gold, angleInDegrees);
2792 testing::Values(AngleInDegrees(false), AngleInDegrees(true)),