Home
last modified time | relevance | path

Searched refs:_distCoeffs (Results 1 – 6 of 6) sorted by relevance

/external/opencv3/modules/imgproc/src/
Dundistort.cpp62 void cv::initUndistortRectifyMap( InputArray _cameraMatrix, InputArray _distCoeffs, in initUndistortRectifyMap() argument
66 Mat cameraMatrix = _cameraMatrix.getMat(), distCoeffs = _distCoeffs.getMat(); in initUndistortRectifyMap()
171 InputArray _distCoeffs, InputArray _newCameraMatrix ) in undistort() argument
174 Mat distCoeffs = _distCoeffs.getMat(), newCameraMatrix = _newCameraMatrix.getMat(); in undistort()
266 const CvMat* _distCoeffs, in cvUndistortPoints() argument
292 if( _distCoeffs ) in cvUndistortPoints()
294 CV_Assert( CV_IS_MAT(_distCoeffs) && in cvUndistortPoints()
295 (_distCoeffs->rows == 1 || _distCoeffs->cols == 1) && in cvUndistortPoints()
296 (_distCoeffs->rows*_distCoeffs->cols == 4 || in cvUndistortPoints()
297 _distCoeffs->rows*_distCoeffs->cols == 5 || in cvUndistortPoints()
[all …]
/external/opencv/cv/src/
Dcvundistort.cpp372 const CvMat* _distCoeffs, in cvUndistortPoints() argument
397 CV_ASSERT( CV_IS_MAT(_cameraMatrix) && CV_IS_MAT(_distCoeffs) && 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()
403 CV_MAKETYPE(CV_64F,CV_MAT_CN(_distCoeffs->type)), k); in cvUndistortPoints()
405 cvConvert( _distCoeffs, &_Dk ); in cvUndistortPoints()
/external/opencv3/modules/calib3d/src/
Dsolvepnp.cpp56 InputArray _cameraMatrix, InputArray _distCoeffs, in solvePnP() argument
85 Mat distCoeffs0 = _distCoeffs.getMat(); in solvePnP()
155 …PnPRansacCallback(Mat _cameraMatrix=Mat(3,3,CV_64F), Mat _distCoeffs=Mat(4,1,CV_64F), int _flags=S… in PnPRansacCallback() argument
157 …: cameraMatrix(_cameraMatrix), distCoeffs(_distCoeffs), flags(_flags), useExtrinsicGuess(_useExtri… in PnPRansacCallback()
212 InputArray _cameraMatrix, InputArray _distCoeffs, in solvePnPRansac() argument
244 Mat cameraMatrix = _cameraMatrix.getMat(), distCoeffs = _distCoeffs.getMat(); in solvePnPRansac()
Dcalibration.cpp3157 InputArray _distCoeffs, in projectPoints() argument
3180 Mat distCoeffs = _distCoeffs.getMat(); in projectPoints()
3217 … Size imageSize, InputOutputArray _cameraMatrix, InputOutputArray _distCoeffs, in calibrateCamera() argument
3223 Mat distCoeffs = _distCoeffs.getMat(); in calibrateCamera()
3265 distCoeffs.copyTo(_distCoeffs); in calibrateCamera()
3397 InputArray _distCoeffs, in getOptimalNewCameraMatrix() argument
3401 Mat cameraMatrix = _cameraMatrix.getMat(), distCoeffs = _distCoeffs.getMat(); in getOptimalNewCameraMatrix()
/external/opencv3/modules/calib3d/test/
Dtest_undistort.cpp172 const CvMat* _distCoeffs, const CvMat* matR, const CvMat* matP);
489 const CvMat* _distCoeffs, in distortPoints() argument
537 if (_distCoeffs) in distortPoints()
541 __x = _x*(1+_distCoeffs->data.db[0]*r2+_distCoeffs->data.db[1]*r2*r2)+ in distortPoints()
542 2*_distCoeffs->data.db[2]*_x*_y+_distCoeffs->data.db[3]*(r2+2*_x*_x); in distortPoints()
543 __y = _y*(1+_distCoeffs->data.db[0]*r2+_distCoeffs->data.db[1]*r2*r2)+ in distortPoints()
544 2*_distCoeffs->data.db[3]*_x*_y+_distCoeffs->data.db[2]*(r2+2*_y*_y); in distortPoints()
545 if ((_distCoeffs->cols > 4) || (_distCoeffs->rows > 4)) in distortPoints()
547 __x+=_x*_distCoeffs->data.db[4]*r2*r2*r2; in distortPoints()
548 __y+=_y*_distCoeffs->data.db[4]*r2*r2*r2; in distortPoints()
Dtest_cameracalibration.cpp698 CvMat _distCoeffs = cvMat(4, 1, CV_64F, distortionCoeffs); in calibrate() local
703 &_cameraMatrix, &_distCoeffs, &_rotationMatrices, &_translationVectors, in calibrate()
714 CvMat _distCoeffs = cvMat(4, 1, CV_64F, distortion); in project() local
718 …_objectPoints, &_rotationMatrix, &_translationVector, &_cameraMatrix, &_distCoeffs, &_imagePoints); in project()
1236 CvMat _rvec = rvec, _tvec = tvec, _cameraMatrix = cameraMatrix, _distCoeffs = distCoeffs; in project() local
1239 cvProjectPoints2( &_objectPoints, &_rvec, &_tvec, &_cameraMatrix, &_distCoeffs, in project()