{'fraction_non_alphanumeric': 0.025165562913907286, 'fraction_numerical': 0.0, 'mean_word_length': 5.461538461538462, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Branch-cut algorithm for optical phase unwrapping.

In this Letter, a proposal addressing the problem of two-dimensional phase unwrapping based on the theory of residues is presented. Here, wrapped phase maps with shifted phase jumps are used to balance residue charges. With this approach, we seek to minimize processing time and residue connection, which is essential in the development of branch-cut algorithms. Finally, a phase-unwrapping algorithm is applied to these wrapped maps, generated by Fourier transform profilometry to obtain three-dimensional profiles of objects illuminated by photorefractive moiré-like patterns generated in an experiment of real-time dynamic holography, and by fringe patterns generated with a Michelson interferometer.