High resolution and automatic survey of buildings by IR thermography