Lines Matching refs:Ar
261 const CvMat *R, const CvMat* Ar, CvArr* mapxarr, CvArr* mapyarr )
267 double a[9], ar[9], r[9], ir[9], k[5]={0,0,0,0,0};
273 CvMat _ar = cvMat( 3, 3, CV_64F, ar );
305 if( Ar )
308 if( !CV_IS_MAT(Ar) || Ar->rows != 3 || (Ar->cols != 3 && Ar->cols != 4) ||
309 (CV_MAT_TYPE(Ar->type) != CV_32FC1 && CV_MAT_TYPE(Ar->type) != CV_64FC1) )
311 cvGetCols( Ar, &Ar33, 0, 3 );
337 cvMatMul( &_ar, &_r, &_r ); // Ar*R
338 cvInvert( &_r, &_ir ); // inverse: R^-1*Ar^-1