Home
last modified time | relevance | path

Searched refs:CV_PI (Results 1 – 16 of 16) sorted by relevance

/external/opencv/cvaux/src/
Dcvcorrespond.cpp89 Fi = (float) CV_PI; in icvDynamicCorrespond()
92 Occlusion = (float) log( Pd * Fi / ((1 - Pd) * sqrt( fabs( (CV_PI * 2) * (1. / S) )))); in icvDynamicCorrespond()
Dcvscanlines.cpp1493 l_angle[1] = (float) CV_PI; in icvGetCoefficientStereo()
1508 r_angle[1] = (float) CV_PI; in icvGetCoefficientStereo()
1529 r_angle[1] += (float) (CV_PI * 2); in icvGetCoefficientStereo()
1555 l_angle[1] += (float) (CV_PI * 2); in icvGetCoefficientStereo()
1683 if( l_angle[1] - l_angle[0] > CV_PI ) in icvGetCoefficientStereo()
1688 l_angle[1] = swap + (float) (CV_PI * 2); in icvGetCoefficientStereo()
1699 if( r_angle[1] - r_angle[0] > CV_PI ) in icvGetCoefficientStereo()
1704 r_angle[1] = swap + (float) (CV_PI * 2); in icvGetCoefficientStereo()
Dcvlmeds.cpp234 fi1 = CV_PI * (1 - SIGN( c1 )) / 2; in icvCubic()
235 fi2 = CV_PI * (1 - SIGN( c2 )) / 2; in icvCubic()
271 x[i][0] = cos( fi1 / 3. + 2 * CV_PI * (i % 3) / 3. ) * c1 - a2 / 3; in icvCubic()
272 x[i][1] = sin( fi1 / 3. + 2 * CV_PI * (i % 3) / 3. ) * c2; in icvCubic()
286 x[i][0] = cos( fi2 / 3. + 2 * CV_PI * (i % 3) / 3. ) * b1 - a2 / 3; in icvCubic()
287 x[i][1] = sin( fi2 / 3. + 2 * CV_PI * (i % 3) / 3. ) * b2; in icvCubic()
Dcvmorphcontours.cpp333 d_angle = 2*CV_PI - d_angle; in _cvBendingWork()
/external/opencv/cv/src/
Dcvgeometry.cpp93 double angle = box.angle*CV_PI/180.; in cvBoxPoints()
499 eulerAngles->x = acos(_Qx[1][1]) * (_Qx[1][2] >= 0 ? 1 : -1) * (180.0 / CV_PI); in cvRQDecomp3x3()
500 eulerAngles->y = acos(_Qy[0][0]) * (_Qy[0][2] >= 0 ? 1 : -1) * (180.0 / CV_PI); in cvRQDecomp3x3()
501 eulerAngles->z = acos(_Qz[0][0]) * (_Qz[0][1] >= 0 ? 1 : -1) * (180.0 / CV_PI); in cvRQDecomp3x3()
Dcvcamshift.cpp253 theta = CV_PI*0.5 - theta; in cvCamShift()
292 box->angle = (float)(theta*180./CV_PI); in cvCamShift()
Dcvhough.cpp45 #define halfPi ((float)(CV_PI*0.5))
46 #define Pi ((float)CV_PI)
114 numangle = cvRound(CV_PI / theta); in CV_IMPLEMENT_QSORT_EX()
514 numangle = cvRound(CV_PI / theta); in icvHoughLinesProbabalistic()
Dcvrotcalipers.cpp465 box.angle = (float)(box.angle*180/CV_PI); in cvMinAreaRect2()
Dcvimgwarp.cpp1202 angle *= CV_PI/180; in cv2DRotationMatrix()
2187 double cp = cos(phi*2*CV_PI/dsize.height); in cvLogPolar()
2188 double sp = sin(phi*2*CV_PI/dsize.height); in cvLogPolar()
2207 double ascale = (ssize.width-1)/(2*CV_PI); in cvLogPolar()
2252 a = 2*CV_PI + a; in cvLogPolar()
Dcvshapedescr.cpp967 box->angle = (float)(180 - atan2(eigenvectors[2], eigenvectors[3])*180/CV_PI); in icvFitEllipse_F()
1109 box.angle = (float)(90 + rp[4]*180/CV_PI); in cvFitEllipse2()
Dcvsurf.cpp413 descriptor_dir *= (float)(CV_PI/180); in cvExtractSURF()
Dcvcalibration.cpp1798 *fovx = 2 * atan(imgWidth / (2 * alphax)) * 180.0 / CV_PI; in cvCalibrationMatrixValues()
1801 *fovy = 2 * atan(imgHeight / (2 * alphay)) * 180.0 / CV_PI; in cvCalibrationMatrixValues()
/external/opencv/cxcore/src/
Dcxmathfuncs.cpp423 len, (float)(CV_PI/180.), 0 ); in cvCartToPolar()
460 icvScale_32f( x_buffer, x_buffer, len, (float)(CV_PI/180.), 0 ); in cvCartToPolar()
517 static const double k2 = (2*CV_PI)/N; in icvSinCos_32f()
529 k1 = N/(2*CV_PI); in icvSinCos_32f()
688 double C = angle_in_degrees ? CV_PI/180. : 1; in cvPolarToCart()
Dcxutils.cpp370 x1 = t0 * cos(t1 + (2.*CV_PI/3)) - t2; in cvSolveCubic()
371 x2 = t0 * cos(t1 + (4.*CV_PI/3)) - t2; in cvSolveCubic()
Dcxdxt.cpp362 t = -CV_PI*2/n0; in icvDFTInit()
2534 w1.im = sin(-CV_PI*t); in icvDCTInit()
/external/opencv/cxcore/include/
Dcxtypes.h183 #define CV_PI 3.1415926535897932384626433832795 macro