first version of ePnP code

This commit is contained in:
Alexander Shishkov
2011-12-20 11:33:12 +00:00
parent 4168a698f6
commit c5d8ec4ac0
3 changed files with 820 additions and 1 deletions

View File

@@ -393,7 +393,6 @@ CVAPI(void) cvReprojectImageTo3D( const CvArr* disparityImage,
}
//////////////////////////////////////////////////////////////////////////////////////////
class CV_EXPORTS CvLevMarq
{
public:
@@ -432,6 +431,9 @@ public:
namespace cv
{
CV_EXPORTS_W double ePnP( InputArray _opoints, InputArray _ipoints,
InputArray _cameraMatrix, InputArray _distCoeffs,
OutputArray _rvec, OutputArray _tvec);
//! converts rotation vector to rotation matrix or vice versa using Rodrigues transformation
CV_EXPORTS_W void Rodrigues(InputArray src, OutputArray dst, OutputArray jacobian=noArray());