Lines Matching refs:numPoints
137 int numPoints;
138 numPoints = points->cols;
139 if( numPoints <= 0 || numPoints != normPoints->cols )
162 for( i = 0; i < numPoints; i++ )
523 int numPoints;
524 numPoints = points4D->cols;
525 if( numPoints < 1 )
530 if( numPoints != projPoints->cols )
551 CV_CALL( tmpProjPoints = cvCreateMat(3,numPoints,CV_64F) );
557 for( i = 0; i < numPoints; i++ )
646 int numPoints;
647 numPoints = points[0]->cols;
648 if( numPoints < 6 )
655 if( points[currImage]->cols != numPoints || statuses[currImage]->cols != numPoints )
681 CV_CALL( comStat = (unsigned char*)cvAlloc(sizeof(unsigned char)*numPoints) );
691 for( i = 0; i < numPoints; i++ )
713 for( i = 0; i < numPoints; i++ )
737 for( i = 0; i < numPoints; i++ )
754 for( i = 0; i < numPoints; i++ )
832 int numPoints;
833 numPoints = points1->cols;
835 if( numPoints < 6 )
840 if( numPoints != points2->cols || numPoints != points3->cols )
880 CV_CALL( recPoints4D = cvCreateMat(4,numPoints,CV_64F) );
881 CV_CALL( tmpProjPoints[0] = cvCreateMat(2,numPoints,CV_64F) );
882 CV_CALL( tmpProjPoints[1] = cvCreateMat(2,numPoints,CV_64F) );
883 CV_CALL( tmpProjPoints[2] = cvCreateMat(2,numPoints,CV_64F) );
885 CV_CALL( flags = (char*)cvAlloc(sizeof(char)*numPoints) );
886 CV_CALL( bestFlags = (char*)cvAlloc(sizeof(char)*numPoints) );
912 icvGetRandNumbers(numPoints,6,randNumbs);
954 for( i = 0; i < numPoints; i++ )
996 memcpy(bestFlags,flags,sizeof(flags[0])*numPoints);
999 double ep = 1 - (double)numGoodPoints / (double)numPoints;
1017 sprintf(str,"Initial numPoints = %d\nmaxGoodPoints=%d\nRANSAC made %d steps",
1018 numPoints,
1040 goodFlags = (char*)cvAlloc(numPoints*sizeof(char));
1049 optStatus = cvCreateMat(1,numPoints,CV_64F);
1051 for( i=0;i<numPoints;i++ )
1113 reconPoints4D = cvCreateMat(4,numPoints,CV_64F);
1130 for( i = 0; i < numPoints; i++ )
1166 memcpy(bestFlags,goodFlags,numPoints*sizeof(char));
1177 optStatus = cvCreateMat(1,numPoints,CV_64F);
1178 for( i=0;i<numPoints;i++ )
1190 resPoints4D = cvCreateMat(4,numPoints,CV_64F);
1219 reconPoints4D = cvCreateMat(4,numPoints,CV_64F);
1236 for( i = 0; i < numPoints; i++ )
1274 memcpy(bestFlags,goodFlags,numPoints*sizeof(char));
1301 for( int i = 0; i < numPoints; i++)
1798 int numPoints;
1799 numPoints = projPoints->cols;
1800 if( numPoints < 6 )
1805 if( numPoints != objPoints->cols )
1821 CV_CALL( matrA = cvCreateMat(numPoints*3, 12, CV_64F) );
1822 CV_CALL( matrW = cvCreateMat(numPoints*3, 12, CV_64F) );
1826 CV_CALL( tmpProjPoints = cvCreateMat(3,numPoints,CV_64F) );
1847 for( i = 0;i < numPoints; i++ )
1967 int numPoints;
1968 numPoints = points1->cols;
1971 if( numPoints < 5 )
1976 if( numPoints != points2->cols )
1992 CV_CALL( matrA = cvCreateMat(6*numPoints,16,CV_64F) );
1993 CV_CALL( matrW = cvCreateMat(6*numPoints,16,CV_64F) );
1999 for( i = 0; i < numPoints; i++ )/* For each point */
2085 int numPoints;
2086 numPoints = projPoints1->cols;
2088 if( numPoints < 1 )
2093 if( projPoints2->cols != numPoints || projPoints3->cols != numPoints || points4D->cols != numPoints )
2143 for( i = 0; i < numPoints; i++ )/* For each point */
2182 for( i = 0; i < numPoints; i++ )
2228 int numPoints;
2229 numPoints = projPoints1->cols;
2230 if( projPoints2->cols != numPoints || projPoints3->cols != numPoints || points3D->cols != numPoints )
2277 for( i = 0; i < numPoints; i++ )/* For each point */
2321 for( i = 0; i < numPoints; i++ )