In the systems of reconstruction 3D of structured light or interferometric, the spatial phase unwrapping by traditional methods constitutes a difficult problem to solve. The inherent noise to the surface, low visibility of the fringes patterns or the computational method for fringe pattern analysis can affect the discontinuous phase map, producing errors affect the quality of the demodulation of the fringes pattern. In this work, two methods are implemented: a first method for filtering the discontinuous phase maps based on windowed Fourier transform (WFT) and a second method for phase unwrapping based on a parameter of reliability-guided. The WFT is implemented by mean of a windowed function of Gauss, which controls the extension and quality of the filtrate. On the other hand, the spatial phase unwrapping takes as parameter of reliability-guided the matrix of intensity modulation (MIM). The elements of this MIM are used to identify the direction of phase unwrapping over the filtered phase map. It means that the pixel with higher parameter value in the parameter map will be phase unwrapped earlier. The efficiency of the methods and the influences of the WFT on the phase spatial unwrapping are proved in discontinuous maps, which were obtained by mean of Fourier transform and phase shifting.