Lines Matching refs:npoints
1139 const CvMat* imagePoints, const CvMat* npoints, in cvInitIntrinsicParams2D() argument
1152 assert( CV_MAT_TYPE(npoints->type) == CV_32SC1 && in cvInitIntrinsicParams2D()
1153 CV_IS_MAT_CONT(npoints->type) ); in cvInitIntrinsicParams2D()
1154 nimages = npoints->rows + npoints->cols - 1; in cvInitIntrinsicParams2D()
1176 ni = npoints->data.i[i]; in cvInitIntrinsicParams2D()
1230 const CvMat* imagePoints, const CvMat* npoints, in cvCalibrateCamera2() argument
1246 !CV_IS_MAT(npoints) || !CV_IS_MAT(cameraMatrix) || !CV_IS_MAT(distCoeffs) ) in cvCalibrateCamera2()
1252 if( CV_MAT_TYPE(npoints->type) != CV_32SC1 || in cvCalibrateCamera2()
1253 (npoints->rows != 1 && npoints->cols != 1) ) in cvCalibrateCamera2()
1260 nimages = npoints->rows*npoints->cols; in cvCalibrateCamera2()
1261 npstep = npoints->rows == 1 ? 1 : npoints->step/CV_ELEM_SIZE(npoints->type); in cvCalibrateCamera2()
1302 ni = npoints->data.i[i*npstep]; in cvCalibrateCamera2()
1381 cvInitIntrinsicParams2D( matM, _m, npoints, imageSize, &matA, aspectRatio ); in cvCalibrateCamera2()
1434 ni = npoints->data.i[i*npstep]; in cvCalibrateCamera2()
1473 ni = npoints->data.i[i*npstep]; in cvCalibrateCamera2()
1645 Ptr<CvMat> npoints, err, J_LR, Je, Ji, imagePoints[2], objectPoints, RT0; in cvStereoCalibrate() local
1668 npoints.reset(cvCreateMat( _npoints->rows, _npoints->cols, _npoints->type )); in cvStereoCalibrate()
1669 cvCopy( _npoints, npoints ); in cvStereoCalibrate()
1673 maxPoints = MAX(maxPoints, npoints->data.i[i]); in cvStereoCalibrate()
1674 pointsTotal += npoints->data.i[i]; in cvStereoCalibrate()
1716 npoints, imageSize, &K[k], &Dist[k], 0, 0, flags ); in cvStereoCalibrate()
1800 ni = npoints->data.i[i]; in cvStereoCalibrate()
1936 ni = npoints->data.i[i]; in cvStereoCalibrate()
2438 int i, j, npoints; in cvStereoRectifyUncalibrated() local
2460 npoints = _points1->rows * _points1->cols * CV_MAT_CN(_points1->type) / 2; in cvStereoRectifyUncalibrated()
2464 _lines1.reset(cvCreateMat( 1, npoints, CV_64FC3 )); in cvStereoRectifyUncalibrated()
2465 _lines2.reset(cvCreateMat( 1, npoints, CV_64FC3 )); in cvStereoRectifyUncalibrated()
2496 for( i = j = 0; i < npoints; i++ ) in cvStereoRectifyUncalibrated()
2514 npoints = j; in cvStereoRectifyUncalibrated()
2515 if( npoints == 0 ) in cvStereoRectifyUncalibrated()
2519 _m1->cols = _m2->cols = npoints; in cvStereoRectifyUncalibrated()
2589 CvMat A = cvMat( 1, npoints, CV_64FC3, lines1 ), BxBy, B; in cvStereoRectifyUncalibrated()
2593 cvReshape( &A, &A, 1, npoints ); in cvStereoRectifyUncalibrated()
2594 cvReshape( _m2, &BxBy, 1, npoints ); in cvStereoRectifyUncalibrated()
2968 Mat& npoints ) in collectCalibrationData() argument
2988 npoints.create(1, (int)nimages, CV_32S); in collectCalibrationData()
3007 npoints.at<int>(i) = ni; in collectCalibrationData()
3163 int npoints = opoints.checkVector(3), depth = opoints.depth(); in projectPoints() local
3164 CV_Assert(npoints >= 0 && (depth == CV_32F || depth == CV_64F)); in projectPoints()
3169 _ipoints.create(npoints, 1, CV_MAKETYPE(depth, 2), -1, true); in projectPoints()
3188 _jacobian.create(npoints*2, 3+3+2+2+ndistCoeffs, CV_64F); in projectPoints()
3205 Mat objPt, imgPt, npoints, cameraMatrix(3, 3, CV_64F); in initCameraMatrix2D() local
3207 objPt, imgPt, 0, npoints ); in initCameraMatrix2D()
3208 CvMat _objPt = objPt, _imgPt = imgPt, _npoints = npoints, _cameraMatrix = cameraMatrix; in initCameraMatrix2D()
3231 Mat objPt, imgPt, npoints, rvecM((int)nimages, 3, CV_64FC1), tvecM((int)nimages, 3, CV_64FC1); in calibrateCamera() local
3233 objPt, imgPt, 0, npoints ); in calibrateCamera()
3234 CvMat c_objPt = objPt, c_imgPt = imgPt, c_npoints = npoints; in calibrateCamera()
3310 Mat objPt, imgPt, imgPt2, npoints; in stereoCalibrate() local
3313 objPt, imgPt, &imgPt2, npoints ); in stereoCalibrate()
3314 CvMat c_objPt = objPt, c_imgPt = imgPt, c_imgPt2 = imgPt2, c_npoints = npoints; in stereoCalibrate()