Drill bit three-dimensional reconstruction and measurement method based on multiple exposure

Through the multi-exposure image fusion and multi-view calibration method of the turntable calibration plate, the problem of reduced measurement accuracy caused by uneven reflectivity on the drill bit surface is solved, and the accurate reconstruction of the drill bit's three-dimensional data and the accurate measurement of parameters are achieved.

CN118799504AActive Publication Date: 2024-10-18WUXI HUASHI HENGHUI PRECISION EQUIP TECH CO LTD

Patent Information

Application Number
CN202411284211.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2024-10-18
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

When the active stereo vision system measures drill bits, due to the smooth surface of the drill bit and uneven reflectivity, overexposure and overdark areas appear, resulting in reduced measurement accuracy.

Method used

The multiple exposure method is used to collect sinusoidal stripe images with different exposures, and the fused image that meets the preset noise conditions is generated through image fusion, and the multi-view calibration method of the turntable and calibration plate is combined to perform coarse and fine registration of point clouds. , and finally measure the parameters of the drill bit on the three-dimensional model.

Benefits of technology

It achieves accurate reconstruction of drill bit three-dimensional data and precise measurement of parameters, overcomes measurement difficulties caused by uneven surface reflectivity, and improves measurement accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118799504A_ABST
    Figure CN118799504A_ABST
Patent Text Reader

Abstract

According to the drill bit three-dimensional reconstruction and measurement method based on multiple exposure, image fusion is completed through a series of images acquired through multiple exposure, high-precision camera calibration is combined, the measurement problem caused by uneven surface reflectivity is solved, and accurate reconstruction of drill bit three-dimensional data is achieved; then, a rotary table and a calibration plate are used for reference angle calibration, and coarse splicing of multi-view point clouds is completed through a coordinate transformation matrix; and then, an iterative nearest point algorithm is adopted to carry out fine registration, seamless joint of point cloud data is ensured, and a complete three-dimensional shape is formed. And finally, constructing a reference surface and a measurement plane on the three-dimensional model to realize accurate measurement of the drill bit parameters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of 3D structured light measurement, and in particular to a drill bit three-dimensional reconstruction and measurement method based on multiple exposures. Background Art

[0002] In the manufacturing industry, drilling is one of the key steps in mechanical processing, and the geometric shape and geometric parameters of the drill bit are important factors that determine its performance. Reasonable geometric shape and geometric parameters can significantly improve the service life and processing quality of the drill bit. Therefore, in order to ensure the working efficiency and processing quality of CNC machine tools, high-precision and high-efficiency tool measuring equipment is required for pre-adjustment and measurement before and after the production and use of the drill bit. At present, the geometric parameter measurement methods of CNC tools can be divided into contact, two-dimensional non-contact and three-dimensional non-contact methods according to different principles.

[0003] Among them, three-dimensional non-contact measurement mainly uses stereo vision technology to obtain three-dimensional point cloud data of the measured tool. Stereo vision technology is mainly divided into passive stereo vision and active stereo vision. Passive stereo vision systems are not suitable for high-precision industrial measurement scenarios due to the lack of active structured light projection. On the contrary, active stereo vision systems enhance the scanning effect by projecting structured light. They have lower environmental requirements, are less affected by target contrast, and have more accurate measurements. At the same time, three-dimensional non-contact measurement technology can identify the spatial stereo position and surface information of objects. The measured object can be moved or placed arbitrarily within the effective measurement range of the sensor. For complex tools, three-dimensional technology can reconstruct and splice multiple perspectives to form a complete point cloud, which is more efficient.

[0004] However, in actual applications, it is found that when the drill bit is reconstructed in 3D, due to its metal material and smooth surface, its reflectivity varies greatly, and there are overexposed areas and dark areas, such as Figure 1 The camera collects the sinusoidal fringe image and performs 3D reconstruction. The overexposed area loses the morphological information due to the lack of the coded information of the sinusoidal grating. At the same time, the dark area has a very low signal-to-noise ratio, resulting in poor point cloud quality, which reduces the measurement accuracy. Summary of the invention

[0005] In order to solve the problem in the prior art that when the active stereo vision system enhances the scanning effect by projecting structured light, when the material surface is too smooth, the measurement accuracy will be reduced due to the existence of over-exposure and dark areas, the present invention provides a drill bit three-dimensional reconstruction and measurement method based on multiple exposures, which can overcome the measurement difficulties caused by uneven surface reflectivity, and can realize accurate reconstruction of the drill bit three-dimensional data, and further realize accurate measurement of the drill bit parameters.

