摘要 |
A phase error compensation method and apparatus. The method comprises: acquiring a stripe sequence diagram via a phase-shifting profilometry measuring system (S101); transforming the stripe sequence diagram from a spatial domain into a Hilbert transform domain based on Hilbert transform (S102); respectively solving phases for the stripe sequence diagrams of the spatial domain and the Hilbert transform domain based on a least square phase-shifting method, and obtaining a spatial domain phase diagram and a Hilbert transform domain phase diagram (S103); and averaging the spatial domain phase diagram and the Hilbert transform domain phase diagram, obtaining an average phase, and performing phase error compensation by utilizing the average phase (S104). The present invention has a self-compensation mechanism, does not need additional supplementary conditions, and satisfies high-speed, high-precision and high-universality three-dimensional digital imaging and measuring requirements based on phase-shifting profilometry. |