16
General / Camera Centers not correct in certain projects
« on: March 14, 2017, 05:58:54 PM »
Hi,
I ran a project through the Photoscan Professional and observed the following :
After successful dense point cloud generation, I exported the camera properties and got the standard xml file (attachment).
Each aligned image has a transformation object in the xml file.
1) I constructed a 4x4 matrix from the values (A).
2) Then I took the inverse of the above 4x4 matrix (A^-1).
3) The upper left 3x3 matrix of A^-1 was taken to be the rotation matrix R.
4) In the 4th column, the top 3 values were taken to be the translation column matrix t.
5) Using C = -Rt, I got the camera center C.
6) I plotted the 3D camera centers along with the point cloud and got the following model (attachment).
Can you help me figure out where I am going wrong ? The camera centers seem to be below the 3D structure.
Also attached is the view inside the Agisoft product.
Thanks,
Shwetank
I ran a project through the Photoscan Professional and observed the following :
After successful dense point cloud generation, I exported the camera properties and got the standard xml file (attachment).
Each aligned image has a transformation object in the xml file.
1) I constructed a 4x4 matrix from the values (A).
2) Then I took the inverse of the above 4x4 matrix (A^-1).
3) The upper left 3x3 matrix of A^-1 was taken to be the rotation matrix R.
4) In the 4th column, the top 3 values were taken to be the translation column matrix t.
5) Using C = -Rt, I got the camera center C.
6) I plotted the 3D camera centers along with the point cloud and got the following model (attachment).
Can you help me figure out where I am going wrong ? The camera centers seem to be below the 3D structure.
Also attached is the view inside the Agisoft product.
Thanks,
Shwetank