The determination of the time-dependent intensity at a specularly and diffusely reflecting surface