Two phase extraction methods which are based separately on phase-stepping and shifting curve are mainly used in phase-sensitive imaging in gating interferometry to determine the x-ray phase shift induced by an object in the beam. In this paper, the authors perform a full comparative analysis and present the main virtues and limitations of these two methods according to the theoretical analysis of the grating interferometry.