Text this: A line photogrammetry algorithm for 3D rectilinear object reconstruction