Phase unwrapping is the decisive factor for achieving dimensional accuracy in phase-shifting profilometry, yet unavoidable phase jumps occur at discontinuities. Existing dual-frequency heterodyne techniques suffer from a narrow measurement range and overly coarse projected fringes due to grating superposition requirements, leading to large errors when scanning objects with hole-like features. To address these issues, this paper proposes an edge-oriented phase-unwrapping error-compensation method based on fringe projection phase profilometry. First, the wrapped phase of the measured object is acquired via phase-shifting profiling. The wrapped phase map is then smoothed at multiple scales using Gaussian filters, and parallel Canny edge detection combined with phase gradient thresholding is applied to comprehensively capture both coarse and fine discontinuities. Morphological closing fills in breakpoints, followed by skeleton thinning and connectivity reconstruction to generate an edge band of defined width. Within this band, edge-preserving smoothing is performed using guided filtering or bilateral filtering, and the result is fused with the original phase through Gaussian weighting based on the distance to the skeleton. Finally, an ordered multi-frequency heterodyne unwrapping restores the absolute phase, maximally preserving true discontinuities while effectively correcting noise and detection errors. Experiments show that this method overcomes edge-induced phase jumps—with jump-error correction rates exceeding 96.7%—exhibits strong noise resilience under various conditions, and achieves measurement precision better than 0.06 mm.
Yu et al. (Fri,) studied this question.