A new method to reconstruct the phase of bidimensional interferograms, obtained through pupil-plane interferometry is presented. We compute the average complex phasor components of the cross-spectrum on a data set to reconstruct the original unperturbed phase. We present preliminary results on simulated images which visibility phases are distorted using a model of atmospheric perturbed wavefronts.