Lines Matching refs:nimages
1349 int i, j, pos, nimages, total, ni = 0; in cvInitIntrinsicParams2D() local
1358 nimages = npoints->rows + npoints->cols - 1; in cvInitIntrinsicParams2D()
1369 _A = cvCreateMat( 2*nimages, 2, CV_64F ); in cvInitIntrinsicParams2D()
1370 _b = cvCreateMat( 2*nimages, 1, CV_64F ); in cvInitIntrinsicParams2D()
1373 _allH = cvCreateMat( nimages, 9, CV_64F ); in cvInitIntrinsicParams2D()
1378 for( i = 0, pos = 0; i < nimages; i++, pos += ni ) in cvInitIntrinsicParams2D()
1461 int i, nimages, maxPoints = 0, ni = 0, pos, total = 0, nparams, npstep, cn; in cvCalibrateCamera2() local
1477 nimages = npoints->rows*npoints->cols; in cvCalibrateCamera2()
1485 ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) && in cvCalibrateCamera2()
1486 (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2()
1496 ((tvecs->rows != nimages || tvecs->cols*cn != 3) && in cvCalibrateCamera2()
1497 (tvecs->rows != 1 || tvecs->cols != nimages || cn != 3)) ) in cvCalibrateCamera2()
1516 for( i = 0; i < nimages; i++ ) in cvCalibrateCamera2()
1535 nparams = NINTRINSIC + nimages*6; in cvCalibrateCamera2()
1616 for( i = 0, pos = 0; i < nimages; i++, pos += ni ) in cvCalibrateCamera2()
1654 for( i = 0, pos = 0; i < nimages; i++, pos += ni ) in cvCalibrateCamera2()
1715 for( i = 0; i < nimages; i++ ) in cvCalibrateCamera2()
1721 if( rvecs->rows == nimages && rvecs->cols*CV_MAT_CN(rvecs->type) == 9 ) in cvCalibrateCamera2()
1854 int i, k, p, ni = 0, ofs, nimages, pointsTotal, maxPoints = 0; in cvStereoCalibrate() local
1869 nimages = _npoints->cols + _npoints->rows - 1; in cvStereoCalibrate()
1873 for( i = 0, pointsTotal = 0; i < nimages; i++ ) in cvStereoCalibrate()
1945 nparams = 6*(nimages+1) + (recomputeIntrinsics ? NINTRINSIC*2 : 0); in cvStereoCalibrate()
1948 RT0 = cvCreateMat( 6, nimages, CV_64F ); in cvStereoCalibrate()
1983 for( i = ofs = 0; i < nimages; ofs += ni, i++ ) in cvStereoCalibrate()
2017 RT0->data.db[i + nimages] = t[0][1]; in cvStereoCalibrate()
2018 RT0->data.db[i + nimages*2] = t[0][2]; in cvStereoCalibrate()
2019 RT0->data.db[i + nimages*3] = t[1][0]; in cvStereoCalibrate()
2020 RT0->data.db[i + nimages*4] = t[1][1]; in cvStereoCalibrate()
2021 RT0->data.db[i + nimages*5] = t[1][2]; in cvStereoCalibrate()
2027 qsort( RT0->data.db + i*nimages, nimages, CV_ELEM_SIZE(RT0->type), dbCmp ); in cvStereoCalibrate()
2028 solver.param->data.db[i] = nimages % 2 != 0 ? RT0->data.db[i*nimages + nimages/2] : in cvStereoCalibrate()
2029 (RT0->data.db[i*nimages + nimages/2 - 1] + RT0->data.db[i*nimages + nimages/2])*0.5; in cvStereoCalibrate()
2035 double* iparam = solver.param->data.db + (nimages+1)*6 + k*NINTRINSIC; in cvStereoCalibrate()
2073 double* iparam = solver.param->data.db + (nimages+1)*6; in cvStereoCalibrate()
2074 double* ipparam = solver.prevParam->data.db + (nimages+1)*6; in cvStereoCalibrate()
2106 for( i = ofs = 0; i < nimages; ofs += ni, i++ ) in cvStereoCalibrate()
2148 int iofs = (nimages+1)*6 + k*NINTRINSIC, eofs = (i+1)*6; in cvStereoCalibrate()