[0006] The technical solution of the present invention is as follows: a drill bit three-dimensional reconstruction and measurement method based on multiple exposures, characterized in that it comprises the following steps: S1: Sinusoidal fringe images with different exposures are collected based on the multiple exposure method, and then image fusion is completed based on the low-exposure and high-exposure images to obtain a fused image that meets the preset noise conditions; S2: Based on the multi-view calibration method of the turntable and the calibration plate, the multi-view calibration of the calibration plate and the rough registration of the reconstructed point cloud are completed; The multi-view calibration method specifically comprises the following steps: b1: fixing the calibration plate on the turntable, and the turntable drives the calibration plate to rotate a reference angle; b2: Calculate the two posture changes before and after the rotation of the corner points of the calibration plate, and solve the coordinate transformation matrix; b3: using the coordinate transformation matrix corresponding to the reference angle to establish a nonlinear relationship between the turntable angle and the world coordinate system, and expanding the three-dimensional point cloud transformation relationship of two perspectives to multiple perspectives; S3: Based on the iterative closest point point cloud fine registration method, the roughly registered point cloud is further finely registered; S4: Formulate a global multi-view point cloud precise registration strategy to accurately register the initially registered point cloud to the global coordinate system; S5: Establish a reference plane and a measuring plane on the three-dimensional model, and obtain various parameters of the drill bit on the measuring plane.

[0007] It is further characterized by: In step S1, the image fusion operation specifically includes the following steps: a1: According to the preset minimum exposure time and maximum exposure time, and the preset interval value, a series of sinusoidal fringe images are collected, which are recorded as: series images; a2: Obtain the image with the longest exposure time and the image with the shortest exposure time, which are respectively recorded as the high exposure image to be analyzed and the low exposure image to be analyzed; a3: performing pixel-level grayscale value analysis on the high-exposure image to be analyzed; Check whether there are any pixels in the high-exposure image to be analyzed that exceed the preset exposure threshold; If it exists, the pixel points exceeding the exposure threshold are recorded as: high-exposure pixels to be processed; a4: in the low-exposure image to be analyzed, find the pixel corresponding to the high-exposure pixel to be processed, and record it as the low-exposure pixel to be processed; a5: weightedly fusing the grayscale values ​​of the high-exposure pixel to be processed and the low-exposure pixel to be processed to obtain a fused image; a6: performing noise analysis on the fused image and comparing it with a preset noise threshold; If the noise of the fused image is greater than the noise threshold, executing step a7; Otherwise, the image fusion operation is completed; a7: confirm whether all images in the series of images have participated in the calculation; If yes, execute step a11; Otherwise, execute step a8; a8: comparing the fused image with a preset high exposure judgment condition; If the fused image meets the high exposure judgment condition, the fused image is determined to be a high exposure image, and the image is recorded as: the high exposure image to be analyzed, and step a9 is executed; Otherwise, the fused image is determined to be a low-exposure image, and the image is recorded as the low-exposure image to be analyzed, and step a10 is executed; a9: among the images in the series of images that have not participated in the calculation, take out the image with the shortest exposure time, record it as the low-exposure image to be analyzed, and loop through steps a3 to a8 together with the high-exposure image to be analyzed; a10: among the images in the series of images that have not participated in the calculation, take out the image with the longest exposure time, record it as the high-exposure image to be analyzed, and loop through steps a3 to a8 together with the low-exposure image to be analyzed; a11: looping through steps a1 to a10 until the noise of the fused image is less than or equal to the noise threshold, and then ending the calculation; In step S3, the point cloud precise registration method based on iterative nearest point specifically includes the following contents: Using least squares iteration, the homogeneous transformation matrix is ​​calculated by repeatedly selecting corresponding point pairs, and then the coordinates of the target point cloud are transformed by the transformation matrix, and the distance between the transformed point cloud and the original point cloud is calculated. The distance is used as the optimization index and it is continuously iterated until the convergence accuracy requirements of correct registration are met; In step S4, the global multi-view point cloud precise registration strategy includes: using the ICP algorithm as a basis to achieve orderly registration of multiple point clouds, specifically including the following steps: c1: Get the coarse registration point cloud and initialize the container; The N point clouds obtained by the rough registration are stored in container A in sequence, and the point cloud stored in A[0] is used as the reference point cloud; the coordinate system where the reference point cloud is located is used as the global coordinate system; Initialize container B so that its capacity and storage type are consistent with those of A, and copy the point cloud of A[0] to B[0]; c2: Initialize loop label i, i=0; c3: Take out point cloud B[i] from container B, and take out point cloud A[i+1] from container A; Take B[i] as the reference point cloud, use the ICP algorithm to align and get the transformed A[i+1], and save the transformed point cloud of A[i+1] in B[i+1]; c4: i = i+1; c5: Loop through steps c3 and c4 until all point clouds in container A have participated in the calculation; c6: Output container B containing all transformed point clouds; The turntable in this application is realized based on a three-jaw chuck; Step S5 specifically includes the following operations: The drill bit parameter measurement based on 3D point cloud data is used to measure the drill bit to be measured. All 3D measurements are performed when the drill bit to be measured is static. Therefore, the reference plane and measurement plane of the model are constructed based on the static reference system: Under the standard of the static reference system of the drill to be measured, three main reference planes are determined: base plane, cutting plane and measuring plane; the parameters of the drill are measured respectively, and the drill parameters include: top angle and main deflection angle, cutting edge inclination angle, chisel edge length and diameter.

