How do I interprete Camera extrinsic parameters?

As per this link, the extrinsic parameters consist of a rotation, R, and a translation, t. The origin of the camera’s coordinate system is at its optical center and its x- and y-axis define the image plane.
However when I tried this example. The Z value of translation matrix 't' and Z value of 'cameraLocation' don't match.
Are they not the same? If not how do we define cameraLocation?

Answers (1)

Matt J
Matt J on 28 Nov 2022
Edited: Matt J on 28 Nov 2022
cameraLocation = -camExtrinsics.Translation/camExtrinsics.R;
or in other words if , the optical center is at .

Categories

Find more on Image Processing and Computer Vision in Help Center and File Exchange

Products

Release

R2022a

Asked:

on 11 Nov 2022

Edited:

on 28 Nov 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!