The invention discloses a shaft part radial total run-out error measurement method based on
image processing. The method comprises the following steps: S1, acquiring an image of a measured part; s2, establishing an
initial point cloud
image based on a three-dimensional coordinate
system O1 according to the image of the measured part; s3, in the
initial point cloud image, determining the axis of the image by using a
fitting algorithm; s4, establishing a new three-dimensional coordinate
system Oe by taking the axis as a coordinate axis; s5, establishing a conversion matrix T between the three-dimensional coordinate
system O1 and the three-dimensional coordinate system Oe, and converting the
point cloud image data based on the three-dimensional coordinate system Oe into the
point cloud image data in the three-dimensional coordinate system O1 through the conversion matrix T; and S6, calculating the distance from the midpoint of the
point cloud to the Z axis, and obtaining an error value by using an error judgment method. According to the error measurement method, the problems of unreasonable reference establishment and inaccurate
data acquisition in the prior art are solved.