A Two-Stage Approach for Single Thermal Image Restoration