extrinsics
(Not recommended) Compute location of calibrated camera
extrinsics
is not recommended. Use the estimateExtrinsics
function instead. For more information, see Version History.
Description
[
returns the 3-D rotation matrix and the 3-D translation vector to allow you to
transform points from the world coordinate to the camera coordinate system.rotationMatrix
,translationVector
]
= extrinsics(imagePoints
,worldPoints
,cameraParams
)
Examples
Input Arguments
Output Arguments
Algorithms
The extrinsics
function uses two different algorithms to compute
the extrinsics depending on whether worldPoints
are specified as an
M-by-2 matrix. Use an M-by-2 matrix for
coplanar points where z= 0.
The extrinsics
function computes the rotation matrix and
translation vector for a single image in closed form. During calibration, the extrinsics
are estimated numerically to minimize the reprojection errors for all calibration
images. Therefore, using the extrinsics
function on one of the
calibration images returns rotation matrix and translation vector slightly different
from the ones obtained during calibration.