The mode shape of bending waves in thin silicon and silicon carbide membranes is measured as a function of space and time, using a phase shift interferometer with stroboscopic light. The mode shapes hold information about all the relevant mechanical parameters of the samples, including the spatial distribution of static prestress. We present a simple algorithm to obtain a map of the lateral tensor components of the prestress, with a spatial resolution much better than the wavelength of the bending waves. The method is not limited to measuring the stress of bending waves. It is applicable in almost any situation, where the fields determining the state of the system can be measured as a function of space and time.