Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/franioli/collimate_points
Functions for collimating points on images (or set of images) and giving sub-pixel accurate image coordinates
https://github.com/franioli/collimate_points
Last synced: 17 days ago
JSON representation
Functions for collimating points on images (or set of images) and giving sub-pixel accurate image coordinates
- Host: GitHub
- URL: https://github.com/franioli/collimate_points
- Owner: franioli
- License: mit
- Created: 2022-09-07T08:45:05.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-17T12:37:53.000Z (almost 2 years ago)
- Last Synced: 2023-03-10T11:32:08.638Z (over 1 year ago)
- Language: Python
- Size: 43 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# collimate_points
Functions for collimating points on images (or set of images) and giving sub-pixel accurate image coordinates
## Setup
Python: You need Python 3.8. We recommend the Anaconda distribution because it includes all the required libraries. When installing, if asked whether the installer should initialize Anaconda3, say "yes". Anaconda must be initialized upon install such that python can be called from the command line. A way to check is to simply enter python at your command prompt and see if the resulting header info includes Anaconda and Python 3. If it doesn't, you may still need to initialize your Conda install.
Metashape: You must install the Metashape Python 3 module (Metashape version 1.8). Download the [current .whl file](https://www.agisoft.com/downloads/installer/) and install it following [these instructions](https://agisoft.freshdesk.com/support/solutions/articles/31000148930-how-to-install-metashape-stand-alone-python-module) (using the name of the .whl file that you downloaded).
## License
Metashape license: You need a license (and associated license file) for Metashape. The easiest way to get the license file (assuming you own a license) is by installing the Metashape Professional Edition GUI software (distinct from the Python module) and registering it following the prompts in the software (note you need to purchase a license first). Once you have a license file (whether a node-locked or floating license), you need to set the agisoft_LICENSE environment variable (search onilne for instructions for your OS; look for how to permanently set it) to the path to the folder containing the license file (metashape.lic).
### Setup agisoft_LICENSE environment variable for floating license
Set permanently:
```bash
sudo nano ~/.bashrc
```add the line
```bash
export agisoft_LICENSE="port"@"address"
```(replace port and address with your values)
```bash
source ~/.bashrc
```check if the new environment is present:
```bash
printenv | grep agisoft
```