Compute location of calibrated camera
[
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
)
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.
Camera Calibrator | cameraIntrinsics
| cameraMatrix
| cameraParameters
| cameraPoseToExtrinsics
| estimateCameraParameters
| estimateFisheyeParameters
| extrinsicsToCameraPose
| fisheyeIntrinsics
| plotCamera
| pointsToWorld
| worldToImage