The present invention relates to a method for accurately measuring the
surface contour of a cabin section based on line
laser. The steps are as follows: first, the equipment needs to be pre-processed before measurement, including the creation of a base coordinate
system, global calibration, camera calibration, and calibration of the
laser light plane; then the cabin section is dynamically measured, and during the measurement process, all light planes do not need to be adjusted in one plane.
Image processing algorithms such as
image enhancement,
grayscale centroid method, and flood filling method are used to obtain the final center point of the light strip, and the three-dimensional
point cloud of the light strip in the base coordinate
system is obtained by using the principle of
laser triangulation. The three-dimensional
point cloud is "
cut" along the Z-axis direction of the base coordinate
system to obtain the cross-sectional
point cloud data of any contour of the cabin section, and the cross-sectional point
cloud data is processed to obtain a series of parameters such as the cabin section coaxiality. The method of the present invention overcomes the interference of factors such as reflection of ambient light and laser
ghosting light, is simple to operate, has high measurement accuracy, and can realize rapid measurement and analysis of cabin sections.