Height estimation in photogrammetry