[0008] The present application provides a method for 3D reconstruction and measurement of drill bits based on multiple exposures. It completes image fusion through a series of images acquired through multiple exposures, and combines high-precision camera calibration to solve the measurement problem caused by uneven surface reflectivity, and achieves accurate reconstruction of drill bit 3D data. Then, the turntable and calibration plate are used to calibrate the reference angle, and the coarse splicing of multi-view point clouds is completed through the coordinate transformation matrix. Subsequently, the iterative closest point algorithm is used for precise registration to ensure seamless connection of point cloud data and form a complete 3D shape. Finally, the reference plane and measurement plane are constructed on the 3D model to achieve accurate measurement of drill bit parameters. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] Figure 1 It is a schematic diagram of overexposed and dark areas in the drill bit fringe image; Figure 2 It is a schematic diagram of binocular structured light 3D measurement system; Figure 3 It is a schematic diagram of the calibration plate and the turntable registering two perspectives; Figure 4 This is the schematic diagram of the calibration plate and turntable registration for multiple views; Figure 5 It is the calibration diagram of the turntable reference angle; Figure 6 It is the point cloud of the corner points of the calibration plate before and after rotation; Figure 7 This is the comparison of the drill handle coarse and fine registration point clouds; Figure 8 This is a flow chart of the global multi-view point cloud precise registration strategy based on ICP; Fig. 9 This is a diagram of standard cylindrical parts and splicing fusion results; Fig.10 It is a real picture of the front and back of the plaster statue; Fig.11 This is the result of multi-view 3D stitching and fusion of the plaster statue; Fig.12 This is the point cloud image of the drill bit rough and fine registration result; Fig.13 It is a partial enlarged view of the drill bit 3D model; Fig.14 It is a visual tool tester diagram; Fig.15 This is a flow chart of the drill bit 3D reconstruction and measurement method based on multiple exposures of the present application. DETAILED DESCRIPTION

[0010] For example Figure 1 When the sinusoidal fringe image captured by the camera shown in the figure is used for 3D reconstruction, the overexposed area loses the morphological information due to the lack of the coded information of the sinusoidal grating. At the same time, the dark area has a very low signal-to-noise ratio, resulting in poor point cloud quality, which reduces the measurement accuracy. Therefore, it is necessary to improve the hardware equipment or reconstruction algorithm in the structured light 3D reconstruction system to solve the problem of missing and low-quality point clouds caused by overexposure and underexposure, and improve the 3D reconstruction accuracy.

[0011] During the structured light 3D imaging process, each scan and reconstruction can only obtain 3D point cloud data from one perspective of the drill bit. In order to meet the measurement requirements, complete 3D point cloud data needs to be obtained. Therefore, the hardware needs to be equipped with a rotatable platform and clamping equipment, and the algorithm needs to study the point cloud alignment, and finally merge them into complete 3D point cloud data.

[0012] In order to solve the problems existing in the prior art, this application adopts a single projector and a dual camera, and designs as follows Figure 2 The binocular structured light system shown in the figure uses multiple exposure technology to improve the image quality of a single camera, uses a turntable and a three-jaw chuck to obtain a multi-view drill point cloud, and then fuses it into complete 3D point cloud data through coarse and fine registration, and finally performs 3D measurement.

[0013] like Fig.15 As shown, the present invention includes a drill bit three-dimensional reconstruction and measurement method based on multiple exposures, which includes the following steps.

[0014] S1: Sinusoidal fringe images with different exposures are collected based on the multiple exposure method, and then image fusion is completed based on the low-exposure and high-exposure images to obtain a fused image that meets the preset noise condition. In this application, the grayscale value of the corresponding pixel point in the low-exposure image is weightedly fused with the grayscale value of the pixel point in the high-exposure image to balance the shadow details in the low-exposure image and the highlight brightness in the high-exposure image, thereby generating an image area with richer details.

