Now using default arg instead of overloads
This commit is contained in:
parent
964d5a20e9
commit
1292fdf71a
@ -488,22 +488,8 @@ CV_EXPORTS_W void solvePnPRansac( InputArray objectPoints,
|
||||
float reprojectionError = 8.0,
|
||||
int minInliersCount = 100,
|
||||
OutputArray inliers = noArray(),
|
||||
int flags = ITERATIVE);
|
||||
|
||||
//! computes the camera pose from a few 3D points and the corresponding projections. The outliers are possible.
|
||||
CV_EXPORTS_W void solvePnPRansac( InputArray objectPoints,
|
||||
InputArray imagePoints,
|
||||
InputArray cameraMatrix,
|
||||
InputArray distCoeffs,
|
||||
OutputArray rvec,
|
||||
OutputArray tvec,
|
||||
bool useExtrinsicGuess,
|
||||
int iterationsCount,
|
||||
float reprojectionError,
|
||||
int minInliersCount,
|
||||
OutputArray inliers,
|
||||
int flags,
|
||||
int rng_seed);
|
||||
int flags = ITERATIVE,
|
||||
int rng_seed = 0);
|
||||
|
||||
//! initializes camera matrix from a few 3D points and the corresponding projections.
|
||||
CV_EXPORTS_W Mat initCameraMatrix2D( InputArrayOfArrays objectPoints,
|
||||
|
@ -376,14 +376,3 @@ void cv::solvePnPRansac(InputArray _opoints, InputArray _ipoints,
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
void cv::solvePnPRansac(InputArray _opoints, InputArray _ipoints,
|
||||
InputArray _cameraMatrix, InputArray _distCoeffs,
|
||||
OutputArray _rvec, OutputArray _tvec, bool useExtrinsicGuess,
|
||||
int iterationsCount, float reprojectionError, int minInliersCount,
|
||||
OutputArray _inliers, int flags)
|
||||
{
|
||||
solvePnPRansac(_opoints, _ipoints, _cameraMatrix, _distCoeffs,
|
||||
_rvec, _tvec, useExtrinsicGuess, iterationsCount,
|
||||
reprojectionError, minInliersCount, _inliers, flags, 0);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user