Image based method for indirect strain measurement in non homogeneous materials