[0015] In step S1, the image fusion operation specifically includes the following steps: a1: According to the preset minimum exposure time and maximum exposure time, and the preset interval value, a series of sinusoidal fringe images are collected, which are recorded as: series images; a2: Obtain the image with the longest exposure time and the image with the shortest exposure time, which are respectively recorded as the high exposure image to be analyzed and the low exposure image to be analyzed; a3: Perform pixel-level grayscale value analysis on the high-exposure image to be analyzed; Check whether there are any pixels in the high-exposure image to be analyzed that exceed the preset exposure threshold; If it exists, the pixel points exceeding the exposure threshold are recorded as: high-exposure pixels to be processed; a4: In the low-exposure image to be analyzed, find the pixel corresponding to the high-exposure pixel to be processed, recorded as: low-exposure pixel to be processed; a5: weighted fusion of the grayscale values ​​of the high-exposure pixel to be processed and the low-exposure pixel to be processed to obtain a fused image; a6: Perform noise analysis on the fused image and compare it with the preset noise threshold; If the noise of the fused image is greater than the noise threshold, execute step a7; Otherwise, the image fusion operation is completed; a7: Confirm whether all images in the series of images have participated in the calculation; If yes, execute step a11; Otherwise, execute step a8; a8: Compare the fused image with the preset high exposure judgment condition; If the fused image meets the high exposure judgment condition, the fused image is determined to be a high exposure image, and the image is recorded as: the high exposure image to be analyzed, and step a9 is executed; Otherwise, the fused image is determined to be a low-exposure image, and the image is recorded as the low-exposure image to be analyzed, and step a10 is executed; a9: among the images in the series of images that have not participated in the calculation, take out the image with the shortest exposure time, record it as the low-exposure image to be analyzed, and loop through steps a3 to a8 together with the high-exposure image to be analyzed; a10: among the images in the series of images that have not participated in the calculation, take out the image with the longest exposure time, record it as the high-exposure image to be analyzed, and loop through steps a3 to a8 together with the low-exposure image to be analyzed; a11: Loop through steps a1 to a10 until the noise of the fused image is less than or equal to the noise threshold, then terminate the calculation and output the fused image.

[0016] S2: Based on Figure 2 The multi-view calibration method of the turntable and the calibration plate shown in the figure completes the multi-view calibration of the calibration plate and the rough registration of the reconstructed point cloud. The turntable in the present application is implemented based on a three-jaw chuck. The multi-view calibration method specifically includes the following steps: b1: The calibration plate is fixed on the three-jaw chuck, and the turntable drives the calibration plate to rotate a reference angle; b2: Calculate the position change of the corner points of the calibration plate before and after rotation, and solve the coordinate transformation matrix; b3: Use the transformation matrix corresponding to the reference angle to establish the nonlinear relationship between the turntable angle and the world coordinate system, and expand the three-dimensional point cloud transformation relationship of two perspectives to multiple perspectives.

[0017] The principle of registering two-view point clouds based on a turntable and a calibration plate is as follows Figure 3 As shown. During the entire test process, the calibration plate and the drill bit are driven by the turntable to rotate a reference angle θ. During the rotation process, the calibration plate and the drill bit are always fixed by the three-jaw chuck. There is no relative displacement between the three-jaw chuck and the turntable, so it can be regarded as being fixed synchronously with the turntable. Similarly, the feature data on the calibration plate is regarded as equivalent to the mark points set on the drill bit. At this time, the posture transformation of the calibration plate is the posture transformation of the three-dimensional point cloud.

[0018] In order to calculate the transformation matrix of the three-dimensional point cloud under two viewing angles, it is necessary to first calculate the transformation matrix of the calibration plate: a circle center calibration plate is used for experiment, and the relationship between the calibration plate coordinate system and the binocular structured light system coordinate system is calculated by combining Zhang's calibration method. c -X c Y c Z c Established at the optical center of the left camera, assume that any point P is in the world coordinate system O w -X w Y w Z w The lower coordinate is P w =[X w , Y w , Z w ] T , the coordinates in the left camera coordinate system are P c =[X c , Y c , Z c ]T , the transformation relationship between the two coordinate systems is: P c =RP w +T (1) Where R and T are the rotation and translation matrices from the world coordinate system to the left camera coordinate system, respectively. The world coordinate system O before and after the rotation is w1 -X w1 Y w1 Z w1 , O w2 -X w2 Y w2 Z w2 The relationship with the left camera coordinate system is: P c =R 1 P w1 +T 1 (2) P c =R 2 P w2 +T 2 (3) Where P w1 and P w2 are the coordinates of point P in the world coordinate system before and after rotation; R 1 and R 2 are the rotation matrices from the world coordinate system to the left camera coordinate system before and after the rotation; T 1 and T 2 They are the translation vectors from the world coordinate system to the left camera coordinate system before and after rotation.

[0019] From equation (2) and equation (3), we can get: (4) In the formula, R 1 -1 R 2 Represents the world coordinate system O after rotation w2 -X w2 Y w2 Z w2 To the world coordinate system O before rotation w1 -X w1 Y w1 Z w1 The rotation matrix is ​​denoted by R x . R 1 -1 (T 2 -T 1 ) represents the world coordinate system O after rotation w2 -X w2 Y w2 Z w2 To the world coordinate system O before rotationw1 -X w1 Y w1 Z w1 The translation matrix is ​​denoted by T x Among them, R x and T x Represents the transformation matrix between the point clouds generated by two perspectives after the turntable is rotated by a base angle.

[0020] By calibrating the nonlinear relationship of the coordinate system before and after the reference angle rotation, the transformation matrix of the two perspectives can be extended to multiple perspectives, thereby simplifying the calibration process. To simplify the description, the entire measurement system is described in a two-dimensional diagram formed by looking down, as shown in the figure. Figure 4 shown.

