I have extrinsic parameters as like this:
<Ra_roll>0.213877</Ra_roll>
<Ra_pitch>0.003699</Ra_pitch>
<Ra_yaw>0.000555</Ra_yaw>
I want to get a rotation matrix, but I don't know how to calculate a rotation matrix from these roll, pitch, and yaw values.
My final goal is map color in a 2D image to 3D points in world coordinate. So the questions are:
- How to get rotation matrix from the roll, pitch, and yaw values?
- How to get the scale factor between image pixels and 3D points?
Thanks.