PyTrx v1.2.3
PyTrx v1.2.3 is a sub-release to include low-coverage unit testing in PyTrx's module. This unit testing has been added to PyTrx's Area, CamEnv, DEM, Line and Velocity modules. These can be tested by running the module scripts themselves, or calling the uni tests from the command line:
python -m unittest PyTrx.Area PyTrx.CamEnv PyTrx.DEM PyTrx.Line PyTrx.Velocity
This PyTrx release continues on from the work that directly contributed to the publication of the PyTrx toolset in the following Frontiers in Earth Science paper:
How et al. (2020) PyTrx: a Python-based monoscopic terrestrial photogrammetry toolset for glaciology. Frontiers in Earth Science, doi:10.3389/feart.2020.00021
Major changes since PyTrx v1.1
- Unit tests, as described above
- Compatibility with .CR2 raw images
PyTrx.Area.defineColourrange
bug resolved- Viewshed is now a flag variable in
PyTrx.CamEnv.setProjection
, whereby the user can either only reproject points that are within the viewshed, or disregard them (which is useful when a DEM does not match the timeframe of the image acquisition) - OpenCV version checking implemented, specifically when using
cv2.findContours