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