Lines Matching full:double
80 double len1,len2;
81 double alpha;
99 int icvCompute3DPoint( double alpha,double betta,
104 double partX;
105 double partY;
106 double partZ;
107 double partAll;
108 double invPartAll;
110 double alphabetta = alpha*betta;
148 double invRotMatr2[9];
149 double tmpVect[3];
182 double tmpVect[3];
186 (double*)&M2,
190 icvAddVector_64d(tmpVect,transVect,(double*)M1,3);
195 int icvComputeCoeffForStereoV3( double quad1[4][2],
196 double quad2[4][2],
220 double alpha = ((double)currLine)/((double)(numScanlines)); /* maybe - 1 */
251 int icvComputeCoeffForStereoNew( double quad1[4][2],
252 double quad2[4][2],
263 double camMatr1_64d[9];
264 double camMatr2_64d[9];
266 double rotMatr1_64d[9];
267 double transVect1_64d[3];
269 double rotMatr2_64d[9];
270 double transVect2_64d[3];
311 double quad1[4][2];
312 double quad2[4][2];
355 double direct1[3];
356 double direct2[3];
357 double camPoint1[3];
359 double directS3[3];
360 double directS4[3];
361 double direct3[3];
362 double direct4[3];
363 double camPoint2[3];
385 double convRotMatr[9];
386 double convTransVect[3];
395 double zeroVect[3];
403 double pointB[3];
454 double gamma;
456 double x1,y1,z1;
462 double xA,yA,zA;
463 double xB,yB,zB;
464 double xC,yC,zC;
478 double len1,len2;
500 double invMatr[9];
507 double vect[3];
517 (double*)direct);
528 double xM,yM,zM;
529 double xN,yN,zN;
531 double xA,yA,zA;
532 double xB,yB,zB;
534 double xC,yC,zC;
535 double xD,yD,zD;
553 double a11,a12,a21,a22;
554 double b1,b2;
563 double delta;
564 double deltaA,deltaB;
565 double alpha,betta;
601 double gamma,
604 double x1,y1,z1;
610 double xA,yA,zA;
611 double xB,yB,zB;
765 double *a,double *b,double *c,
768 double det;
769 double detA,detB,detC;
782 double invDet = 1.0 / det;
807 double corr11[3];
808 double corr12[3];
809 double corr21[3];
810 double corr22[3];
812 double pointW11[3];
813 double pointW12[3];
814 double pointW21[3];
815 double pointW22[3];
817 double transFundMatr[3*3];
1021 double det = direct1[0]*direct2[1] - direct2[0]*direct1[1];
1022 double detx = -direct1[2]*direct2[1] + direct1[1]*direct2[2];
1054 double a,double b,double c,
1060 double det;
1061 double detxc,detyc;
1100 double ex1,ey1,ex2,ey2;
1101 double px1,py1,px2,py2;
1102 double del;
1103 double delA,delB,delX,delY;
1104 double alpha,betta;
1151 void icvGetPieceLength(CvPoint2D64d point1,CvPoint2D64d point2,double* dist)
1153 double dx = point2.x - point1.x;
1154 double dy = point2.y - point1.y;
1161 void icvGetPieceLength3D(CvPoint3D64d point1,CvPoint3D64d point2,double* dist)
1163 double dx = point2.x - point1.x;
1164 double dy = point2.y - point1.y;
1165 double dz = point2.z - point1.z;
1175 double a,double b,double c,
1214 double maxDist;
1223 double distance;
1269 double tmpVect1[3];
1270 double tmpVect2[3];
1274 (double*)&point,
1303 double quad1[4][2],
1304 double quad2[4][2],
1316 double convRotMatr[9];
1317 double convTransVect[3];
1370 double coeff11[3];
1371 double coeff12[3];
1372 double coeff21[3];
1373 double coeff22[3];
1383 double width1,width2;
1384 double height1,height2;
1385 double tmpHeight1,tmpHeight2;
1461 double convRotMatr[9];
1462 double convTransVect[3];
1464 double newQuad1[4][2];
1465 double newQuad2[4][2];
1503 double dxOld,dyOld;
1504 double dxNew,dyNew;
1505 double distOld,distNew;
1651 double warpWidth,warpHeight;
1678 double quad1[4][2],
1679 double quad2[4][2],
1687 double camMatr1_64d[9];
1688 double camMatr2_64d[9];
1689 double rotMatr1_64d[9];
1690 double transVect1_64d[3];
1691 double rotMatr2_64d[9];
1692 double transVect2_64d[3];
1693 double fundMatr_64d[9];
1754 double quad1[4][2];
1755 double quad2[4][2];
1789 double rotMatr1[9];
1790 double rotMatr2[9];
1792 double transVect1[3];
1793 double transVect2[3];
1795 double convRotMatr[9];
1796 double convTransVect[3];
1843 double cutLine1[3];
1844 double cutLine2[3];
1847 double midLine[3];
1949 double dist;
1950 double maxDist = 0;
1951 double minDist = 10000000;
2006 double dist1;
2007 double dist2;
2012 double alpha = dist2/dist1;
2037 CV_IMPL double icvGetVect(CvPoint2D64d basePoint,CvPoint2D64d point1,CvPoint2D64d point2)
2056 double sign1 = icvGetVect(basePoint,point1,point2);
2057 double sign2 = icvGetVect(basePoint,point1,testPoint);
2084 double a = lineCoeff[0];
2085 double b = lineCoeff[1];
2087 double det = 1.0 / ( a*a + b*b );
2088 double delta = a*point.y - b*point.x;
2098 void icvGetDistanceFromPointToDirect( CvPoint2D64d point,CvVect64d lineCoef,double*dist)
2102 double dx = point.x - tmpPoint.x;
2103 double dy = point.y - tmpPoint.y;
2140 icvCvt_32f_64d( float *src, double *dst, int size )
2151 dst[t] = (double) (src[t]);
2158 /* Type conversion double -> float */
2160 icvCvt_64d_32f( double *src, float *dst, int size )
2230 double midPointX = imageSize.width / 2.0;
2231 double midPointY = imageSize.height / 2.0;
2365 void icvComputePerspectiveCoeffs(const CvPoint2D32f srcQuad[4],const CvPoint2D32f dstQuad[4],double coeffs[3][3])
2373 double A[64];
2374 double b[8];
2375 double c[8];
2387 double x = dstQuad[i].x;
2388 double y = dstQuad[i].y;
2389 double X = pt[i].x;
2390 double Y = pt[i].y;
2392 double x = pt[i].x;
2393 double y = pt[i].y;
2394 double X = dstQuad[i].x;
2395 double Y = dstQuad[i].y;
2397 double* a = A + i*16;
2424 double invA[64];
2451 CV_IMPL void cvComputePerspectiveMap(const double c[3][3], CvArr* rectMapX, CvArr* rectMapY )
2478 double w = 1./(c[2][0]*j + c[2][1]*i + 1.);
2479 double x = (c[0][0]*j + c[0][1]*i + c[0][2])*w;
2480 double y = (c[1][0]*j + c[1][1]*i + c[1][2])*w;
2492 CV_IMPL void cvInitPerspectiveTransform( CvSize size, const CvPoint2D32f quad[4], double matrix[3][3],
2501 double A[64];
2502 double b[8];
2503 double c[8];
2527 double x = quad[i].x;
2528 double y = quad[i].y;
2529 double X = pt[i].x;
2530 double Y = pt[i].y;
2532 double x = pt[i].x;
2533 double y = pt[i].y;
2534 double X = quad[i].x;
2535 double Y = quad[i].y;
2537 double* a = A + i*16;
2564 double invA[64];
2591 double w = 1./(c[6]*j + c[7]*i + 1.);
2592 double x = (c[0]*j + c[1]*i + c[2])*w;
2593 double y = (c[3]*j + c[4]*i + c[5])*w;
2615 double invMatr1[9];
2617 double P1[3];
2618 double p1[3];
2619 p1[0] = (double)(point1.x);
2620 p1[1] = (double)(point1.y);
2629 double invR[9];
2633 double P2[3];
2641 double projP[3];
2663 double invMatr2[9];
2665 double P2[3];
2666 double p2[3];
2667 p2[0] = (double)(point2.x);
2668 p2[1] = (double)(point2.y);
2679 double P1[3];
2687 double projP[3];
2727 double* rotMatrs1_64d;
2728 double* rotMatrs2_64d;
2730 double* transVects1_64d;
2731 double* transVects2_64d;
2733 double cameraMatrix1_64d[9];
2734 double cameraMatrix2_64d[9];
2736 double distortion1_64d[4];
2737 double distortion2_64d[4];
2750 rotMatrs1_64d = (double*)calloc(numImages,sizeof(double)*9);
2751 rotMatrs2_64d = (double*)calloc(numImages,sizeof(double)*9);
2753 transVects1_64d = (double*)calloc(numImages,sizeof(double)*3);
2754 transVects2_64d = (double*)calloc(numImages,sizeof(double)*3);
2758 icvCvt_32f_64d((float*)objectPoints, (double*)objectPoints_64d, totalNum*3);
2792 double convRotMatr[9];
2793 double convTransVect[3];
2804 double convRotMatr2[9];
2805 double convTransVect2[3];
2846 tmpPoint.x = (double)(objectPoints[i].x);
2847 tmpPoint.y = (double)(objectPoints[i].y);
2848 tmpPoint.z = (double)(objectPoints[i].z);
2866 double err;
2867 double dx,dy,dz;
2898 double nodist[4] = {0,0,0,0};
2937 double err1 = 0;
2938 double err2 = 0;
2939 double err;
2942 double len1,len2;
2943 double dx1,dy1;
2949 double dx2,dy2;
3003 double bestRotMatr_64d[9];
3004 double bestTransVect_64d[3];
3037 int icvConvertWarpCoordinates(double coeffs[3][3],
3042 double x,y;
3043 double det;
3374 double midPointX = imageSize.width / 2.0;
3375 double midPointY = imageSize.height / 2.0;
3418 double ex1,ey1,ex2,ey2;
3419 double px1,py1,px2,py2;
3420 double del;
3421 double delA,delB,delX,delY;
3422 double alpha,betta;
3465 double ex1,ey1,ex2,ey2;
3466 double px1,py1,px2,py2;
3467 double del;
3468 double delA,delB,delX,delY;
3469 double alpha,betta;
3512 double del;
3513 double delX,delY,delA;
3515 double px1,px2,py1,py2;
3516 double X,Y,alpha;
3685 double scale;