Forum

Author Topic: xml (Export Cameras)  (Read 2165 times)

uop360

  • Newbie
  • *
  • Posts: 18
    • View Profile
xml (Export Cameras)
« 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
« Last Edit: April 24, 2016, 03:17:46 PM by uop360 »

uop360

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: xml (Export Cameras)
« Reply #1 on: April 24, 2016, 03:18:43 PM »
Can anyone help?

Veras

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: xml (Export Cameras)
« Reply #2 on: October 18, 2021, 01:08:49 AM »
Hi,

I would like to know the difference too

Paulo

  • Hero Member
  • *****
  • Posts: 1036
    • View Profile
Re: xml (Export Cameras)
« Reply #3 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,
« Last Edit: October 18, 2021, 05:19:06 AM by Paulo »
Best Regards,

Paul Pelletier,
Surveyor