estimateExtrinsics
Description
returns the camera extrinsics, which are 3-D rigid transformation that enables you to
transform points from the world coordinate to the camera coordinate system.camExtrinsics
= estimateExtrinsics(imagePoints
,worldPoints
,intrinsics
)
Examples
Input Arguments
Output Arguments
Tips
This function does not account for lens distortion when
intrinsics
is acameraIntrinsics
object. In this case, you can either undistort the image using theundistortImage
function before detecting the points, or you can undistort the detected points using theundistortPoints
function.
Algorithms
The estimateExtrinsics
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 estimateExtrinsics
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 estimateExtrinsics
function on one of the
calibration images returns rotation matrix and translation vector slightly different from the
ones obtained during calibration.
Extended Capabilities
Version History
Introduced in R2022bSee Also
Apps
Functions
estimateCameraParameters
|triangulate
|undistortPoints
|cameraProjection
|estimateFisheyeParameters
|plotCamera
|img2world2d
|world2img
|extr2pose
|pose2extr