Start » Filter Reference » OpenCV » Camera Calibration And 3D Reconstruction » cvSolvePnPRefineVVS
Module: | OpenCV |
---|
Refine a pose (the translation and the rotation that transform a 3D point expressed in the object coordinate frame to the camera coordinate frame) from a 3D-2D point correspondences and starting from an initial solution.
Name | Type | Description | |
---|---|---|---|
inObjectPoints | Point3DArrayArray | ||
inImagePoints | Point2DArrayArray | ||
inCameraMatrix | Matrix | Optional initial camera matrix, required for inFixPrincipalPoint and inFixAspectRatio. | |
inDistCoeffs | Matrix | Coefficients of distortion | |
inMaxCount | Integer* | ||
inMaxEps | Real* | ||
inVVSlambda | Double* | Gain for the virtual visual servoing control law, equivalent to the alpha gain in the Damped Gauss-Newton formulation. | |
outRVecs | Vector3DArray | Array with values of rotations for each points set | |
outTVecs | Vector3DArray | Array with values of translations for each points set |
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Inconsistent sizes of inImagePoints and inObjectPoints in cvSolvePnPRefineVVS. |
DomainError | Missing inImagePoints or inObjectPoints in cvSolvePnPRefineVVS. |
Complexity Level
This filter is available on Basic Complexity Level.