How to get rotation and translation matrices for each image

Hy everybody

I am now working on a project to build a 3D point cloud from images using ContexCapture. And I need to know the projection relationship between each image and the 3D model. So, does anyone know how to find the translation and rotation matrices?

Thank's in advance

Joey