Forum

Author Topic: Reset camera alignment  (Read 7316 times)

lenamat

  • Newbie
  • *
  • Posts: 10
    • View Profile
Reset camera alignment
« on: February 22, 2016, 02:58:33 PM »
Hello,

Is there a way to achieve the same results as the "reset camera alignment" function available in the GUI interface (when right clicking on an image or a selection of images) ? I can't seem to find any documentation on this functionality neither in the Python API nor in the forum topics...

Thanks!

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 15354
    • View Profile
Re: Reset camera alignment
« Reply #1 on: February 22, 2016, 03:38:26 PM »
Hello lenamat,


Please try the following:
Code: [Select]
camera.transform = None
Best regards,
Alexey Pasumansky,
Agisoft LLC

lenamat

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: Reset camera alignment
« Reply #2 on: February 29, 2016, 05:24:52 PM »
Hi Alexey,

Thanks for your quick reply. I added a step to remove the projections related to the cameras for which I reset alignment. Without this step it seems that aligning the cameras again does not produce proper results (I think the points resulting from the first cameras alignment are still taken into account).

I now get satisfying results, but the processing time seems to be quite long (several minutes) compared to just clicking on "reset alignment" (about one second!). Is there a faster method that I'm missing here ?

Thx!


ppant

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Re: Reset camera alignment
« Reply #3 on: July 18, 2017, 11:36:28 PM »
Thanks.
I will try that. 
Alexy