Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

problem with parameter of stereoRectify function

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