3D Thermal Imaging System with Decoupled Acquisition for Industrial and Cultural Heritage Applications