This paper deals with a new method for processing of lateral shear interferograms. An optimal reference sphere is introduced in the fitting process so that the testing result becomes more reliable and rational. In this way, the shear interferogram of a mirror is processed with results conforming with the actual situation.