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,
|
float reprojectionError = 8.0,
|
||||||
int minInliersCount = 100,
|
int minInliersCount = 100,
|
||||||
OutputArray inliers = noArray(),
|
OutputArray inliers = noArray(),
|
||||||
int flags = ITERATIVE);
|
int flags = ITERATIVE,
|
||||||
|
int rng_seed = 0);
|
||||||
//! 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);
|
|
||||||
|
|
||||||
//! initializes camera matrix from a few 3D points and the corresponding projections.
|
//! initializes camera matrix from a few 3D points and the corresponding projections.
|
||||||
CV_EXPORTS_W Mat initCameraMatrix2D( InputArrayOfArrays objectPoints,
|
CV_EXPORTS_W Mat initCameraMatrix2D( InputArrayOfArrays objectPoints,
|
||||||
|
@ -376,14 +376,3 @@ void cv::solvePnPRansac(InputArray _opoints, InputArray _ipoints,
|
|||||||
}
|
}
|
||||||
return;
|
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