Home | History | Annotate | Download | only in src

Lines Matching full:matrix

103 void fprintMatrix(FILE* file,CvMat* matrix)
107 for( i=0;i<matrix->rows;i++ )
109 for(j=0;j<matrix->cols;j++)
111 fprintf(file,"%10.7lf ",cvmGet(matrix,i,j));
121 /* Normalize image points using camera matrix */
151 CV_ERROR( CV_StsUnmatchedSizes, "Size of camera matrix must be 3x3" );
216 CV_ERROR( CV_StsUnmatchedSizes, "Size of project matrix must be 3x4 or 9x4 (for 3 matrices)" );
226 /* Find transform matrix for each camera */
300 /* We have computed corr points. Now we can compute generators for reduced fundamental matrix */
302 /* Compute generators for reduced fundamental matrix from 3 pair of collect points */
327 /* For current solution compute projection matrix */
336 /* we have computed coeffs for reduced project matrix */
367 /* compute project matrix for current camera */
374 /* Add this matrix to result */
547 CV_ERROR( CV_StsUnmatchedSizes, "Size of projection matrix must be 3x4");
632 CV_ERROR( CV_StsNullPtr, "Some of points arrays is not a matrix" );
637 CV_ERROR( CV_StsNullPtr, "Some of projMatr is not a matrix" );
667 CV_ERROR( CV_StsOutOfRange, "Each of status must be matrix 1xN" );
672 CV_ERROR( CV_StsOutOfRange, "Each of projection matrix must be 3x4" );
932 /* Compute number of good points for each matrix */
1030 /* matrix not found */
1358 CV_ERROR( CV_StsUnmatchedSizes, "size of matrix resultT must be 3x3" );
1405 /* Convert inverse matrix */
1462 /* Create matrix */
1534 /* using two fundamental matrix comute matrixes for det(F)=0 */
1635 /* Computes project matrix from given reduced matrix */
1637 /* Fill matrix to compute ratio a:b:c as A:B:C */
1820 /* Create and fill matrix A */
1923 /* We get transposed matrix V */
1927 /* projected matrix was computed */
1963 /* Computes transformation matrix (4x4) for points1 -> points2 */
1991 /* Create matrix */
2049 /* Copy result to result matrix */
2145 /* Fill matrix for current point */
2249 CV_ERROR( CV_StsUnmatchedSizes, "Size of proj matrix must be 3x4" );
2279 /* Fill matrix for current point */
2356 /* We know position of camera. we must to compute rotate matrix and translate vector */
2379 CV_ERROR( CV_StsUnmatchedSizes, "Rotate matrix must be 3x3" );
2397 /* Compute rotate matrix. Compute each unit transformed vector */
2453 {/* Try to inverse rotate matrix */
2473 /* Computes homography for project matrix be "canonical" form */
2490 CV_ERROR( CV_StsUnmatchedSizes, "Size of project matrix 1 must be 3x4" );
2495 CV_ERROR( CV_StsUnmatchedSizes, "Size of project matrix 2 must be 3x4" );
2500 CV_ERROR( CV_StsUnmatchedSizes, "Size of rotation matrix must be 3x3" );
2543 /* Fill rotation matrix */
2562 /* Computes matrix Q */
2611 CV_ERROR( CV_StsUnmatchedSizes, "Size of matrix Q must be 3x3" );
2620 CV_ERROR( CV_StsUnmatchedSizes, "Size of each camera matrix must be 3x3" );
2625 CV_ERROR( CV_StsUnmatchedSizes, "Size of each camera matrix must be 3x3" );
2638 /* Create matrix A and vector B */
2649 /* Compute matrix w for current camera matrix */
2653 /* Fill matrix A and vector B */
2668 /* get elements from current projection matrix */
2683 /* copy to matrix A */
2699 /* Matrix A and vector B filled and we can solve system */
2708 /* System was solved. We know matrix Q. But we must have condition det Q=0 */
2709 /* Just copy result matrix Q */
2738 /* Use SVD to decompose matrix Q=H*I*H' */
2766 /* det for matrix Q with q1-q10 */