Lines Matching refs:distCoeffs
771 const CvMat* distCoeffs, in cvProjectPoints2() argument
863 if( distCoeffs ) in cvProjectPoints2()
865 if( !CV_IS_MAT(distCoeffs) || in cvProjectPoints2()
866 (CV_MAT_DEPTH(distCoeffs->type) != CV_64F && in cvProjectPoints2()
867 CV_MAT_DEPTH(distCoeffs->type) != CV_32F) || in cvProjectPoints2()
868 (distCoeffs->rows != 1 && distCoeffs->cols != 1) || in cvProjectPoints2()
869 (distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 4 && in cvProjectPoints2()
870 distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) != 5) ) in cvProjectPoints2()
874 _k = cvMat( distCoeffs->rows, distCoeffs->cols, in cvProjectPoints2()
875 CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), k ); in cvProjectPoints2()
876 CV_CALL( cvConvert( distCoeffs, &_k )); in cvProjectPoints2()
948 if( !distCoeffs ) in cvProjectPoints2()
1126 const CvMat* distCoeffs, in cvFindExtrinsicCameraParams2() argument
1181 cvUndistortPoints( _m, _mn, &_A, distCoeffs, 0, &_Ar ); in cvFindExtrinsicCameraParams2()
1297 cvProjectPoints2( _M, &_r, &_t, &_A, distCoeffs, in cvFindExtrinsicCameraParams2()
1447 CvMat* cameraMatrix, CvMat* distCoeffs, in cvCalibrateCamera2() argument
1466 !CV_IS_MAT(npoints) || !CV_IS_MAT(cameraMatrix) || !CV_IS_MAT(distCoeffs) ) in cvCalibrateCamera2()
1508 if( (CV_MAT_TYPE(distCoeffs->type) != CV_32FC1 && in cvCalibrateCamera2()
1509 CV_MAT_TYPE(distCoeffs->type) != CV_64FC1) || in cvCalibrateCamera2()
1510 (distCoeffs->cols != 1 && distCoeffs->rows != 1) || in cvCalibrateCamera2()
1511 (distCoeffs->cols*distCoeffs->rows != 4 && in cvCalibrateCamera2()
1512 distCoeffs->cols*distCoeffs->rows != 5) ) in cvCalibrateCamera2()
1541 …_k = cvMat( distCoeffs->rows, distCoeffs->cols, CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), k… in cvCalibrateCamera2()
1542 if( distCoeffs->rows*distCoeffs->cols*CV_MAT_CN(distCoeffs->type) == 4 ) in cvCalibrateCamera2()
1565 cvConvert( distCoeffs, &_k ); in cvCalibrateCamera2()
1713 cvConvert( &_k, distCoeffs ); in cvCalibrateCamera2()
1888 const CvMat* distCoeffs = k == 0 ? _distCoeffs1 : _distCoeffs2; in cvStereoCalibrate() local
1910 CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, in cvStereoCalibrate()
1911 CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); in cvStereoCalibrate()
1912 cvConvert( distCoeffs, &tdist ); in cvStereoCalibrate()
2229 CvMat* distCoeffs = k == 0 ? _distCoeffs1 : _distCoeffs2; in cvStereoCalibrate() local
2230 CvMat tdist = cvMat( distCoeffs->rows, distCoeffs->cols, in cvStereoCalibrate()
2231 CV_MAKETYPE(CV_64F,CV_MAT_CN(distCoeffs->type)), Dist[k].data.db ); in cvStereoCalibrate()
2232 cvConvert( &tdist, distCoeffs ); in cvStereoCalibrate()