Lines Matching refs:rows
150 if( !CV_IS_MAT(A) || A->rows != 3 || A->cols != 3 || in cvUndistort2()
154 if( !CV_IS_MAT(dist_coeffs) || (dist_coeffs->rows != 1 && dist_coeffs->cols != 1) || in cvUndistort2()
155 (dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 4 && in cvUndistort2()
156 dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 5) || in cvUndistort2()
163 _k = cvMat( dist_coeffs->rows, dist_coeffs->cols, in cvUndistort2()
213 if( !CV_IS_MAT(A) || A->rows != 3 || A->cols != 3 || in cvInitUndistortMap()
217 if( !CV_IS_MAT(dist_coeffs) || (dist_coeffs->rows != 1 && dist_coeffs->cols != 1) || in cvInitUndistortMap()
218 (dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 4 && in cvInitUndistortMap()
219 dist_coeffs->rows*dist_coeffs->cols*CV_MAT_CN(dist_coeffs->type) != 5) || in cvInitUndistortMap()
226 _k = cvMat( dist_coeffs->rows, dist_coeffs->cols, in cvInitUndistortMap()
297 if( !CV_IS_MAT(A) || A->rows != 3 || A->cols != 3 || in cvInitUndistortRectifyMap()
308 if( !CV_IS_MAT(Ar) || Ar->rows != 3 || (Ar->cols != 3 && Ar->cols != 4) || in cvInitUndistortRectifyMap()
317 if( !CV_IS_MAT(R) || R->rows != 3 || R->cols != 3 || in cvInitUndistortRectifyMap()
324 (distCoeffs->rows == 1 || distCoeffs->cols == 1) && in cvInitUndistortRectifyMap()
325 (distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 4 || in cvInitUndistortRectifyMap()
326 distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 5) && in cvInitUndistortRectifyMap()
329 _k = cvMat( distCoeffs->rows, distCoeffs->cols, in cvInitUndistortRectifyMap()
391 (_src->rows == 1 || _src->cols == 1) && in cvUndistortPoints()
392 (_dst->rows == 1 || _dst->cols == 1) && in cvUndistortPoints()
398 _cameraMatrix->rows == 3 && _cameraMatrix->cols == 3 && in cvUndistortPoints()
399 (_distCoeffs->rows == 1 || _distCoeffs->cols == 1) && in cvUndistortPoints()
400 (_distCoeffs->rows*_distCoeffs->cols == 4 || in cvUndistortPoints()
401 _distCoeffs->rows*_distCoeffs->cols == 5) ); in cvUndistortPoints()
402 _Dk = cvMat( _distCoeffs->rows, _distCoeffs->cols, in cvUndistortPoints()
409 CV_ASSERT( CV_IS_MAT(_R) && _R->rows == 3 && _R->cols == 3 ); in cvUndistortPoints()
419 CV_ASSERT( CV_IS_MAT(_P) && _P->rows == 3 && (_P->cols == 3 || _P->cols == 4)); in cvUndistortPoints()
430 sstep = _src->rows == 1 ? 1 : _src->step/CV_ELEM_SIZE(stype); in cvUndistortPoints()
431 dstep = _dst->rows == 1 ? 1 : _dst->step/CV_ELEM_SIZE(dtype); in cvUndistortPoints()
433 n = _src->rows + _src->cols - 1; in cvUndistortPoints()