Agisoft Metashape

Agisoft Metashape => General => Topic started by: uop360 on April 17, 2016, 11:23:05 PM

Title: xml (Export Cameras)
Post by: uop360 on April 17, 2016, 11:23:05 PM
Hello,

What is the difference between transformation matrix (3x3 taken from 4x4 in agisoft XML file) and (3x3) r11...r33 available in Omega Phi Kappa camera export?
Do they relate to the same coordinate system?

Karol
Title: Re: xml (Export Cameras)
Post by: uop360 on April 24, 2016, 03:18:43 PM
Can anyone help?
Title: Re: xml (Export Cameras)
Post by: Veras on October 18, 2021, 01:08:49 AM
Hi,

I would like to know the difference too
Title: Re: xml (Export Cameras)
Post by: Paulo on October 18, 2021, 05:16:57 AM
Hello Veras,

the camera transform rotation matrix rotates from the Agisoft camera coordinate system (CS) to the internal project CS.

To get the omega,phi,kappa matrix, you have to apply the chunk.transform rotation + chunk.crs.localframe(camera.center in geoccs) rotation plus invert y and z axes... for more details on how to calculate exterior orientation refer to https://agisoft.freshdesk.com/support/solutions/articles/31000145016-how-to-calculate-estimated-exterior-orientation-parameters-for-the-cameras-using-python

Hope this can help,