Home | History | Annotate | Download | only in src

Lines Matching refs:cols

295     CV_ASSERT( A->cols == B->rows );
298 L = A->cols;
299 N = B->cols;
305 dABdA->rows == A->rows*B->cols && dABdA->cols == A->rows*A->cols );
311 dABdB->rows == A->rows*B->cols && dABdB->cols == B->rows*B->cols );
401 CV_ASSERT( _rvec1->rows == 3 && _rvec1->cols == 1 && CV_ARE_SIZES_EQ(_rvec1, _rvec2) );
524 if( (jacobian->rows != 9 || jacobian->cols != 3) &&
525 (jacobian->rows != 3 || jacobian->cols != 9))
529 if( src->cols == 1 || src->rows == 1 )
534 if( src->rows + src->cols*CV_MAT_CN(src->type) - 1 != 3 )
537 if( dst->rows != 3 || dst->cols != 3 || CV_MAT_CN(dst->type) != 1 )
608 else if( src->cols == 3 && src->rows == 3 )
618 if( (dst->rows != 1 || dst->cols*CV_MAT_CN(dst->type) != 3) &&
619 (dst->rows != 3 || dst->cols != 1 || CV_MAT_CN(dst->type) != 1))
747 CvMat _Jf = cvMat( _J.rows, _J.cols, CV_32FC1, Jf );
800 count = MAX(objectPoints->rows, objectPoints->cols);
804 (objectPoints->rows == count && CV_MAT_CN(objectPoints->type)*objectPoints->cols == 3)))
814 (imagePoints->rows == count && CV_MAT_CN(imagePoints->type)*imagePoints->cols == 2)))
823 (((r_vec->rows != 1 && r_vec->cols != 1) ||
824 r_vec->rows*r_vec->cols*CV_MAT_CN(r_vec->type) != 3) &&
825 ((r_vec->rows != 3 && r_vec->cols != 3) || CV_MAT_CN(r_vec->type) != 1)))
829 if( r_vec->rows == 3 && r_vec->cols == 3 )
838 _r = cvMat( r_vec->rows, r_vec->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(r_vec->type)), r );
844 (t_vec->rows != 1 && t_vec->cols != 1) ||
845 t_vec->rows*t_vec->cols*CV_MAT_CN(t_vec->type) != 3 )
849 _t = cvMat( t_vec->rows, t_vec->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(t_vec->type)), t );
853 A->rows != 3 || A->cols != 3 )
868 (distCoeffs->rows != 1 && distCoeffs->cols != 1) ||
869 (distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 4 &&
870 distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 5) )
874 _k = cvMat( distCoeffs->rows, distCoeffs->cols,
884 dpdr->rows != count*2 || dpdr->cols != 3 )
900 dpdt->rows != count*2 || dpdt->cols != 3 )
915 dpdf->rows != count*2 || dpdf->cols != 2 )
930 dpdc->rows != count*2 || dpdc->cols != 2 )
945 dpdk->rows != count*2 || (dpdk->cols != 5 && dpdk->cols != 4 && dpdk->cols != 2) )
954 CV_CALL( _dpdk = cvCreateMat( dpdk->rows, dpdk->cols, CV_64FC1 ));
1019 if( _dpdk->cols > 2 )
1025 if( _dpdk->cols > 4 )
1162 count = MAX(objectPoints->cols, objectPoints->rows);
1171 (rvec->rows == 1 || rvec->cols == 1) && rvec->rows*rvec->cols*CV_MAT_CN(rvec->type) == 3 );
1174 (tvec->rows == 1 || tvec->cols == 1) && tvec->rows*tvec->cols*CV_MAT_CN(tvec->type) == 3 );
1316 _r = cvMat( rvec->rows, rvec->cols,
1318 _t = cvMat( tvec->rows, tvec->cols,
1358 nimages = npoints->rows + npoints->cols - 1;
1473 (npoints->rows != 1 && npoints->cols != 1) )
1477 nimages = npoints->rows*npoints->cols;
1485 ((rvecs->rows != nimages || (rvecs->cols*cn != 3 && rvecs->cols*cn != 9)) &&
1486 (rvecs->rows != 1 || rvecs->cols != nimages || cn != 3)) )
1496 ((tvecs->rows != nimages || tvecs->cols*cn != 3) &&
1497 cols != nimages || cn != 3)) )
1504 cameraMatrix->rows != 3 || cameraMatrix->cols != 3 )
1510 (distCoeffs->cols != 1 && distCoeffs->rows != 1) ||
1511 (distCoeffs->cols*distCoeffs->rows != 4 &&
1512 distCoeffs->cols*distCoeffs->rows != 5) )
1541 _k = cvMat( distCoeffs->rows, distCoeffs->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), k);
1542 if( distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 4 )
1721 if( rvecs->rows == nimages && rvecs->cols*CV_MAT_CN(rvecs->type) == 9 )
1774 if(calibMatr->cols != 3 || calibMatr->rows != 3)
1866 CV_ASSERT( (_npoints->cols == 1 || _npoints->rows == 1) &&
1869 nimages = _npoints->cols + _npoints->rows - 1;
1870 npoints = cvCreateMat( _npoints->rows, _npoints->cols, _npoints->type );
1879 objectPoints = cvCreateMat( _objectPoints->rows, _objectPoints->cols,
1893 ((_imagePoints1->rows == pointsTotal && _imagePoints1->cols*cn == 2) ||
1894 (_imagePoints1->rows == 1 && _imagePoints1->cols == pointsTotal && cn == 2)) );
1899 imagePoints[k] = cvCreateMat( points->rows, points->cols, CV_64FC(CV_MAT_CN(points->type)));
1910 CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols,
2216 if( _R->rows == 1 || _R->cols == 1 )
2230 CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols,
2298 if( _R->rows == 3 && _R->cols == 3 )
2433 (_points1->rows == 1 || _points1->cols == 1) &&
2434 (_points2->rows == 1 || _points2->cols == 1) &&
2437 npoints = _points1->rows * _points1->cols * CV_MAT_CN(_points1->type) / 2;
2439 _m1 = cvCreateMat( _points1->rows, _points1->cols, CV_64FC(CV_MAT_CN(_points1->type)) );
2440 _m2 = cvCreateMat( _points2->rows, _points2->cols, CV_64FC(CV_MAT_CN(_points2->type)) );
2497 _m1->cols = _m2->cols = npoints;
2629 int x, y, rows = src->rows, cols = src->cols;
2630 float* sbuf = (float*)cvStackAlloc( cols*sizeof(sbuf[0]) );
2631 float* dbuf = (float*)cvStackAlloc( cols*3*sizeof(dbuf[0]) );
2649 for( x = 0; x < cols; x++ )
2656 for( x = 0; x < cols; x++, qx += q[0][0], qy += q[1][0], qz += q[2][0], qw += q[3][0] )
2671 for( x = 0; x < cols*3; x++ )