This is a simple python script which transforms a file with camera calibration parameters (intrinsic, rotation and position) into a Meshlab scene an the other way around.
Parameters:
- 3D mesh file name
- File with calibration parameteres as in the sample file provided
- File with the list of images names used for texturing
- Name of the output Meshlab scene file
Parameters:
- Meshlab scene input file
- Output camera calibration file
- Output image list
The calibration file presents the following format:
- first line is just the number of cameras in the scene
- Every other line includes the calibration parameters of each camera following:
[ Intrinsic parameters (row1 row2 row3) ] [ Rotation matrix (row1 row2 row3) ] [ Camera position ] [ Image dimensions ]