Forum

Author Topic: Obtain camera transform matrix without previous alignment  (Read 4883 times)

TonioLav

  • Newbie
  • *
  • Posts: 4
    • View Profile
Obtain camera transform matrix without previous alignment
« on: September 21, 2017, 01:47:39 PM »
Hello everyone,

i'm engaged on a project that consists of capturing a view from a model, previously reconstructed with a set of drone's acquisitions, and comparing it with an image of the real structure, which the model represents, obtained afterwards, in a second moment, with a mobile or a tablet. Obviously the image rendered from model has to be taken from the same viewpoint of the image captured later and the problem is exactly this: how can i obtain this viewpoint?

I know that for rendering an image from a model transform matrix and calibration data are needed.
In my case i have calibration data from the EXIF of the image but i can't calculate transform matrix because, when i try to align the image captured later together with the set of drone's acquisistions, PhotoScan can't align it.

Is there another way to obtain camera transform matrix? and so position and rotation info?

PS: sorry for my bad English..  :-[
« Last Edit: September 21, 2017, 05:08:18 PM by TonioLav »

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15382
    • View Profile
Re: Obtain camera transform matrix without previous alignment
« Reply #1 on: September 21, 2017, 05:22:46 PM »
Hello TonioLav,

Maybe you can find useful the following script that orients the cameras according to the source reference information:
http://wiki.agisoft.com/wiki/Quick_layout.py
Best regards,
Alexey Pasumansky,
Agisoft LLC

TonioLav

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Obtain camera transform matrix without previous alignment
« Reply #2 on: September 21, 2017, 08:32:34 PM »
Hello TonioLav,

Maybe you can find useful the following script that orients the cameras according to the source reference information:
http://wiki.agisoft.com/wiki/Quick_layout.py
Hi Alexey,

thank you for your suggestion.
Could you explain me what the estimate_rotation_matrices function does? mathematically talking.