[0021] The calibration plate is fixed on the turntable by a three-jaw chuck and rotated from position 1 to position 2, rotating by a reference angle θ. From equation (4), the position change relationship before and after the rotation is: rotation matrix R x and the translation matrix T x Since the turntable rotates uniformly, the calibration plate coordinate transformation matrix is ​​the same from 0 to θ, from θ to 2θ, and from (n-1) θ to nθ, so the transformation matrix of the turntable rotation θ, 2θ, 3θ, ..., nθ can be derived as: (5) Where P wn is the coordinate after the turntable rotates n×θ. To further simplify the transformation equation, Equation (5) is modified into a homogeneous coordinate form: (6) Where H is the rotation and translation matrix, P' w1 , P' wn P w1 , P wn In the actual scanning and reconstruction process of the drill bit, n is 5, that is, θ is 60°, which can complete the scanning and reconstruction of the entire drill bit.

[0022] Through formula (6), the transformation matrix after the turntable rotates at different reference angles can be calculated. Therefore, a single calibration can obtain the posture transformation relationship after the turntable rotates by an angle of n×θ, thereby unifying the three-dimensional point clouds corresponding to multiple perspectives into the same coordinate system and completing the rough registration of the point clouds. like Figure 5 As shown, it is a comparison diagram of the calibration image collected at the initial position of the calibration plate and after the turntable rotates θ.

[0023] The left and right images collected by the binocular camera are detected by the Opencv or Matlab corner detection function to obtain the initial pixel coordinates (u, v), and the three-dimensional coordinates P of the center of the calibration plate in the left camera coordinate system are obtained by the triangulation principle. c(X c , Y c , Z c ). Since the binocular structured light reconstruction point cloud is based on the coordinate system after stereo correction, and the three-dimensional points obtained by the triangulation principle are based on the original camera coordinate system, it is necessary to convert the calibration plate point cloud to the camera coordinate system after stereo correction according to formula (7): rect .

[0024] P rect = R l ×P c (7) In the formula, R l The rotation matrix calculated for stereo rectification. Figure 6 The figure shows the point cloud of the corner points of the calibration plate after correction, where the orange point cloud is the point cloud of the calibration plate after rotation by θ, and the blue point cloud is the point cloud generated by the calibration plate at the initial position.

[0025] The rotation and translation matrix H is obtained by least squares method from the corner point cloud of the calibration plate before and after rotation. Finally, the coordinate transformation of all point clouds is completed according to equation (6) to achieve the rough registration of the turntable point cloud.

[0026] S3: Based on the iterative nearest point point cloud fine registration method, the roughly registered point cloud is further finely registered; specifically, it includes the following contents.

[0027] The least squares iteration is used to repeatedly select corresponding point pairs to calculate the homogeneous transformation matrix, and then the target point cloud is transformed by the transformation matrix. The distance between the transformed point cloud and the original point cloud is calculated, and the distance is used as the optimization indicator. It is continuously iterated until the convergence accuracy requirements of correct registration are met.

[0028] There will be errors in the actual calibration process and the practical operation process, so there are some deviations in the point cloud after rough registration, so it is necessary to further fine-register the roughly registered point cloud to obtain a better registration effect. For the fine registration algorithm, the most classic is the iterative closest point algorithm (ICP) proposed by Besl et al., which uses the least squares iteration to repeatedly select corresponding point pairs to calculate the homogeneous transformation matrix, and then transform the target point cloud through the transformation matrix, and calculate the distance between the transformed point cloud and the original point cloud, using the distance as the optimization indicator, and iterating continuously until the convergence accuracy requirements of the correct registration are met.

[0029] This method uses a turntable and a calibration plate to calibrate different angles, completes the rough alignment of the point cloud, and provides a good initial pose for fine alignment. Therefore, the ICP algorithm can achieve better fine alignment results with fewer iterations. The purpose of the ICP algorithm is to estimate the rotation and translation matrices between two point clouds. The point clouds generated by scanning the measurement system at two perspectives are recorded as point sets P and point sets Q respectively. In the calculation process, it is first necessary to determine the positions of the corresponding point pairs between the two point clouds. In this process, for each point in the target point cloud, the closest point in the point cloud to be aligned is usually found as the initial pairing point. Subsequently, based on the Euclidean distance and the density distribution of the point cloud, an appropriate threshold standard is formulated to screen and eliminate those mismatched point pairs. Finally, the point sets P and Q generate point pair sets p respectively. i and q i , construct the cost function based on the point pair: (8) In the formula, R and T are the rotation and translation matrices to be obtained, respectively, and N represents the number of point sets. This method uses the singular value decomposition (SVD) method to calculate the transformation matrix. This method has small calculation amount and high accuracy and is widely used. The calculation principle is as follows: Let m and n be the associated point pair p respectively. i and q i The center of mass of (9) Where N is the number of points in the point set. Decentralizing the associated point set yields: (10) Combining equations (8), (9) and (10), we can get: (11) By further derivation and simplification of formula (11) to calculate the optimal solution of R, the covariance matrix C can be constructed as: (12) By performing singular value decomposition on equation (12), we can obtain the optimal solution of R: (13) (14) According to the geometric relationship of the associated point set, the optimal solution of T can be calculated as: T =m-Rn (15) Through the above steps, the coordinate transformation rotation and translation matrices required for precise registration can be obtained. Then, the target point cloud is subjected to homogeneous coordinate transformation to achieve ICP precise registration of the point cloud, and finally the registration of the original point cloud and the target point cloud is completed. Figure 7 The green point cloud on the left is the point cloud after rough registration. The point cloud obtained by fine registration using the ICP algorithm is as follows: Figure 7 As shown in the right image in the middle. It can be seen from the figure that the point clouds at the same position of the drill handle have basically overlapped.

