Forum

Author Topic: Disable Photos below Certain Altitude  (Read 138 times)

Dragline

  • Newbie
  • *
  • Posts: 23
    • View Profile
Disable Photos below Certain Altitude
« on: January 28, 2019, 10:09:48 PM »
I have found that included several lower altitude oblique photos during the initial alignment increases the alignment accuracy. However, during the dense cloud reconstruction, these photos seem to significantly increase the amount of noise. Is it possible to create a script which disables photos below a certain altitude or a certain amount below the mean altitude of the loaded photos?

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 9917
    • View Profile
Re: Disable Photos below Certain Altitude
« Reply #1 on: January 28, 2019, 10:16:25 PM »
Hello Dragline,

You can use the following script code to get the estimated coordinates for the cameras in the chunk:
https://agisoft.freshdesk.com/support/solutions/articles/31000145016-how-to-calculate-estimated-exterior-orientation-parameters-for-the-cameras-using-python
Then check third component of the vector and if this value (altitude) is below certain threshold, then disable the camera:
camera.enabled = False
Best regards,
Alexey Pasumansky,
AgiSoft LLC