Fringe patterns produced by various optical interferometric techniques encode information such as shape, deformation, and refractive index. Denoising and demodulation are two important procedures to retrieve information from a single closed fringe pattern. Various existing denoising and demodulation techniques require fringe direction/orientation during the processing. Fringe orientation is often easier to obtain but fringe direction is needed in some demodulation techniques. A quality-guided orientation unwrapping scheme is proposed to estimate direction from orientation. Two techniques, one based on windowed Fourier ridges and the other based on fringe gradient, are proposed for the quality-guided orientation unwrapping scheme. The direction qualities are compared for both simulated and experimental fringe patterns. Their application to demodulation technique is also given.