[0030] S4: Formulate a global multi-view point cloud precision registration strategy to ensure that these preliminarily registered point clouds can be accurately registered to the global coordinate system. This method can achieve precise registration between two adjacent point clouds through the iterative closest point (ICP) algorithm. However, when the turntable is rotated multiple times to scan and reconstruct multiple point clouds, a set of targeted precision registration strategies must be formulated to ensure that these preliminarily registered point clouds can be accurately registered to the global coordinate system. To address this problem, this method designs a turntable-based multi-view point cloud global precision registration strategy. This strategy uses the ICP algorithm as a basis to effectively achieve orderly registration of multiple point clouds.

[0031] like Figure 8 As shown, the specific global multi-view point cloud precise registration strategy includes: using the ICP algorithm as a basis to achieve orderly registration of multiple point clouds, which includes the following steps in detail.

[0032] c1: Get the coarse registration point cloud and initialize the container; The N point clouds obtained by rough registration are stored in container A in sequence, and the point cloud stored in A[0] is used as the reference point cloud; the coordinate system of the reference point cloud is used as the global coordinate system; Initialize container B so that its capacity and storage type are consistent with those of A, and copy the point cloud of A[0] to B[0]; c2: Initialize loop label i, i=0; c3: Take out point cloud B[i] from container B, and take out point cloud A[i+1] from container A; Take B[i] as the reference point cloud, use the ICP algorithm to align and get the transformed A[i+1], and save the transformed point cloud of A[i+1] in B[i+1]; c4: i = i+1; c5: Loop through steps c3 and c4 until all N point clouds in container A have participated in the calculation; c6: Output container B containing all transformed point clouds.

[0033] S5: Establish a reference plane and a measuring plane on the three-dimensional model, and obtain various parameters of the drill bit on the measuring plane.

[0034] Step S5 specifically includes the following operations: The twist drill is measured based on the drill bit parameter measurement of 3D point cloud data. All 3D measurements are performed when the twist drill is static. Therefore, the reference plane and measurement plane of the model are constructed based on the static reference system: Under the standard of the static reference system of twist drill, three main reference planes are determined: base plane P r , cutting plane P s and measuring plane; respectively for the top angle 2Φ and main deflection angle k of the drill bit r , blade inclination angle λ s , chisel edge length B, diameter d and other parameters are measured.

[0035] In order to evaluate the accuracy of the proposed method after registration and stitching, a coarse and fine registration verification test is first carried out.

[0036] Purchase Fig. 9 The ceramic cylinder shown in the standard physical picture has a diameter of 11.000mm, and the processing accuracy and cylindricality are both 1μm. First, calibrate the turntable, fix the calibration plate on the turntable, and rotate it at a reference angle of 60° to complete the system calibration. Secondly, fix the ceramic cylinder on a rotatable three-jaw chuck, rotate it a reference angle each time, and scan and reconstruct the cylindrical point cloud of 6 different perspectives. The single-perspective cylindrical point cloud and the complete point cloud after the final splicing using the method in this article are shown as follows: Fig. 9 The single-view point cloud image and the registered stitching fusion image are shown in the figure. The point cloud is imported into Geomagic Studio software for cylindrical fitting to obtain the fitting diameter. The measurement results and errors are shown in Table 1. Analysis of the table data shows that the error of the point cloud stitched by this method is 0.026, which is only slightly larger than the single-view point cloud measurement error of 0.022, indicating that the multi-view stitching method in this application has high accuracy, thereby verifying the feasibility of this method.

