Ask Your Question
1

Extrinsics matrix after cv::StereoCalibrate

asked Aug 1 '12

BobR gravatar image

Hi all,

I have two cameras (2 kinects specifically) and I am using cv::StereoCalibrate to compute the position and orientation of Kinect2 relative to Kinect1. The function returns (among others), the rotation matrix R and the translation vector T.

Is the final transformation matrix given by E = [R | T] (meaning, I just use the rotation and the translation as is to compose the matrix -and then transform it to homogeneous 4x4-) or I should do something else? (Like E = [R | -R^(-1)*T] which I saw somewhere).

What I want to do is multiply the Kinect2 point cloud with this matrix to register the two point clouds.

Thanks so much

Preview: (hide)

1 answer

Sort by » oldest newest most voted
1

answered Nov 27 '12

Simone gravatar image

If you are using StereoCalibrate with Kinect1 as Camera1 and Kinect2 as Camera2 then the transformation between the two cameras is [R|t], meaning that if you have 3D points Q in the reference system of the first camera, then Q'=[R|r]*Q are the same points expressed in the reference system of the second camera.

Preview: (hide)

Question Tools

Stats

Asked: Aug 1 '12

Seen: 1,010 times

Last updated: Nov 27 '12