problem with parameter of stereoRectify function

asked 2016-03-22 09:18:55 -0600

torsten gravatar image

Hello,

I want to use the stereoRectify function, which has a left and a right images, a rotation matrix R and a translation vector T as input (amongst others). R and T describe the relative orientation of the right image with respect to the right image.

My problem is that I have two images with external orientation parameters R1,T1 and R2,T2, which I want to transform to R and T. Well for T this seems easy: T2 - T1. But for R I'm not sure. Maybe transpose(R1)*R2 is the correct approach?

Can anybody point me to a solution? I guess this should be a fairly well known problem.

Torsten

edit retag flag offensive close merge delete

Comments

You can look here for a similar problem: How to derive relative R and T from camera extrinsics.

Eduardo gravatar imageEduardo ( 2016-03-22 11:19:30 -0600 )edit