Searched refs:sinVal (Results 1 – 4 of 4) sorted by relevance
/external/opencv3/modules/cudaimgproc/src/cuda/ |
D | hough_lines.cu | 66 float sinVal; in linesAccumGlobal() local 68 sincosf(ang, &sinVal, &cosVal); in linesAccumGlobal() 69 sinVal *= irho; in linesAccumGlobal() 82 int r = __float2int_rn(x * cosVal + y * sinVal); in linesAccumGlobal() 101 float sinVal; in linesAccumShared() local 103 sincosf(ang, &sinVal, &cosVal); in linesAccumShared() 104 sinVal *= irho; in linesAccumShared() 116 int r = __float2int_rn(x * cosVal + y * sinVal); in linesAccumShared()
|
D | generalized_hough.cu | 689 …const float angle, const float sinVal, const float cosVal, const float angleEpsilon, const float s… in Guil_Full_calcPHist() argument 709 r1 = make_float2(cosVal * r1.x - sinVal * r1.y, sinVal * r1.x + cosVal * r1.y); in Guil_Full_calcPHist() 710 r2 = make_float2(cosVal * r2.x - sinVal * r2.y, sinVal * r2.x + cosVal * r2.y); in Guil_Full_calcPHist() 750 const float sinVal = ::sinf(angle); in Guil_Full_calcPHist_gpu() local 756 angle, sinVal, cosVal, angleEpsilon, scale, in Guil_Full_calcPHist_gpu()
|
/external/opencv3/modules/imgproc/src/opencl/ |
D | hough_lines.cl | 67 float sinVal = sincos(theta * ((float)theta_idx), &cosVal); 68 sinVal *= irho; 83 int r = convert_int_rte(mad(x, cosVal, y * sinVal)) + shift; 101 float sinVal = sincos(theta * (float) (theta_idx-1), &cosVal); 102 sinVal *= irho; 120 int r = convert_int_rte(mad(x, cosVal, y * sinVal)) + shift;
|
/external/opencv3/modules/imgproc/src/ |
D | generalized_hough.cpp | 871 const double sinVal = sin(toRad(angle)); in calcPosition() local 894 …templF.r1 = Point2d(cosVal * templF.r1.x - sinVal * templF.r1.y, sinVal * templF.r1.x + cosVal * t… in calcPosition() 895 …templF.r2 = Point2d(cosVal * templF.r2.x - sinVal * templF.r2.y, sinVal * templF.r2.x + cosVal * t… in calcPosition()
|