Text this: Theory of stereophotogrammetry