Photogrammetry algorithms and pipelines