Photogrammetric 3D building reconstruction from thermal images