A collection of Python scripts for Agisoft Metashape that analyze camera-surface relationships or generate masked imagery.
- Calculates the distance between the camera center and the surface point projected from image center
- Calculates the angle between camera optical axis and the estimated surface.
- It projects 4 quadrant points of a circle centered on the image center. The radius of the circle can be modified.
- Two different angle values are estimated, one for vertical and other for horizontal.
- Work in progress: These two angles can be combined to measure the angle between surface normal and optical axis
- Combines camera images with their corresponding masks. It converts masked region to black.
- Saves masked images to new directory
- Projects the selected point on the image to the selected surface.
- It is script version of "Add Marker" command.
- Tested on Agisoft Metashape version 2.1
- Clone repository or download scripts
- Download required libraries following the website: https://agisoft.freshdesk.com/support/solutions/articles/31000136860-how-to-install-external-python-module-to-photoscan-professional-pacakge
- Execute the scripts with "run script" command