• Home
  • Raw
  • Download

Lines Matching refs:CvMat

121 bool CvLevMarq::update( const CvMat*& _param, CvMat*& _J, CvMat*& _err )  in update()
189 bool CvLevMarq::updateAlt( const CvMat*& _param, CvMat*& _JtJ, CvMat*& _JtErr, double*& _errNorm ) in updateAlt()
283 cvCalcMatMulDeriv( const CvMat* A, const CvMat* B, CvMat* dABdA, CvMat* dABdB ) in cvCalcMatMulDeriv()
378 cvComposeRT( const CvMat* _rvec1, const CvMat* _tvec1, in cvComposeRT()
379 const CvMat* _rvec2, const CvMat* _tvec2, in cvComposeRT()
380 CvMat* _rvec3, CvMat* _tvec3, in cvComposeRT()
381 CvMat* dr3dr1, CvMat* dr3dt1, in cvComposeRT()
382 CvMat* dr3dr2, CvMat* dr3dt2, in cvComposeRT()
383 CvMat* dt3dr1, CvMat* dt3dt1, in cvComposeRT()
384 CvMat* dt3dr2, CvMat* dt3dt2 ) in cvComposeRT()
392 CvMat r1 = cvMat(3,1,CV_64F,_r1), r2 = cvMat(3,1,CV_64F,_r2); in cvComposeRT()
393 CvMat R1 = cvMat(3,3,CV_64F,_R1), R2 = cvMat(3,3,CV_64F,_R2); in cvComposeRT()
394 CvMat dR1dr1 = cvMat(9,3,CV_64F,_d1), dR2dr2 = cvMat(9,3,CV_64F,_d2); in cvComposeRT()
413 CvMat r3 = cvMat(3,1,CV_64F,_r3), R3 = cvMat(3,3,CV_64F,_R3); in cvComposeRT()
414 CvMat dR3dR1 = cvMat(9,9,CV_64F,_dR3dR1), dR3dR2 = cvMat(9,9,CV_64F,_dR3dR2); in cvComposeRT()
415 CvMat dr3dR3 = cvMat(3,9,CV_64F,_dr3dR3); in cvComposeRT()
416 CvMat W1 = cvMat(3,9,CV_64F,_W1), W2 = cvMat(3,3,CV_64F,_W2); in cvComposeRT()
449 CvMat t1 = cvMat(3,1,CV_64F,_t1), t2 = cvMat(3,1,CV_64F,_t2); in cvComposeRT()
450 CvMat t3 = cvMat(3,1,CV_64F,_t3); in cvComposeRT()
451 CvMat dxdR2 = cvMat(3, 9, CV_64F, _dxdR2); in cvComposeRT()
452 CvMat dxdt1 = cvMat(3, 3, CV_64F, _dxdt1); in cvComposeRT()
453 CvMat W3 = cvMat(3, 3, CV_64F, _W3); in cvComposeRT()
487 cvRodrigues2( const CvMat* src, CvMat* dst, CvMat* jacobian ) in cvRodrigues2()
498 CvMat _J = cvMat( 3, 9, CV_64F, J ); in cvRodrigues2()
579 CvMat _R = cvMat( 3, 3, CV_64F, R ); in cvRodrigues2()
611 CvMat _R = cvMat( 3, 3, CV_64F, R ); in cvRodrigues2()
612 CvMat _U = cvMat( 3, 3, CV_64F, U ); in cvRodrigues2()
613 CvMat _V = cvMat( 3, 3, CV_64F, V ); in cvRodrigues2()
614 CvMat _W = cvMat( 3, 1, CV_64F, W ); in cvRodrigues2()
705 CvMat _dvardR = cvMat( 5, 9, CV_64FC1, dvardR ); in cvRodrigues2()
706 CvMat _dvar2dvar = cvMat( 4, 5, CV_64FC1, dvar2dvar ); in cvRodrigues2()
707 CvMat _domegadvar2 = cvMat( 3, 4, CV_64FC1, domegadvar2 ); in cvRodrigues2()
709 CvMat _t0 = cvMat( 3, 5, CV_64FC1, t0 ); in cvRodrigues2()
747 CvMat _Jf = cvMat( _J.rows, _J.cols, CV_32FC1, Jf ); in cvRodrigues2()
767 cvProjectPoints2( const CvMat* objectPoints, in cvProjectPoints2()
768 const CvMat* r_vec, in cvProjectPoints2()
769 const CvMat* t_vec, in cvProjectPoints2()
770 const CvMat* A, in cvProjectPoints2()
771 const CvMat* distCoeffs, in cvProjectPoints2()
772 CvMat* imagePoints, CvMat* dpdr, in cvProjectPoints2()
773 CvMat* dpdt, CvMat* dpdf, in cvProjectPoints2()
774 CvMat* dpdc, CvMat* dpdk, in cvProjectPoints2()
777 CvMat *_M = 0, *_m = 0; in cvProjectPoints2()
778 CvMat *_dpdr = 0, *_dpdt = 0, *_dpdc = 0, *_dpdf = 0, *_dpdk = 0; in cvProjectPoints2()
789 CvMat _r, _t, _a = cvMat( 3, 3, CV_64F, a ), _k; in cvProjectPoints2()
790 CvMat _R = cvMat( 3, 3, CV_64F, R ), _dRdr = cvMat( 3, 9, CV_64F, dRdr ); in cvProjectPoints2()
805 _M = (CvMat*)objectPoints; in cvProjectPoints2()
1124 cvFindExtrinsicCameraParams2( const CvMat* objectPoints, in cvFindExtrinsicCameraParams2()
1125 const CvMat* imagePoints, const CvMat* A, in cvFindExtrinsicCameraParams2()
1126 const CvMat* distCoeffs, in cvFindExtrinsicCameraParams2()
1127 CvMat* rvec, CvMat* tvec ) in cvFindExtrinsicCameraParams2()
1130 CvMat *_M = 0, *_Mxy = 0, *_m = 0, *_mn = 0, *_L = 0, *_J = 0; in cvFindExtrinsicCameraParams2()
1141 CvMat _A = cvMat( 3, 3, CV_64F, a ); in cvFindExtrinsicCameraParams2()
1142 CvMat _Ar = cvMat( 3, 3, CV_64F, ar ); in cvFindExtrinsicCameraParams2()
1143 CvMat _R = cvMat( 3, 3, CV_64F, R ); in cvFindExtrinsicCameraParams2()
1144 CvMat _r = cvMat( 3, 1, CV_64F, param ); in cvFindExtrinsicCameraParams2()
1145 CvMat _t = cvMat( 3, 1, CV_64F, param + 3 ); in cvFindExtrinsicCameraParams2()
1146 CvMat _Mc = cvMat( 1, 3, CV_64F, Mc.val ); in cvFindExtrinsicCameraParams2()
1147 CvMat _MM = cvMat( 3, 3, CV_64F, MM ); in cvFindExtrinsicCameraParams2()
1148 CvMat _U = cvMat( 3, 3, CV_64F, U ); in cvFindExtrinsicCameraParams2()
1149 CvMat _V = cvMat( 3, 3, CV_64F, V ); in cvFindExtrinsicCameraParams2()
1150 CvMat _W = cvMat( 3, 1, CV_64F, W ); in cvFindExtrinsicCameraParams2()
1151 CvMat _JtJ = cvMat( 6, 6, CV_64F, JtJ ); in cvFindExtrinsicCameraParams2()
1152 CvMat _JtErr = cvMat( 6, 1, CV_64F, JtErr ); in cvFindExtrinsicCameraParams2()
1153 CvMat _JtJW = cvMat( 6, 1, CV_64F, JtJW ); in cvFindExtrinsicCameraParams2()
1154 CvMat _JtJV = cvMat( 6, 6, CV_64F, JtJV ); in cvFindExtrinsicCameraParams2()
1155 CvMat _delta = cvMat( 6, 1, CV_64F, delta ); in cvFindExtrinsicCameraParams2()
1156 CvMat _param = cvMat( 6, 1, CV_64F, param ); in cvFindExtrinsicCameraParams2()
1157 CvMat _dpdr, _dpdt; in cvFindExtrinsicCameraParams2()
1193 CvMat* R_transform = &_V; in cvFindExtrinsicCameraParams2()
1194 CvMat T_transform = cvMat( 3, 1, CV_64F, tt ); in cvFindExtrinsicCameraParams2()
1195 CvMat _H = cvMat( 3, 3, CV_64F, h ); in cvFindExtrinsicCameraParams2()
1196 CvMat _h1, _h2, _h3; in cvFindExtrinsicCameraParams2()
1241 CvMat _LL = cvMat( 12, 12, CV_64F, LL ); in cvFindExtrinsicCameraParams2()
1242 CvMat _LW = cvMat( 12, 1, CV_64F, LW ); in cvFindExtrinsicCameraParams2()
1243 CvMat _LV = cvMat( 12, 12, CV_64F, LV ); in cvFindExtrinsicCameraParams2()
1244 CvMat _RRt, _RR, _tt; in cvFindExtrinsicCameraParams2()
1336 cvInitIntrinsicParams2D( const CvMat* objectPoints, in cvInitIntrinsicParams2D()
1337 const CvMat* imagePoints, in cvInitIntrinsicParams2D()
1338 const CvMat* npoints, in cvInitIntrinsicParams2D()
1340 CvMat* cameraMatrix, in cvInitIntrinsicParams2D()
1343 CvMat *_A = 0, *_b = 0, *_allH = 0, *_allK = 0; in cvInitIntrinsicParams2D()
1352 CvMat _a = cvMat( 3, 3, CV_64F, a ); in cvInitIntrinsicParams2D()
1353 CvMat _H = cvMat( 3, 3, CV_64F, H ); in cvInitIntrinsicParams2D()
1354 CvMat _f = cvMat( 2, 1, CV_64F, f ); in cvInitIntrinsicParams2D()
1385 CvMat _m, _M; in cvInitIntrinsicParams2D()
1443 cvCalibrateCamera2( const CvMat* objectPoints, in cvCalibrateCamera2()
1444 const CvMat* imagePoints, in cvCalibrateCamera2()
1445 const CvMat* npoints, in cvCalibrateCamera2()
1447 CvMat* cameraMatrix, CvMat* distCoeffs, in cvCalibrateCamera2()
1448 CvMat* rvecs, CvMat* tvecs, in cvCalibrateCamera2()
1452 CvMat *_M = 0, *_m = 0, *_Ji = 0, *_Je = 0, *_err = 0; in cvCalibrateCamera2()
1460 CvMat _A = cvMat(3, 3, CV_64F, A), _k; in cvCalibrateCamera2()
1618 CvMat _Mi, _mi, _ri, _ti; in cvCalibrateCamera2()
1633 const CvMat* _param = 0; in cvCalibrateCamera2()
1634 CvMat *_JtJ = 0, *_JtErr = 0; in cvCalibrateCamera2()
1656 CvMat _Mi, _mi, _ri, _ti, _dpdr, _dpdt, _dpdf, _dpdc, _dpdk, _mp, _part; in cvCalibrateCamera2()
1717 CvMat src, dst; in cvCalibrateCamera2()
1756 void cvCalibrationMatrixValues( const CvMat *calibMatr, CvSize imgSize, in cvCalibrationMatrixValues()
1828 void cvStereoCalibrate( const CvMat* _objectPoints, const CvMat* _imagePoints1, in cvStereoCalibrate()
1829 const CvMat* _imagePoints2, const CvMat* _npoints, in cvStereoCalibrate()
1830 CvMat* _cameraMatrix1, CvMat* _distCoeffs1, in cvStereoCalibrate()
1831 CvMat* _cameraMatrix2, CvMat* _distCoeffs2, in cvStereoCalibrate()
1832 CvSize imageSize, CvMat* _R, CvMat* _T, in cvStereoCalibrate()
1833 CvMat* _E, CvMat* _F, in cvStereoCalibrate()
1837 CvMat* npoints = 0; in cvStereoCalibrate()
1838 CvMat* err = 0; in cvStereoCalibrate()
1839 CvMat* J_LR = 0; in cvStereoCalibrate()
1840 CvMat* Je = 0; in cvStereoCalibrate()
1841 CvMat* Ji = 0; in cvStereoCalibrate()
1842 CvMat* imagePoints[2] = {0,0}; in cvStereoCalibrate()
1843 CvMat* objectPoints = 0; in cvStereoCalibrate()
1844 CvMat* RT0 = 0; in cvStereoCalibrate()
1852 CvMat K[2], Dist[2], om_LR, T_LR; in cvStereoCalibrate()
1853 CvMat R_LR = cvMat(3, 3, CV_64F, rlr); in cvStereoCalibrate()
1886 const CvMat* points = k == 0 ? _imagePoints1 : _imagePoints2; in cvStereoCalibrate()
1887 const CvMat* cameraMatrix = k == 0 ? _cameraMatrix1 : _cameraMatrix2; in cvStereoCalibrate()
1888 const CvMat* distCoeffs = k == 0 ? _distCoeffs1 : _distCoeffs2; in cvStereoCalibrate()
1910 CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, in cvStereoCalibrate()
1986 CvMat objpt_i; in cvStereoCalibrate()
1988 CvMat om[2], R[2], T[2], imgpt_i[2]; in cvStereoCalibrate()
2048 const CvMat* param = 0; in cvStereoCalibrate()
2049 CvMat tmpimagePoints; in cvStereoCalibrate()
2050 CvMat *JtJ = 0, *JtErr = 0; in cvStereoCalibrate()
2054 CvMat dr3dr1 = cvMat(3, 3, CV_64F, _dr3dr1); in cvStereoCalibrate()
2055 CvMat dr3dr2 = cvMat(3, 3, CV_64F, _dr3dr2); in cvStereoCalibrate()
2057 CvMat dt3dr2 = cvMat(3, 3, CV_64F, _dt3dr2); in cvStereoCalibrate()
2058 CvMat dt3dt1 = cvMat(3, 3, CV_64F, _dt3dt1); in cvStereoCalibrate()
2059 CvMat dt3dt2 = cvMat(3, 3, CV_64F, _dt3dt2); in cvStereoCalibrate()
2060 CvMat om[2], T[2], imgpt_i[2]; in cvStereoCalibrate()
2061 CvMat dpdrot_hdr, dpdt_hdr, dpdf_hdr, dpdc_hdr, dpdk_hdr; in cvStereoCalibrate()
2062 CvMat *dpdrot = &dpdrot_hdr, *dpdt = &dpdt_hdr, *dpdf = 0, *dpdc = 0, *dpdk = 0; in cvStereoCalibrate()
2109 CvMat objpt_i, _part; in cvStereoCalibrate()
2157 CvMat de3dr3 = cvMat( 1, 3, CV_64F, Je->data.ptr + Je->step*p ); in cvStereoCalibrate()
2158 CvMat de3dt3 = cvMat( 1, 3, CV_64F, de3dr3.data.db + 3 ); in cvStereoCalibrate()
2159 CvMat de3dr2 = cvMat( 1, 3, CV_64F, J_LR->data.ptr + J_LR->step*p ); in cvStereoCalibrate()
2160 CvMat de3dt2 = cvMat( 1, 3, CV_64F, de3dr2.data.db + 3 ); in cvStereoCalibrate()
2162 CvMat de3dr1 = cvMat( 1, 3, CV_64F, _de3dr1 ); in cvStereoCalibrate()
2163 CvMat de3dt1 = cvMat( 1, 3, CV_64F, _de3dt1 ); in cvStereoCalibrate()
2229 CvMat* distCoeffs = k == 0 ? _distCoeffs1 : _distCoeffs2; in cvStereoCalibrate()
2230 CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, in cvStereoCalibrate()
2245 CvMat Tx = cvMat(3, 3, CV_64F, tx); in cvStereoCalibrate()
2247 CvMat E = cvMat(3, 3, CV_64F, e); in cvStereoCalibrate()
2248 CvMat F = cvMat(3, 3, CV_64F, f); in cvStereoCalibrate()
2255 CvMat iK = cvMat(3, 3, CV_64F, ik); in cvStereoCalibrate()
2278 void cvStereoRectify( const CvMat* _cameraMatrix1, const CvMat* _cameraMatrix2, in cvStereoRectify()
2279 const CvMat* _distCoeffs1, const CvMat* _distCoeffs2, in cvStereoRectify()
2280 CvSize imageSize, const CvMat* _R, const CvMat* _T, in cvStereoRectify()
2281 CvMat* _R1, CvMat* _R2, CvMat* _P1, CvMat* _P2, in cvStereoRectify()
2282 CvMat* _Q, int flags ) in cvStereoRectify()
2286 CvMat om = cvMat(3, 1, CV_64F, _om); in cvStereoRectify()
2287 CvMat t = cvMat(3, 1, CV_64F, _t); in cvStereoRectify()
2288 CvMat uu = cvMat(3, 1, CV_64F, _uu); in cvStereoRectify()
2289 CvMat r_r = cvMat(3, 3, CV_64F, _r_r); in cvStereoRectify()
2290 CvMat pp = cvMat(3, 4, CV_64F, _pp); in cvStereoRectify()
2291 CvMat ww = cvMat(3, 1, CV_64F, _ww); // temps in cvStereoRectify()
2292 CvMat wR = cvMat(3, 3, CV_64F, _wr); in cvStereoRectify()
2293 CvMat Z = cvMat(3, 1, CV_64F, _z); in cvStereoRectify()
2294 CvMat Ri = cvMat(3, 3, CV_64F, _ri); in cvStereoRectify()
2330 const CvMat* A = k == 0 ? _cameraMatrix1 : _cameraMatrix2; in cvStereoRectify()
2331 const CvMat* Dk = k == 0 ? _distCoeffs1 : _distCoeffs2; in cvStereoRectify()
2334 CvMat pts = cvMat(1, 4, CV_32FC2, _pts); in cvStereoRectify()
2335 CvMat pts_3 = cvMat(1, 4, CV_32FC3, _pts_3); in cvStereoRectify()
2394 CvMat Q = cvMat(4, 4, CV_64F, q); in cvStereoRectify()
2402 const CvMat* _points1, const CvMat* _points2, in cvStereoRectifyUncalibrated()
2403 const CvMat* F0, CvSize imgSize, CvMat* _H1, CvMat* _H2, double threshold ) in cvStereoRectifyUncalibrated()
2406 CvMat* _m1 = 0; in cvStereoRectifyUncalibrated()
2407 CvMat* _m2 = 0; in cvStereoRectifyUncalibrated()
2408 CvMat* _lines1 = 0; in cvStereoRectifyUncalibrated()
2409 CvMat* _lines2 = 0; in cvStereoRectifyUncalibrated()
2418 CvMat E2 = cvMat( 3, 1, CV_64F, e2 ); in cvStereoRectifyUncalibrated()
2419 CvMat U = cvMat( 3, 3, CV_64F, u ); in cvStereoRectifyUncalibrated()
2420 CvMat V = cvMat( 3, 3, CV_64F, v ); in cvStereoRectifyUncalibrated()
2421 CvMat W = cvMat( 3, 3, CV_64F, w ); in cvStereoRectifyUncalibrated()
2422 CvMat F = cvMat( 3, 3, CV_64F, f ); in cvStereoRectifyUncalibrated()
2423 CvMat H1 = cvMat( 3, 3, CV_64F, h1 ); in cvStereoRectifyUncalibrated()
2424 CvMat H2 = cvMat( 3, 3, CV_64F, h2 ); in cvStereoRectifyUncalibrated()
2425 CvMat H0 = cvMat( 3, 3, CV_64F, h0 ); in cvStereoRectifyUncalibrated()
2446 cvSVD( (CvMat*)&F, &W, &U, &V, CV_SVD_U_T + CV_SVD_V_T ); in cvStereoRectifyUncalibrated()
2507 CvMat T = cvMat(3, 3, CV_64F, t); in cvStereoRectifyUncalibrated()
2520 CvMat R = cvMat(3, 3, CV_64F, r); in cvStereoRectifyUncalibrated()
2530 CvMat K = cvMat(3, 3, CV_64F, k); in cvStereoRectifyUncalibrated()
2540 CvMat iT = cvMat( 3, 3, CV_64F, it ); in cvStereoRectifyUncalibrated()
2558 CvMat E2_x = cvMat(3, 3, CV_64F, e2_x); in cvStereoRectifyUncalibrated()
2559 CvMat E2_111 = cvMat(3, 3, CV_64F, e2_111); in cvStereoRectifyUncalibrated()
2562 CvMat E1=cvMat(3, 1, CV_64F, V.data.db+6); in cvStereoRectifyUncalibrated()
2567 CvMat A = cvMat( 1, npoints, CV_64FC3, lines1 ), BxBy, B; in cvStereoRectifyUncalibrated()
2569 CvMat AtA = cvMat( 3, 3, CV_64F, a ); in cvStereoRectifyUncalibrated()
2570 CvMat AtB = cvMat( 3, 1, CV_64F, atb ); in cvStereoRectifyUncalibrated()
2571 CvMat X = cvMat( 3, 1, CV_64F, x ); in cvStereoRectifyUncalibrated()
2586 CvMat Ha = cvMat(3, 3, CV_64F, ha); in cvStereoRectifyUncalibrated()
2593 CvMat MM = cvMat(3, 3, CV_64F, mm); in cvStereoRectifyUncalibrated()
2618 CvArr* _3dImage, const CvMat* _Q ) in cvReprojectImageTo3D()
2625 CvMat Q = cvMat(4, 4, CV_64F, q); in cvReprojectImageTo3D()
2626 CvMat sstub, *src = cvGetMat( disparityImage, &sstub ); in cvReprojectImageTo3D()
2627 CvMat dstub, *dst = cvGetMat( _3dImage, &dstub ); in cvReprojectImageTo3D()