A new phase unwrapping algorithm based on partitioning the regions of dense residuals is proposed to unwrap the interferometric phase fast and robustly. In the algorithm, the residuals are obtained at first. Then, an improved residual-pairing method for positive and negative residuals is utilized for setting the branch according to the given rules. Furthermore, the dense residuals regions are divided according to the branches and coherent coefficients. While unwrapping the phase, the regions with high quality are unwrapped at the beginning, then the points in the high noisy regions but not in ...