Thermal imaging of the pulp during residual adhesive removal