Ex situ infrared imaging with active excitation