Thermal imaging of the surface of Mars