AbstractThis paper presents a fast and reliable approach for phase modulo 2π-calculation from a single fringe pattern. It calculates correct phase values even for very complex and variable shape gradients based on a locally variable fringe period determined for the entire image. In the paper, a new two-step method for wrapped phase calculation is proposed. It is performed through the use of a method based on a multiple local fast Fourier transform for estimation of a local fringes period map and a 5-point spatial carrier phase shifting (SCPS) formula for phase modulo 2π-calculation. The described approach is verified by a correct demodulation of a real fringe pattern taken by a 3D-shape measurement system.