The invention relates to a polarization
dislocation code fused phase shift coding method and
system, and the method comprises the steps: obtaining calibration parameters of a camera and a
projector, fusing a phase shift stripe pattern with a
dislocation Gray code stripe pattern through the polarization characteristics of the
projector, and obtaining a polarization
dislocation fused phase shift stripe pattern; obtaining a deformed polarization dislocation fusion phase-shift stripe pattern after the
projector projects the polarization dislocation fusion phase-shift stripe pattern to the surface of an object to be measured, extracting a phase-shift stripe pattern and a dislocation
Gray code stripe pattern from the deformed polarization dislocation fusion phase-shift stripe pattern, and calculating a wrapped phase by using the extracted phase-shift stripe pattern, carrying out threshold
processing on the staggered
Gray code stripe pattern to obtain a binary Gray code pattern; and performing
phase unwrapping on the wrapped phase through the binarization Gray code pattern, and performing three-dimensional reconstruction on the to-be-measured object through calibration parameters of the camera and the projector according to the unwrapped phase. According to the method disclosed by the invention, measurement errors caused by an underexposure or overexposure phenomenon are inhibited, and the
measurement precision and the three-dimensional reconstruction efficiency are improved.