The invention provides a line-
structured light measurement method for the
assembly depth of the primer of the bullet, including a measurement model for the
assembly depth of the primer of the bullet, a calibration method, and a method for extracting the center of the
laser speckle light bar. In the measurement model, under the camera coordinate
system, two calibration blocks are introduced for the calibration of
structured light parameters, and straight
line fitting is performed on multiple special points on the calibration blocks. In the camera coordinate
system, calculate the intersection point of the line and the
laser curve. According to the principle of cross-ratio invariance, the
laser plane calculation formula is obtained, and the calibration process of
structured light parameters is completed. Through the new
mathematical model, the world coordinate value corresponding to two points on any
laser line on the image can be calculated, and the real-time calibration and measurement method can be used to realize the real-time measurement requirements of the
assembly depth measurement of the bullet primer and reduce the cumulative error. The
image enhancement operation is performed on the speckle part of the image according to the high-frequency
gain coefficient, which solves the problem of decreased accuracy and stability of the measurement accuracy and stability of the primer fire depth caused by the laser stripe speckle.