The invention discloses a reliability based weighted least square
phase unwrapping calculation method. Industrial camera equipment shoots and collects a speckle interferogram of an object to be detected, and the speckle interferogram is processed to obtain a 2D phase wrapping image including 3D information of the object to be detected; second-order differential calculation of a wrapping phase value is used to obtain the reliability of each point in the wrapping image; and a reliability threshold is calculated and determined, a binary
mask layer factor is calculated and obtained and serves as aweighted least square
phase unwrapping weight, iterative calculation is carried out, and a final real phase is obtained. The method has the advantages that a weighted least square calculation methodprovides a smooth solution, and calculation is high in speed and precision,
noise spreading is inhibited effectively, a smooth effect is eliminated, and the like.