[0037] Table 1 True value of standard parts and measurement error of this method In order to verify the effectiveness of coarse and fine registration, a complex plaster statue is used as the object to be measured, and the multi-view point cloud is spliced ​​using this method. Fig.10 As shown in the figure, the overall details are rich and it is suitable as a test object to verify the registration and splicing effect. The plaster statue is fixed on the turntable and rotated 60° each time. The local 3D point cloud data at 6 different angles is scanned and reconstructed. The rough registration algorithm proposed in this application is used for rough registration, and then the global multi-view point cloud fine registration is performed to obtain the complete point cloud data. In order to better demonstrate the registration effect, the fused point cloud is packaged and processed. The processing results are shown in the figure below. Fig.11 As shown in the four views of the point cloud, it can be seen that the detail features of the point cloud are obvious, and the overall restoration and integrity are high, which verifies the effectiveness of the coarse and fine registration method in this application.

[0038] The drill bit parameter measurement test specifically includes the following contents.

[0039] The drill bit is fixed on the three-jaw chuck, and the turntable is rotated by one reference angle each time to obtain a total of 6 drill point clouds with different viewing angles. Fig.12 As shown in the figure, point clouds from different perspectives are rendered in different colors for better distinction. The turntable calibration results are used to roughly align point clouds from different perspectives. Fig.12 As can be seen in the figure, the overall shape of the drill bit is obtained after rough registration, but due to the existence of calibration errors, the overlap of the point cloud is insufficient. Finally, the global multi-view fine registration strategy in this application is used to complete the fine registration of the point cloud, and multiple point clouds are spliced ​​into a complete drill bit shape. After fusion, the point cloud is rendered in color according to the Z value. The results show that the spliced ​​point cloud is smooth and complete, and the splicing effect is good.

[0040] The complete drill point cloud obtained by stitching is packaged, such as Fig.13 The figure shows a partial enlarged view of the cutting part after the drill is packaged. The 3D model of the drill is imported into Geomagic Control X, and the parameters are measured by establishing a reference plane. In this embodiment, the outer edge turning point of the twist drill is used as the measurement point. The outer edge turning point of the twist drill is the intersection of the edge line where the main cutting edge is located and the spiral line. The 3D model can be easily found and subsequent measurements can be performed.

[0041] Since the drill bit under test has been worn out after long-term use, the original parameters cannot be used as the true value for comparison, so a high-precision visual tool measuring instrument is used for testing. Fig.14 The measured results are used as the reference true value, and the drill parameters and errors are shown in Table 2. From the data in the table, it can be seen that the angle deviation is less than 0.43°, the measurement error of the chisel edge length and diameter is less than 0.035mm, and the overall measurement accuracy is high.

[0042] Table 2 Drill bit parameter measurement and error table After using the technical solution of the present invention, the complete three-dimensional morphology of the drill bit is obtained through high-precision, multi-perspective three-dimensional reconstruction, and the measurement and evaluation of the drill bit parameters are completed based on the three-dimensional data. There are some technical difficulties in the process of drill bit reconstruction and measurement, such as three-dimensional reconstruction of workpieces with high dynamic range, blind area problems, multi-perspective point cloud stitching, etc. The solutions to these problems are of guiding significance for other similar measurement problems. At the same time, the three-dimensional reconstruction technology studied in the present invention can also be applied to other fields, such as medical morphological restoration, industrial manufacturing, cultural relics restoration, etc. Therefore, the present invention has good theoretical research significance and practical value.

Claims

1. Drill bit 3D reconstruction and measurement method based on multiple exposures, It is characterized in that It includes the following steps: S1: Sinusoidal fringe images with different exposures are collected based on the multiple exposure method, and then image fusion is completed based on the low-exposure and high-exposure images to obtain a fused image that meets the preset noise conditions; S2: Based on the multi-view calibration method of the turntable and the calibration plate, the multi-view calibration of the calibration plate and the rough registration of the reconstructed point cloud are completed; The multi-view calibration method specifically comprises the following steps: b1: fixing the calibration plate on the turntable, and the turntable drives the calibration plate to rotate a reference angle; b2: Calculate the two posture changes before and after the rotation of the corner points of the calibration plate, and solve the coordinate transformation matrix; b3: using the coordinate transformation matrix corresponding to the reference angle to establish a nonlinear relationship between the turntable angle and the world coordinate system, and expanding the three-dimensional point cloud transformation relationship of two perspectives to multiple perspectives; S3: Based on the iterative closest point point cloud fine registration method, the roughly registered point cloud is further finely registered; S4: Formulate a global multi-view point cloud precise registration strategy to accurately register the initially registered point cloud to the global coordinate system; S5: Establish a reference plane and a measuring plane on the three-dimensional model, and obtain various parameters of the drill bit on the measuring plane.

