A mathematical description for considering a speckle gram as superposition of random gratings is proposed, wholefield speckle analysis by moire theory is treated, and a fringe formula which conforms to physical process is obtained. The relation between fringe visibility tested piece deformation and filtering aperture as well as the properties of secondary speckle are discussed.