Algebraic Phase Unwrapping over Collection of Triangles and Its Application