With a phase grating located at Fourier frequency plane, optical image subtraction is obtained as a result of the coherent superposition of the zeroth and the first order of the diffracted light. Compared with the amplitude grating method, it makes more use of the processing lenses’ aperture. If a suitable phase grating is adopted, image subtraction and addition can be simultaneously realized. The experimental result is given.