Orientation of stereo camera translation vector
Hello,
I have 2 cameras and want to calculate the disparity between them. The position and orientation of the cameras are given in arbitrary world coordinates. For example (10, 20, 5) and (20, 25, 5). To calculate the relative rotation between both cameras is easy, but I can't find out how I have to transform the world coordinates, so that my translation vector is in the coordinate system, which is expected by stereoRectify()
Can someone help me with that?