Lines Matching refs:matrW
463 …puteMatrixW(int numImages, CvMat **projDeriv, CvMat **pointDeriv, CvMat **presPoints, CvMat *matrW) in icvComputeMatrixW() argument
473 if( projDeriv == 0 || pointDeriv == 0 || presPoints == 0 || matrW == 0 ) in icvComputeMatrixW()
483 if( !CV_IS_MAT(matrW) ) in icvComputeMatrixW()
487 if( matrW->rows != numImages*12 || matrW->cols != numPoints*4 ) in icvComputeMatrixW()
518 cvmSet(matrW,currImage*12+currLine,currPoint*4+currCol,sum); in icvComputeMatrixW()
526 cvmSet(matrW,currImage*12+currLine,currPoint*4+currCol,0); in icvComputeMatrixW()
549 double val = cvmGet(matrW, currImage * 12 + i, currPoint * 4 + currRow); in icvComputeMatrixW()
811 CvMat matrW; in icvReconstructPoints4DStatus() local
812 matrW = cvMat(3*numVisProj,4,CV_64F,matrW_dat); in icvReconstructPoints4DStatus()
839 cvSVD(&matrA,&matrW,0,&matrV,CV_SVD_V_T); in icvReconstructPoints4DStatus()
1072 CvMat *matrW = 0; in cvOptimizeLevenbergMarquardtBundle() local
1206 CV_CALL( matrW = cvCreateMat(12*numImages,4*numPoints,CV_64F) ); in cvOptimizeLevenbergMarquardtBundle()
1372 icvComputeMatrixW(numImages,DerivProj,DerivPoint,pointsPres,matrW); in cvOptimizeLevenbergMarquardtBundle()
1487 cvmGet(matrW,currImage*12+currCol,currV*4+i); in cvOptimizeLevenbergMarquardtBundle()
1497 cvmMul(matrW,matrTmpSys1,matrSysDeltaP); in cvOptimizeLevenbergMarquardtBundle()
1517 cvmMul(matrW,vectTmpSys3,vectSysDeltaP); in cvOptimizeLevenbergMarquardtBundle()
1552 sum += cvmGet(matrW,j,i) * cvmGet(deltaP,j,0); in cvOptimizeLevenbergMarquardtBundle()
1757 cvFree(&matrW); in cvOptimizeLevenbergMarquardtBundle()