Home | History | Annotate | Download | only in src

Lines Matching refs:CvMat

58 void cvOptimizeLevenbergMarquardtBundle( CvMat** projMatrs, CvMat** observProjPoints,
59 CvMat** pointsPres, int numImages,
60 CvMat** resultProjMatrs, CvMat* resultPoints4D,int maxIter,double epsilon );
62 int icvComputeProjectMatrices6Points( CvMat* points1,CvMat* points2,CvMat* points3,
63 CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3);
65 void icvFindBaseTransform(CvMat* points,CvMat* resultT);
67 void GetGeneratorReduceFundSolution(CvMat* points1,CvMat* points2,CvMat* fundReduceCoef1,CvMat* fundReduceCoef2);
69 int GetGoodReduceFundamMatrFromTwo(CvMat* fundReduceCoef1,CvMat* fundReduceCoef2,CvMat* resFundReduceCoef);
71 void GetProjMatrFromReducedFundamental(CvMat* fundReduceCoefs,CvMat* projMatrCoefs);
73 void icvComputeProjectMatrix(CvMat* objPoints,CvMat* projPoints,CvMat* projMatr);
75 void icvComputeTransform4D(CvMat* points1,CvMat* points2,CvMat* transMatr);
77 int icvComputeProjectMatricesNPoints( CvMat* points1,CvMat* points2,CvMat* points3,
78 CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3,
81 CvMat* status,
82 CvMat* points4D);
84 int icvComputeProjectMatricesNPoints( CvMat* points1,CvMat* points2,CvMat* points3,
85 CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3,
88 CvMat* status,
89 CvMat* points4D);
91 void icvReconstructPointsFor3View( CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3,
92 CvMat* projPoints1,CvMat* projPoints2,CvMat* projPoints3,
93 CvMat* points4D);
95 void icvReconstructPointsFor3View( CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3,
96 CvMat* projPoints1,CvMat* projPoints2,CvMat* projPoints3,
97 CvMat* points4D);
103 void fprintMatrix(FILE* file,CvMat* matrix)
119 void icvNormalizePoints( CvMat* points, CvMat* normPoints,CvMat* cameraMatr )
178 int icvComputeProjectMatrices6Points( CvMat* points1,CvMat* points2,CvMat* points3,
179 CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3/*,
180 CvMat* points4D*/)
228 CvMat* points[3];
233 CvMat* projMatrs[3];
238 CvMat transMatr;
240 transMatr = cvMat(3,3,CV_64F,transMatr_dat);
242 CvMat corrPoints1;
243 CvMat corrPoints2;
247 corrPoints1 = cvMat(3,3,CV_64F,corrPoints_dat); /* 3-coordinates for each of 3-points(3-image) */
248 corrPoints2 = cvMat(3,3,CV_64F,corrPoints_dat+9);/* 3-coordinates for each of 3-points(3-image) */
253 CvMat tmpPoints;
259 CvMat trPoint;
261 trPoint = cvMat(3,3,CV_64F,trPoint_dat);
271 CvMat resPnts;
273 resPnts = cvMat(3,3,CV_64F,resPnts_dat);
280 CvMat pnt;
282 pnt = cvMat(3,1,CV_64F,pnt_dat);
287 CvMat trPnt;
289 trPnt = cvMat(3,1,CV_64F,trPnt_dat);
303 CvMat fundReduceCoef1;
304 CvMat fundReduceCoef2;
308 fundReduceCoef1 = cvMat(1,5,CV_64F,fundReduceCoef1_dat);
309 fundReduceCoef2 = cvMat(1,5,CV_64F,fundReduceCoef2_dat);
314 CvMat resFundReduceCoef;
317 resFundReduceCoef = cvMat(3,5,CV_64F,resFundReduceCoef_dat);
328 CvMat fundCoefs;
331 CvMat projMatrCoefs;
333 projMatrCoefs = cvMat(1,4,CV_64F,projMatrCoefs_dat);
338 CvMat objPoints;
340 objPoints = cvMat(4,6,CV_64F,objPoints_dat);
355 CvMat projPoints;
357 projPoints = cvMat(3,6,CV_64F,projPoints_dat);
368 CvMat projMatrix;
370 projMatrix = cvMat(3,4,CV_64F,projMatrix_dat);
375 CvMat tmpSubRes;
386 CvMat tmpPoints4D;
388 tmpPoints4D = cvMat(4,6,CV_64F,tmpPoints4D_dat);
394 CvMat tmpSubRes;
457 void icvSelectColsByNumbers(CvMat* srcMatr, CvMat* dstMatr, int* indexes,int number)
504 void icvProject4DPoints(CvMat* points4D,CvMat* projMatr, CvMat* projPoints)
507 CvMat* tmpProjPoints = 0;
587 int icvCompute3ProjectMatricesNPointsStatus( CvMat** points,/* 3 arrays of points on image */
588 CvMat** projMatrs,/* array of 3 prejection matrices */
589 CvMat** statuses,/* 3 arrays of status of points */
592 CvMat* resStatus,
593 CvMat* points4D)
597 CvMat *triPoints[3] = {0,0,0};
598 CvMat *status = 0;
599 CvMat *triPoints4D = 0;
788 int icvComputeProjectMatricesNPoints( CvMat* points1,CvMat* points2,CvMat* points3,
789 CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3,
792 CvMat* status,
793 CvMat* points4D)
804 CvMat* tmpProjPoints[3]={0,0,0};
805 CvMat* recPoints4D = 0;
806 CvMat *reconPoints4D = 0;
812 CvMat* points[3];
855 CvMat* projMatrs[3];
895 CvMat bestProjMatrs[3];
896 bestProjMatrs[0] = cvMat(3,4,CV_64F,bestProjMatrs_dat);
897 bestProjMatrs[1] = cvMat(3,4,CV_64F,bestProjMatrs_dat+12);
898 bestProjMatrs[2] = cvMat(3,4,CV_64F,bestProjMatrs_dat+24);
901 CvMat tmpProjMatr[3];
902 tmpProjMatr[0] = cvMat(9,4,CV_64F,tmpProjMatr_dat);
903 tmpProjMatr[1] = cvMat(9,4,CV_64F,tmpProjMatr_dat+36);
904 tmpProjMatr[2] = cvMat(9,4,CV_64F,tmpProjMatr_dat+72);
918 CvMat selPoints[3];
919 selPoints[0] = cvMat(2,6,CV_64F,selPoints_dat);
920 selPoints[1] = cvMat(2,6,CV_64F,selPoints_dat+12);
921 selPoints[2] = cvMat(2,6,CV_64F,selPoints_dat+24);
933 CvMat proj6[3];
1048 CvMat *optStatus;
1061 CvMat *gPresPoints;
1069 CvMat *pointsPres[3];
1075 CvMat *gPoints[3];
1081 CvMat *resPoints4D;
1084 CvMat* projMs[3];
1091 CvMat resProjMatrs[3];
1093 resProjMatrs[0] = cvMat(3,4,CV_64F,resProjMatrs_dat);
1094 resProjMatrs[1] = cvMat(3,4,CV_64F,resProjMatrs_dat+12);
1095 resProjMatrs[2] = cvMat(3,4,CV_64F,resProjMatrs_dat+24);
1097 CvMat* resMatrs[3];
1112 CvMat *reconPoints4D;
1176 CvMat *optStatus;
1183 CvMat *pointsPres[3];
1189 CvMat *resPoints4D;
1192 CvMat* projMs[3];
1198 CvMat resProjMatrs[3];
1200 resProjMatrs[0] = cvMat(3,4,CV_64F,resProjMatrs_dat);
1201 resProjMatrs[1] = cvMat(3,4,CV_64F,resProjMatrs_dat+12);
1202 resProjMatrs[2] = cvMat(3,4,CV_64F,resProjMatrs_dat+24);
1204 CvMat* resMatrs[3];
1335 void icvFindBaseTransform(CvMat* points,CvMat* resultT)
1366 CvMat matrA;
1367 CvMat vectB;
1370 matrA = cvMat(3,3,CV_64F,matrA_dat);
1371 vectB = cvMat(3,1,CV_64F,vectB_dat);
1388 CvMat scale;
1390 scale = cvMat(3,1,CV_64F,scale_dat);
1406 CvMat tmpRes;
1408 tmpRes = cvMat(3,3,CV_64F,tmpRes_dat);
1420 void GetGeneratorReduceFundSolution(CvMat* points1,CvMat* points2,CvMat* fundReduceCoef1,CvMat* fundReduceCoef2)
1463 CvMat matrA;
1465 matrA = cvMat(3,5,CV_64F,matrA_dat);
1486 CvMat matrU;
1487 CvMat matrW;
1488 CvMat matrV;
1494 matrU = cvMat(3,3,CV_64F,matrU_dat);
1495 matrW = cvMat(3,5,CV_64F,matrW_dat);
1496 matrV = cvMat(5,5,CV_64F,matrV_dat);
1517 int GetGoodReduceFundamMatrFromTwo(CvMat* fundReduceCoef1,CvMat* fundReduceCoef2,CvMat* resFundReduceCoef)
1569 CvMat result;
1570 CvMat coeffs;
1573 result = cvMat(2,3,CV_64F,result_dat);
1574 coeffs = cvMat(1,4,CV_64F,coeffs_dat);
1608 void GetProjMatrFromReducedFundamental(CvMat* fundReduceCoefs,CvMat* projMatrCoefs)
1639 CvMat matrA;
1641 matrA = cvMat(3,3,CV_64F,matrA_dat);
1662 CvMat matrU;
1663 CvMat matrW;
1664 CvMat matrV;
1670 matrU = cvMat(3,3,CV_64F,matrU_dat);
1671 matrW = cvMat(3,3,CV_64F,matrW_dat);
1672 matrV = cvMat(3,3,CV_64F,matrV_dat);
1706 CvMat matrK;
1708 matrK = cvMat(6,6,CV_64F,matrK_dat);
1731 CvMat matrU;
1732 CvMat matrW;
1733 CvMat matrV;
1739 matrU = cvMat(6,6,CV_64F,matrU_dat);
1740 matrW = cvMat(6,6,CV_64F,matrW_dat);
1741 matrV = cvMat(6,6,CV_64F,matrV_dat);
1767 void icvComputeProjectMatrix(CvMat* objPoints,CvMat* projPoints,CvMat* projMatr)
1773 CvMat matrV;
1774 CvMat* matrA = 0;
1775 CvMat* matrW = 0;
1776 CvMat* workProjPoints = 0;
1777 CvMat* tmpProjPoints = 0;
1836 matrV = cvMat(12,12,CV_64F,matrV_dat);
1942 void icvComputeTransform4D(CvMat* points1,CvMat* points2,CvMat* transMatr)
1944 CvMat* matrA = 0;
1945 CvMat* matrW = 0;
1948 CvMat matrV = cvMat(16,16,CV_64F,matrV_dat);
2064 void icvReconstructPointsFor3View( CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3,
2065 CvMat* projPoints1,CvMat* projPoints2,CvMat* projPoints3,
2066 CvMat* points4D)
2115 CvMat matrA;
2117 matrA = cvMat(9,4,CV_64F,matrA_dat);
2119 //CvMat matrU;
2120 CvMat matrW;
2121 CvMat matrV;
2126 //matrU = cvMat(9,9,CV_64F,matrU_dat);
2127 matrW = cvMat(9,4,CV_64F,matrW_dat);
2128 matrV = cvMat(4,4,CV_64F,matrV_dat);
2130 CvMat* projPoints[3];
2131 CvMat* projMatrs[3];
2174 CvMat point3D;
2176 point3D = cvMat(4,1,CV_64F,point3D_dat);
2178 CvMat point2D;
2180 point2D = cvMat(3,1,CV_64F,point2D_dat);
2220 void ReconstructPointsFor3View_bySolve( CvMat* projMatr1,CvMat* projMatr2,CvMat* projMatr3,
2221 CvMat* projPoints1,CvMat* projPoints2,CvMat* projPoints3,
2222 CvMat* points3D)
2252 CvMat matrA;
2254 matrA = cvMat(3*3,3,CV_64F,matrA_dat);
2256 CvMat vectB;
2258 vectB = cvMat(9,1,CV_64F,vectB_dat);
2260 CvMat result;
2262 result = cvMat(3,1,CV_64F,result_dat);
2264 CvMat* projPoints[3];
2265 CvMat* projMatrs[3];
2313 CvMat point3D;
2315 point3D = cvMat(4,1,CV_64F,point3D_dat);
2317 CvMat point2D;
2319 point2D = cvMat(3,1,CV_64F,point2D_dat);
2354 void icvComputeCameraExrinnsicByPosition(CvMat* camPos, CvMat* rotMatr, CvMat* transVect)
2454 CvMat tmpInvRot;
2456 tmpInvRot = cvMat(3,3,CV_64F,tmpInvRot_dat);
2471 void FindTransformForProjectMatrices(CvMat* projMatr1,CvMat* projMatr2,CvMat* rotMatr,CvMat* transVect)
2508 CvMat matrA;
2510 matrA = cvMat(12,12,CV_64F,matrA_dat);
2511 CvMat vectB;
2513 vectB = cvMat(12,1,CV_64F,vectB_dat);
2536 CvMat resVect;
2538 resVect = cvMat(12,1,CV_64F,resVect_dat);
2560 void icvComputeQknowPrincipalPoint(int numImages, CvMat **projMatrs,CvMat *matrQ, double cx,double cy)
2590 void icvComputeQ(int numMatr, CvMat** projMatr, CvMat** cameraMatr, CvMat* matrQ)
2595 CvMat* matrA = 0;
2596 CvMat* vectB = 0;
2629 CvMat matrw;
2631 matrw = cvMat(3,3,CV_64F,matrw_dat);
2633 CvMat matrKt;
2635 matrKt = cvMat
2702 CvMat resQ;
2704 resQ = cvMat(10,1,CV_64F,resQ_dat);
2735 void icvDecomposeQ(CvMat* /*matrQ*/,CvMat* /*matrH*/)
2741 CvMat matrW;
2742 CvMat matrU;
2743 // CvMat matrV;
2748 matrW = cvMat(4,4,CV_64F,matrW_dat);
2749 matrU = cvMat(4,4,CV_64F,matrU_dat);
2750 // matrV = cvMat(4,4,CV_64F,matrV_dat);
2759 CvMat matrIS;