The invention relates to the technical field of transparent
surface measurement, and discloses a method for measuring the
surface shape of a transparent part, comprising the following steps: obtaining a reflection image of the upper surface of the transparent part at multiple points and
processing to obtain the
centroid coordinates of the luminous points; extracting the
centroid coordinates of the luminous points on the upper surface of the transparent part according to an
extraction algorithm, and calculating the intersection of an outgoing light
ray and the transparent part according to the
centroid coordinates; calculating the outgoing light
ray and the intersection of the outgoing light
ray and the transparent part according to the centroid coordinates of the luminous points on the upper surface; calculating the direction of the incident light ray, and obtaining the normal vector of a reflective surface to be measured according to the incident relationship and the outgoing light ray; the method uses a camera to
shoot a luminous image of the surface of the transparent part to obtain reflection images of multiple luminous points, and removes interference from the reflection points on the lower surface, and is very sensitive to the
surface shape of the transparent part; then, based on the law of reflection, a normal vector of the luminous point is calculated, and the
surface shape of the transparent part is constructed through multiple iterations according to the normal vector calculation, and the surface shape
recovery is good and the measurement accuracy is high.