2. According to the method for three-dimensional reconstruction and measurement of drill bits based on multiple exposures as claimed in claim 1, Features: In step S1, the image fusion operation specifically includes the following steps: a1: According to the preset minimum exposure time and maximum exposure time, and the preset interval value, a series of sinusoidal fringe images are collected, which are recorded as: series images; a2: Obtain the image with the longest exposure time and the image with the shortest exposure time, which are respectively recorded as the high exposure image to be analyzed and the low exposure image to be analyzed; a3: performing pixel-level grayscale value analysis on the high-exposure image to be analyzed; Check whether there are any pixels in the high-exposure image to be analyzed that exceed the preset exposure threshold; If it exists, the pixel points exceeding the exposure threshold are recorded as: high-exposure pixels to be processed; a4: in the low-exposure image to be analyzed, find the pixel corresponding to the high-exposure pixel to be processed, and record it as the low-exposure pixel to be processed; a5: weightedly fusing the grayscale values ​​of the high-exposure pixel to be processed and the low-exposure pixel to be processed to obtain a fused image; a6: performing noise analysis on the fused image and comparing it with a preset noise threshold; If the noise of the fused image is greater than the noise threshold, executing step a7; Otherwise, the image fusion operation is completed; a7: confirm whether all images in the series of images have participated in the calculation; If yes, execute step a11; Otherwise, execute step a8; a8: comparing the fused image with a preset high exposure judgment condition; If the fused image meets the high exposure judgment condition, the fused image is determined to be a high exposure image, and the image is recorded as: the high exposure image to be analyzed, and step a9 is executed; Otherwise, the fused image is determined to be a low-exposure image, and the image is recorded as the low-exposure image to be analyzed, and step a10 is executed; a9: among the images in the series of images that have not participated in the calculation, take out the image with the shortest exposure time, record it as the low-exposure image to be analyzed, and loop through steps a3 to a8 together with the high-exposure image to be analyzed; a10: among the images in the series of images that have not participated in the calculation, take out the image with the longest exposure time, record it as the high-exposure image to be analyzed, and loop through steps a3 to a8 together with the low-exposure image to be analyzed; a11: loop through steps a1 to a10 until the noise of the fused image is less than or equal to the noise threshold, and then terminate the calculation.

3. According to the method for three-dimensional reconstruction and measurement of drill bits based on multiple exposures as claimed in claim 1, Features: In step S3, the point cloud precise registration method based on iterative nearest point specifically includes the following contents: The least squares iteration is used to repeatedly select corresponding point pairs to calculate the homogeneous transformation matrix, and then the target point cloud is transformed by the transformation matrix. The distance between the transformed point cloud and the original point cloud is calculated, and the distance is used as the optimization indicator. It is continuously iterated until the convergence accuracy requirements of correct registration are met.

4. According to the method for three-dimensional reconstruction and measurement of drill bits based on multiple exposures as claimed in claim 1, Features: In step S4, the global multi-view point cloud precise registration strategy includes: using the ICP algorithm as a basis to achieve orderly registration of multiple point clouds, specifically including the following steps: c1: Get the coarse registration point cloud and initialize the container; The N point clouds obtained by the rough registration are stored in container A in sequence, and the point cloud stored in A[0] is used as the reference point cloud; the coordinate system where the reference point cloud is located is used as the global coordinate system; Initialize container B so that its capacity and storage type are consistent with those of A, and copy the point cloud of A[0] to B[0]; c2: Initialize loop label i, i=0; c3: Take out point cloud B[i] from container B, and take out point cloud A[i+1] from container A; Take B[i] as the reference point cloud, use the ICP algorithm to align and get the transformed A[i+1], and save the transformed point cloud of A[i+1] in B[i+1]; c4: i = i+1; c5: Loop through steps c3 and c4 until all point clouds in container A have participated in the calculation; c6: Output container B containing all transformed point clouds.

5. The drill bit 3D reconstruction and measurement method based on multiple exposures according to claim 1, Features: The turntable is realized based on a three-jaw chuck.

6. The drill bit 3D reconstruction and measurement method based on multiple exposures according to claim 1, Features: Step S5 specifically includes the following operations: The drill bit parameter measurement based on 3D point cloud data is used to measure the drill bit to be measured. All 3D measurements are performed when the drill bit to be measured is static. Therefore, the reference plane and measurement plane of the model are constructed based on the static reference system: Under the standard of the static reference system of the drill to be measured, three main reference planes are determined: base plane, cutting plane and measuring plane; the parameters of the drill are measured respectively, and the drill parameters include: top angle and main deflection angle, cutting edge inclination angle, chisel edge length and diameter.

Citation Information

Patent Citations

  • Gray code structured light-based binocular vision metal gear three-dimensional shape measuring device and method

    CN114812429A

  • Three-dimensional point cloud splicing system and method based on rotary table and improved iterative algorithm

    CN116310132A

  • Three-dimensional reconstruction method, system and equipment for high-reflectivity object surface and medium

    CN116824049A

  • Dental image collection device providing optical alignment features and related system and methods

    US20180153485A1

Cited By

  • Multi-view compensation three-dimensional microscopic measurement method and system based on Kalman filtering

    CN120510279A

  • Measurement and detection method for conduit or lead with quasi-rectangular cross section

    CN120672971A

  • Jump gap rapid measurement method and device based on visual guidance

    CN121207058A