Raman-based imaging and thermal characterization in near-field laser heating