In Situ Measurements of Local Strain in Heterogeneous Materials