Lines Matching refs:npoints
1338 const CvMat* npoints, in cvInitIntrinsicParams2D() argument
1356 assert( CV_MAT_TYPE(npoints->type) == CV_32SC1 && in cvInitIntrinsicParams2D()
1357 CV_IS_MAT_CONT(npoints->type) ); in cvInitIntrinsicParams2D()
1358 nimages = npoints->rows + npoints->cols - 1; in cvInitIntrinsicParams2D()
1375 total = cvRound(cvSum(npoints).val[0]); in cvInitIntrinsicParams2D()
1382 ni = npoints->data.i[i]; in cvInitIntrinsicParams2D()
1445 const CvMat* npoints, in cvCalibrateCamera2() argument
1466 !CV_IS_MAT(npoints) || !CV_IS_MAT(cameraMatrix) || !CV_IS_MAT(distCoeffs) ) in cvCalibrateCamera2()
1472 if( CV_MAT_TYPE(npoints->type) != CV_32SC1 || in cvCalibrateCamera2()
1473 (npoints->rows != 1 && npoints->cols != 1) ) in cvCalibrateCamera2()
1477 nimages = npoints->rows*npoints->cols; in cvCalibrateCamera2()
1478 npstep = npoints->rows == 1 ? 1 : npoints->step/CV_ELEM_SIZE(npoints->type); in cvCalibrateCamera2()
1518 ni = npoints->data.i[i*npstep]; in cvCalibrateCamera2()
1585 cvInitIntrinsicParams2D( _M, _m, npoints, imageSize, &_A, aspectRatio ); in cvCalibrateCamera2()
1619 ni = npoints->data.i[i*npstep]; in cvCalibrateCamera2()
1657 ni = npoints->data.i[i*npstep]; in cvCalibrateCamera2()
1837 CvMat* npoints = 0; in cvStereoCalibrate() local
1870 npoints = cvCreateMat( _npoints->rows, _npoints->cols, _npoints->type ); in cvStereoCalibrate()
1871 cvCopy( _npoints, npoints ); in cvStereoCalibrate()
1875 maxPoints = MAX(maxPoints, npoints->data.i[i]); in cvStereoCalibrate()
1876 pointsTotal += npoints->data.i[i]; in cvStereoCalibrate()
1918 npoints, imageSize, &K[k], &Dist[k], 0, 0, flags ); in cvStereoCalibrate()
1985 ni = npoints->data.i[i]; in cvStereoCalibrate()
2108 ni = npoints->data.i[i]; in cvStereoCalibrate()
2266 cvReleaseMat( &npoints ); in cvStereoCalibrate()
2415 int i, j, npoints; in cvStereoRectifyUncalibrated() local
2437 npoints = _points1->rows * _points1->cols * CV_MAT_CN(_points1->type) / 2; in cvStereoRectifyUncalibrated()
2441 _lines1 = cvCreateMat( 1, npoints, CV_64FC3 ); in cvStereoRectifyUncalibrated()
2442 _lines2 = cvCreateMat( 1, npoints, CV_64FC3 ); in cvStereoRectifyUncalibrated()
2473 for( i = j = 0; i < npoints; i++ ) in cvStereoRectifyUncalibrated()
2491 npoints = j; in cvStereoRectifyUncalibrated()
2492 if( npoints == 0 ) in cvStereoRectifyUncalibrated()
2497 _m1->cols = _m2->cols = npoints; in cvStereoRectifyUncalibrated()
2567 CvMat A = cvMat( 1, npoints, CV_64FC3, lines1 ), BxBy, B; in cvStereoRectifyUncalibrated()
2573 cvReshape( &A, &A, 1, npoints ); in cvStereoRectifyUncalibrated()
2574 cvReshape( _m2, &BxBy, 1, npoints ); in cvStereoRectifyUncalibrated()