Lines Matching refs:F0
797 CvMat U, F0, TF;
870 F0 = cvMat( 3, 3, CV_64F, v + 9*8 ); // take the last column of v as a solution of Af = 0
872 // make F0 singular (of rank 2) by decomposing it with SVD,
876 W = U = V = TF = F0;
882 cvSVD( &F0, &W, &U, &V, CV_SVD_MODIFY_A + CV_SVD_U_T + CV_SVD_V_T );
885 // F0 <- U*diag([W(1), W(2), 0])*V'
887 cvGEMM( &TF, &V, 1., 0, 0., &F0, 0/*CV_GEMM_B_T*/ );
895 T0 = T1 = F0;
899 // F0 <- T1'*F0*T0
900 cvGEMM( &T1, &F0, 1., 0, 0., &TF, CV_GEMM_A_T );
901 F0.data.db = fmatrix;
902 cvGEMM( &TF, &T0, 1., 0, 0., &F0, 0 );
905 if( fabs(F0.data.db[8]) > FLT_EPSILON )
906 cvScale( &F0, &F0, 1./F0.data.db[8] );