Optical Differentiation of Quasi-periodic Patterns Using Talbot Interferometry