Home
last modified time | relevance | path

Searched refs:CV_PI_F (Results 1 – 9 of 9) sorted by relevance

/external/opencv3/modules/cudalegacy/src/cuda/
Dneedle_map.cu167 v[1].x = arrow_x + r * ::cosf(theta - CV_PI_F / 2.0f); in NeedleMapVertexKernel()
168 v[1].y = arrow_y + r * ::sinf(theta - CV_PI_F / 2.0f); in NeedleMapVertexKernel()
170 v[4].x = arrow_x + r * ::cosf(theta + CV_PI_F / 2.0f); in NeedleMapVertexKernel()
171 v[4].y = arrow_y + r * ::sinf(theta + CV_PI_F / 2.0f); in NeedleMapVertexKernel()
175 color_data[indx] = (theta - CV_PI_F) / CV_PI_F * 180.0f; in NeedleMapVertexKernel()
180 color_data[indx] = (theta - CV_PI_F) / CV_PI_F * 180.0f; in NeedleMapVertexKernel()
185 color_data[indx] = (theta - CV_PI_F) / CV_PI_F * 180.0f; in NeedleMapVertexKernel()
190 color_data[indx] = (theta - CV_PI_F) / CV_PI_F * 180.0f; in NeedleMapVertexKernel()
195 color_data[indx] = (theta - CV_PI_F) / CV_PI_F * 180.0f; in NeedleMapVertexKernel()
200 color_data[indx] = (theta - CV_PI_F) / CV_PI_F * 180.0f; in NeedleMapVertexKernel()
/external/opencv3/modules/core/include/opencv2/core/cuda/
Dcommon.hpp57 #ifndef CV_PI_F
59 #define CV_PI_F 3.14159265f macro
61 #define CV_PI_F ((float)CV_PI) macro
/external/opencv3/modules/cudaimgproc/src/cuda/
Dgeneralized_hough.cu97 theta += 2.0f * CV_PI_F; in buildEdgePointList()
197 const float thetaScale = levels / (2.0f * CV_PI_F); in buildRTable_gpu()
250 const float thetaScale = levels / (2.0f * CV_PI_F); in Ballard_Pos_calcHist_gpu()
449 while (res > 2.0f * CV_PI_F) in clampAngle()
450 res -= 2.0f * CV_PI_F; in clampAngle()
452 res += 2.0f * CV_PI_F; in clampAngle()
530 const float alphaScale = levels / (2.0f * CV_PI_F); in Guil_Full_buildFeatureList_caller()
534 … xi * (CV_PI_F / 180.0f), angleEpsilon * (CV_PI_F / 180.0f), alphaScale, in Guil_Full_buildFeatureList_caller()
610 minAngle *= (CV_PI_F / 180.0f); in Guil_Full_calcOHist_gpu()
611 maxAngle *= (CV_PI_F / 180.0f); in Guil_Full_calcOHist_gpu()
[all …]
/external/opencv3/modules/cudev/include/opencv2/cudev/
Dcommon.hpp87 #define CV_PI_F ((float)CV_PI) macro
/external/opencv3/modules/cudafeatures2d/src/cuda/
Dorb.cu200 kp_dir += (kp_dir < 0) * (2.0f * CV_PI_F); in IC_Angle()
201 kp_dir *= 180.0f / CV_PI_F; in IC_Angle()
352 angle *= (float)(CV_PI_F / 180.f); in computeOrbDescriptor()
/external/opencv3/modules/cudaarithm/src/cuda/
Dpolar_cart.cu199 const float scale = angleInDegrees ? (CV_PI_F / 180.0f) : 1.0f; in polarToCart()
/external/opencv3/modules/objdetect/src/opencl/
Dobjdetect_hog.cl51 #define CV_PI_F M_PI_F
652 float ang = (atan2(best_dy, best_dx) + CV_PI_F) * angle_scale - 0.5f;
712 float ang = (atan2(dy, dx) + CV_PI_F) * angle_scale - 0.5f;
/external/opencv3/modules/cudev/include/opencv2/cudev/functional/
Dfunctional.hpp637 angle += (angle < 0) * (2.0f * CV_PI_F); in operator ()()
640 angle *= (180.0f / CV_PI_F); in operator ()()
/external/opencv3/modules/cudaobjdetect/src/cuda/
Dhog.cu644 float ang = (::atan2f(best_dy, best_dx) + CV_PI_F) * angle_scale - 0.5f; in compute_gradients_8UC4_kernel()
717 float ang = (::atan2f(dy, dx) + CV_PI_F) * angle_scale - 0.5f; in compute_gradients_8UC1_kernel()