A versatile system for in-situ speckle and thermography-based diagnostics of artifacts