A global matching method of point cloud of large complex components based on entropy increase optimization

By constructing a physical energy model and using the law of entropy increase to calculate rotation and translation, the accuracy and efficiency problems of the three-dimensional visual image matching algorithm in the existing technology in the reconstruction of large and complex components are solved, and efficient and high-precision point cloud registration is achieved.

CN114529703BActive Publication Date: 2024-09-06HUNAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210192372.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-02-28
Publication Date
2024-09-06
Estimated Expiration
2042-02-28

AI Technical Summary

Technical Problem

Existing three-dimensional visual image matching algorithms are difficult to achieve high-speed and efficient visual inspection, especially in the reconstruction of large and complex special-shaped curved surface workpieces. The measurement accuracy is low, the positioning failure rate is high, and the measurement and processing requirements for large components are difficult to meet.

Method used

A global matching method for large complex component point clouds based on entropy increase optimization is adopted. By obtaining the three-dimensional point cloud coordinates of adjacent viewing scenes, a physical energy model is constructed, and the entropy increase law is used to calculate rotation and translation to achieve point cloud registration.

Benefits of technology

It greatly improves the robustness and registration accuracy of the algorithm, can be effectively applied to large-scale and noisy three-dimensional image registration, and improves the registration success rate and detection efficiency of large and complex components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114529703B
    Figure CN114529703B
Patent Text Reader

Abstract

The present invention discloses a global matching method for point clouds of large and complex components based on entropy increase optimization, comprising obtaining three-dimensional point cloud coordinates of adjacent view scenes, obtaining a source point cloud X and a target point cloud Y, downsampling them to obtain a sampling point cloud x and a sampling point cloud y respectively; constructing a physical energy model based on the sampling point cloud x and the sampling point cloud y; based on the entropy increase law, calculating the torque T and the tension S of the current movement of the sampling point cloud x according to the physical energy model, and calculating the currently applied rotation and translation (R k ,t k ), obtain the transformed point set; calculate the potential energy of the current sampling point cloud x in the gravitational field and record the current iteration number; when the preset end condition is determined to be met according to the potential energy or the iteration number, accumulate all the transformed point sets, rotate and translate the source point cloud X, and realize the registration between the source point cloud X and the target point cloud Y. The registration accuracy and robustness are improved, and the failure rate of the method is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of image registration, and in particular relates to a global matching method of point clouds of large and complex components based on entropy increase optimization. Background Art

[0002] In recent years, with the rapid development of machine vision technology, 3D image acquisition hardware has also made great progress, and with it comes the increasingly large amount of point cloud images. Point cloud registration technology is a key technology for 3D model reconstruction. It unifies surface point cloud images from different perspectives and reconstructs accurate 3D models. In intelligent manufacturing systems such as aerospace, high-speed rail, and large ships, model reconstruction methods based on 3D visual images have always been a key technology that needs to be overcome. Visual inspection of large, complex, and irregular curved workpieces is a major problem that needs to be solved urgently.

[0003] In the intelligent manufacturing process of a large number of workpieces with complex shapes and huge sizes, such as aircraft skins, high-speed rail bogies and ship propellers, the application of existing reconstruction and detection algorithms based on 3D vision often encounters difficulties in image stitching due to large size, low measurement accuracy due to complex shapes, and high positioning failure rate due to complex edge curvature. The existing 3D vision image matching algorithms are difficult to achieve high-speed, high-precision and high-efficiency visual inspection, and it is even more difficult to effectively reconstruct large, complex and special-shaped curved workpieces.

[0004] At present, the most widely used algorithm under certain prerequisites is the Iterative Closest Point algorithm. It iteratively calculates the optimal corresponding point set and the optimal transformation step with the smallest solution error until the algorithm converges. The algorithm is efficient and lays a good framework foundation for point cloud image registration. However, it has extremely high requirements for the correspondence relationship of the point set and the initial position of the point cloud posture, which is difficult to meet the existing measurement and processing needs of large components. Summary of the invention

[0005] In response to the above technical problems, the present invention provides a global matching method for point clouds of large and complex components based on entropy increase optimization, the purpose of which is to solve the technical problems in the background technology that the existing image point cloud registration algorithm has poor robustness, low registration accuracy and low success rate in registration of large and complex components.

[0006] A global matching method for point clouds of large and complex components based on entropy increase optimization, the method comprising the following steps:

[0007] Step S100: Acquire the three-dimensional point cloud coordinates of the adjacent view scene, obtain the source point cloud X and the target point cloud Y, and downsample the source point cloud X and the target point cloud Y to obtain the sampling point cloud x and the sampling point cloud y respectively;

[0008] Step S200: constructing a physical energy model based on the sampling point cloud x and the sampling point cloud y; wherein the sampling point cloud y generates a constant continuous physical gravitational field, and the sampling point cloud x moves under force in the gravitational field;

[0009] Step S300: Based on the entropy increase law, the torque T and tension S of the current motion of the sampling point cloud x are calculated according to the physical energy model, and the currently applied rotation and translation (R k ,t k ), obtain the transformed point set;

[0010] Step S400: respectively obtaining the number of point clouds of the sampling point cloud x and the sampling point cloud y, the single point mass of the current sampling point cloud x and the current sampling point cloud y, and the distance between the current sampling point cloud x and the current sampling point cloud y, calculating the potential energy of the current sampling point cloud x in the gravitational field and recording the current iteration number;

[0011] Step S500: determining whether a preset end condition is satisfied according to potential energy or the number of iterations, accumulating all transformed point sets, and rotating and translating the source point cloud X according to all transformed point sets to achieve registration between the source point cloud X and the target point cloud Y.

[0012] Preferably, step S100 includes:

[0013] Step S110: Acquire the 3D point cloud coordinates of the adjacent view scene to obtain the source point cloud X and the target point cloud Y;

[0014] Step S120: setting a downsampling threshold ratio α%, and performing random downsampling on the source point cloud X and the target point cloud Y to obtain the point coordinates of α% of the source point cloud X and α% of the target point cloud Y, which are recorded as sampling point cloud x and sampling point cloud y respectively.

[0015] Preferably, the downsampling threshold ratio α% is set in step S120 as follows:

[0016] Get any point P 0 The closest point P in the sample point cloud x s =argmin{||P s –P 0 |||P s ∈x}, find the average point gap d of the point cloud, specifically:

[0017]

[0018] Where N is the number of points in the sampled point cloud x;

[0019] The overall size D of the sampled point cloud x is obtained according to the minimum bounding box, and the sampling threshold ratio is calculated according to the overall size D and the average point gap d of the point cloud, specifically:

[0020] α%=b*d / D

[0021] Where b is a constant.

[0022] Preferably, step S200 includes:

[0023] Step S210: Set each point of the sampling point cloud y as a mass point, and grid the C 3 The distance between the center point of each single regular cube space and each point in the sampling point cloud y is obtained, as well as the unit vector pointing from a mass point in the sampling point cloud y to the center point of each single regular cube space, and the constant energy field G generated by the sampling point cloud y is constructed by combining the number of points in the sampling point cloud y and the mass of each single point in the sampling point cloud y;

[0024] Step S220: fix the spatial position of the sampling point cloud y and the constant energy field G.

[0025] Preferably, step S210 includes:

[0026] Grid C centered on the sampling point cloud y 3 The constant energy field component of the cth regular cube space is:

[0027]

[0028] Among them, M is the number of points in the sampled point cloud y, g is the gravitational constant, and m j is the single point mass of the current point in the sampling point cloud y, r1 is the distance between the center point of a single regular cube space and the jth point in the sampling point cloud y, is the unit vector pointing from the current particle in the sampling point cloud y to the center point of the c-th regular cube space.

[0029] Preferably, step S300 includes:

[0030] Step S310: Obtain the number of sampling point clouds x in the c-th regular cube space, and calculate the force of each point in the sampling point cloud x in the constant energy field G in combination with the single point mass of the sampling point cloud x and the constant energy field component of the c-th regular cube space, specifically:

[0031] F C =G C βm i

[0032] Among them, β is the number of sampling point clouds x in the c-th regular cube space, m i is the single point quality of the sampled point cloud x, G Cis the energy field component of the center point of the regular cube space;

[0033] Step S320: Based on the law of entropy increase, obtain the new coordinates of the sampling point cloud x position normalized with its own center point as the origin, and calculate the current motion torque T and tension S applied to the sampling point cloud x in combination with the force of each point in the sampling point cloud x in the constant energy field G, specifically:

[0034]

[0035]

[0036] in, is the new coordinate of the sampling point cloud x position normalized with its own center point as the origin, T is the motion torque, S is the pulling force, F i is the force on the i-th point in the sampling point cloud x in the constant energy field G, and N is the number of points in the sampling point cloud x;

[0037] Step S330: According to the current motion torque T and tension S of the sampling point cloud x, the current rotation and translation (R k ,t k ), specifically:

[0038]

[0039]

[0040]

[0041] t k =s k ·S / ||S||

[0042] Among them, n p is the rotation axis, θ k The sampling point cloud x is rotated around the axis n p The current rotation angle, R k is the rotation to be applied, I is the identity matrix of size 3×3, The current rotation axis is represented by a 3×1 vector. are the coordinate values ​​of the 3×1 vector on the x, y, and z axes respectively, ||.|| is the vector modulus length operation, s k is the translation distance step, S / ||S|| is a unitized vector, which represents the translation direction;

[0043] The rotation axis n is used in each iteration. p The translation direction is calculated by directly normalizing (T, S), and the rotation angle θ k And the translation distance step sk Use improved optimizer control, specifically:

[0044]

[0045] Among them, n is the cumulative sequence number, and ε is a constant added to maintain the numerical stability of the square root.

[0046] Preferably, step S400 is specifically:

[0047]

[0048] Among them, N is the number of points in the sampled point cloud x, M is the number of points in the sampled point cloud y, g is the gravitational constant, and m i ,m j are the single point masses of the current points in the sampling point cloud x and the sampling point cloud y, respectively, and r2 is the distance between the i-th point in the sampling point cloud x and the j-th point in the sampling point cloud y.

[0049] Preferably, the end condition preset in step S500 is when the potential energy of the current sampling point cloud x in the gravitational field is less than a potential energy threshold, or the number of iterations is greater than a preset number of iterations.

[0050] Preferably, in step S500, the source point cloud X is rotated and translated according to all transformed point sets to achieve registration between the source point cloud X and the target point cloud Y, including:

[0051] Step S510: Obtain the total rotation and translation (R, t) according to all transformed point sets;

[0052] Step S520: applying the total rotation and translation (R, t) to the source point cloud X to realize the rotation and translation of the source point cloud X, thereby completing the registration between the source point cloud X and the target point cloud Y.

[0053] Preferably, step S510 is specifically as follows:

[0054]

[0055]

[0056] in, Represents a single rotation R of the records from 1 to Nt iterations k Perform matrix multiplication, Represents a single translation t of the records from iteration 1 to Nt times k Perform matrix addition, R represents the total rotation, and t represents the total translation.

[0057] The above-mentioned global matching method of point clouds of large and complex components based on entropy increase optimization proposes a new point cloud matching method system. It constructs a physical system based on the sampled point cloud to calculate the constant energy field, and obtains the rotation and translation to be applied to the sampled point cloud based on the law of entropy increase. It can realize point cloud registration through motion control, greatly improving the robustness of the algorithm, and can be applied to large-scale and noisy three-dimensional image registration. The registration effect is efficient and precise, and it has extremely high usability. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 A flowchart of a method for global matching of point clouds of large and complex components based on entropy increase optimization provided by one embodiment of the present invention;

[0059] Figure 2 This is a demonstration diagram of the global matching method of large-scale complex component point cloud optimized by entropy increase in the motion control iteration process of the present invention. DETAILED DESCRIPTION

[0060] In order to enable those skilled in the art to better understand the technical solution of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings.

[0061] In one embodiment, Figure 1 As shown, a global matching method of point cloud of large complex components based on entropy increase optimization includes the following steps:

[0062] Step S100: Acquire the three-dimensional point cloud coordinates of the adjacent view scene, obtain the source point cloud X and the target point cloud Y, and downsample the source point cloud X and the target point cloud Y to obtain the sampled point cloud x and the sampled point cloud y respectively.

[0063] Specifically, in this example, the three-dimensional point cloud coordinates of the adjacent view scene are acquired by a 3D depth scanning sensor to obtain the coordinates of the source point cloud X and the coordinates of the target point cloud Y.

[0064] In one embodiment, step S100 includes:

[0065] Step S110: Acquire the 3D point cloud coordinates of the adjacent view scene to obtain the source point cloud X and the target point cloud Y;

[0066] Step S120: setting a downsampling threshold ratio α%, and performing random downsampling on the source point cloud X and the target point cloud Y to obtain the point coordinates of α% of the source point cloud X and the point coordinates of α% of the target point cloud Y, which are recorded as sampling point cloud x and sampling point cloud y respectively.

[0067] Furthermore, the downsampling threshold ratio α% is set in step S120 as follows:

[0068] Get any point P 0The closest point P in the sample point cloud x s =argmin{||P s –P 0 |||P s ∈x}, find the average point gap d of the point cloud, specifically:

[0069]

[0070] Where N is the number of points in the sampled point cloud x;

[0071] The overall size D of the sampled point cloud x is obtained according to the minimum bounding box, and the sampling threshold ratio is calculated according to the overall size D and the average point gap d of the point cloud, specifically:

[0072] α%=b*d / D

[0073] Where b is a constant.

[0074] In this example, c=10 4 .

[0075] Step S200: constructing a physical energy model based on the sampling point cloud x and the sampling point cloud y; wherein the sampling point cloud y generates a constant continuous physical gravitational field, and the sampling point cloud x moves under the force in the gravitational field.

[0076] Specifically, each point of the point cloud is set as a particle, which has mass but does not occupy any volume, to avoid collision calculation and construct a constant energy field G generated by the sampled point cloud y.

[0077] In one embodiment, step S200 includes:

[0078] Step S210: Set each point of the sampling point cloud y as a mass point, and grid the C 3 The distance between the center point of each single regular cube space and each point in the sampling point cloud y is obtained, as well as the unit vector pointing from a mass point in the sampling point cloud y to the center point of each single regular cube space, and the constant energy field G generated by the sampling point cloud y is constructed by combining the number of points in the sampling point cloud y and the mass of each single point in the sampling point cloud y;

[0079] Step S220: fix the spatial position of the sampling point cloud y and the constant energy field G.

[0080] In one embodiment, step S210 includes:

[0081] Grid C centered on the sampling point cloud y 3 The constant energy field component of the cth regular cube space is:

[0082]

[0083] Among them, M is the number of points in the sampled point cloud y, g is the gravitational constant, and m j is the single point mass of the current point in the sampling point cloud y, r1 is the distance between the center point of a single regular cube space and the jth point in the sampling point cloud y, is the unit vector pointing from the current particle in the sampling point cloud y to the center point of the c-th regular cube space.

[0084] Specifically, C represents the resolution of a single axis. For example, if a 1×1×1 cubic meter cube is divided into 10*10*10 cubes of size 0.1×0.1×0.1, then C = 10. This step is to reduce the amount of calculation, and multiple points in each small cube can be counted as one point.

[0085] Step S300: Based on the entropy increase law, the torque T and tension S of the current motion of the sampling point cloud x are calculated according to the physical energy model, and the currently applied rotation and translation (R k ,t k ), and obtain the transformed point set.

[0086] Specifically, based on the law of increasing entropy, an object always moves from a position with high energy to a position with low energy, and the current motion torque T and tension S of the sampled point cloud x are calculated. Further, the transformed point set = Ri*the point set before transformation+ti.

[0087] In one embodiment, step S300 includes:

[0088] Step S310: Obtain the number of sampling point clouds x in the c-th regular cube space, and calculate the force of each point in the sampling point cloud x in the constant energy field G in combination with the single point mass of the sampling point cloud x and the constant energy field component of the c-th regular cube space, specifically:

[0089] F C =G C βm i

[0090] Among them, β is the number of sampling point clouds x in the c-th regular cube space, m i is the single point quality of the sampled point cloud x, G C is the energy field component of the center point of the regular cube space;

[0091] Step S320: Based on the law of entropy increase, obtain the new coordinates of the sampling point cloud x position normalized with its own center point as the origin, and calculate the current motion torque T and tension S applied to the sampling point cloud x in combination with the force of each point in the sampling point cloud x in the constant energy field G, specifically:

[0092]

[0093]

[0094] in, is the new coordinate of the sampling point cloud x position normalized with its own center point as the origin, T is the motion torque, S is the pulling force, F i is the force on the i-th point in the sampling point cloud x in the constant energy field G, and N is the number of points in the sampling point cloud x;

[0095] Step S330: According to the current motion torque T and tension S of the sampling point cloud x, the current rotation and translation (R k ,t k ), specifically:

[0096]

[0097]

[0098]

[0099] t k =s k ·S / ||S||

[0100] Among them, n p is the rotation axis, θ k The sampling point cloud x is rotated around the axis n p The current rotation angle, R k is the rotation to be applied, I is the identity matrix of size 3×3, The current rotation axis is represented by a 3×1 vector. are the coordinate values ​​of the 3×1 vector on the x, y, and z axes respectively, ||.|| is the vector modulus length operation, s k is the translation distance step, S / ||S|| is a unitized vector, which represents the translation direction;

[0101] The rotation axis n is used in each iteration. p The translation direction is calculated by directly normalizing (T, S), and the rotation angle θ k And the translation distance step s k Use improved optimizer control, specifically:

[0102]

[0103] Among them, n is the cumulative sequence number, and ε is a constant added to maintain the numerical stability of the square root.

[0104] Specifically, all Gi components form G, and ε is generally taken as 10 -6 .

[0105] Step S400: respectively obtain the number of point clouds of the sampling point cloud x and the sampling point cloud y, the single point mass of the current sampling point cloud x and the current sampling point cloud y, and the distance between the current sampling point cloud x and the current sampling point cloud y, calculate the potential energy of the current sampling point cloud x in the gravitational field and record the current number of iterations.

[0106] In one embodiment, step S400 is specifically as follows:

[0107]

[0108] Among them, N is the number of points in the sampled point cloud x, M is the number of points in the sampled point cloud y, g is the gravitational constant, and m i ,m j are the single point masses of the current points in the sampling point cloud x and the sampling point cloud y respectively, r is the distance between the i-th point in the sampling point cloud x and the j-th point in the sampling point cloud y, and the lower bound of r is 10^(-6).

[0109] Step S500: determining whether a preset end condition is satisfied according to potential energy or the number of iterations, accumulating all transformed point sets, and rotating and translating the source point cloud X according to all transformed point sets to achieve registration between the source point cloud X and the target point cloud Y.

[0110] In one embodiment, the end condition preset in step S500 is when the potential energy of the current sampling point cloud x in the gravitational field is less than a potential energy threshold, or the number of iterations is greater than a preset number of iterations.

[0111] The demonstration of point cloud registration is shown below: Figure 2 As shown, in one embodiment, in step S500, the source point cloud X is rotated and translated according to all transformed point sets to achieve registration between the source point cloud X and the target point cloud Y, including:

[0112] Step S510: Obtain the total rotation and translation (R, t) according to all transformed point sets;

[0113] Step S520: applying the total rotation and translation (R, t) to the source point cloud X to realize the rotation and translation of the source point cloud X, thereby completing the registration between the source point cloud X and the target point cloud Y.

[0114] In one embodiment, step S510 is specifically as follows:

[0115]

[0116]

[0117] in, Represents a single rotation R of the records from 1 to Nt iterations k Perform matrix multiplication, Represents a single translation t of the records from iteration 1 to Nt times k Perform matrix addition, R represents the total rotation, and t represents the total translation.

[0118] Furthermore, step S500 also includes: when it is determined according to the potential energy or the number of iterations that a preset end condition is not met, returning to step S300.

[0119] The theory of the present invention is a global model matching method for physical system motion under the law of increasing entropy. After the initial preprocessing, the point features on large, complex, and irregular surfaces are highly similar and difficult to identify, so the point cloud image is modeled as an isolated physical energy system. In this case, the object must move from a high-capacity (high potential energy) to a low-energy position to ensure the global convergence of the algorithm (since the lowest point of the system's gravitational potential energy is unique, when the system converges to the optimal point, the point cloud data represented by the modeled object is also matched).

[0120] This method gets rid of the troubles of traditional point cloud registration method systems. It no longer needs to deal with similar situations such as feature height and noise influence. It uses the characteristics of the ability transfer physical system to achieve registration. It can achieve good results in the registration of various models, especially in large and complex special-shaped surfaces, which are difficult for other methods to gain an advantage.

[0121] Furthermore, adjusting the downsampling threshold α% to 100% means that the complete source point cloud participates in the optimization, which can better improve the accuracy of the algorithm. At the same time, adjusting the downsampling threshold α% to less than 5% can also achieve a good point cloud rough registration effect, which can be combined with the corresponding fine registration algorithm to complete the final registration.

[0122] This method obtains three-dimensional point cloud images from different perspectives, models them into a rigid physical configuration composed of particles, and constructs a physical system model from this, modeling the point cloud registration problem into an energy optimization model of the system. It can break away from the traditional point cloud registration problem modeling, and can also abandon a series of problems encountered by the traditional registration model, such as noise, outliers, and processing scale limitations. The model consists of a central reference model and a motion matching model: the central reference model generates a constant gravitational field, and the motion matching model moves under the traction of the gravitational field. Under the guarantee of the entropy increase law, combined with the motion control method, the system approaches the optimal point cloud registration result. A new point cloud matching method system is proposed. By constructing a physical rigid motion system, point cloud registration can be achieved through motion control, which greatly improves the robustness of the algorithm and can be applied to large-scale and multi-noise three-dimensional image registration. The registration effect is efficient and precise, and has extremely high usability.

[0123] By introducing the physical model of entropy increase optimization, the algorithm itself converges to the optimal alignment point spontaneously. While being able to better realize high-precision and large-scale detection, the proposed new iterative motion control method greatly improves the theoretical feasibility of the algorithm, enabling the algorithm to process large, complex, and heterogeneous curved workpieces, improving the alignment accuracy and robustness and reducing the failure rate of the method.

[0124] The above is a detailed introduction to a global matching method of large complex component point clouds based on entropy increase optimization provided by the present invention. This article uses specific examples to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the core idea of ​​the present invention. It should be pointed out that for ordinary technicians in this technical field, without departing from the principles of the present invention, several improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.

Claims

1. A global matching method for point clouds of large and complex components based on entropy increase optimization, characterized in that: The method comprises the following steps: Step S100: Acquire the three-dimensional point cloud coordinates of the adjacent view scene, obtain a source point cloud X and a target point cloud Y, and downsample the source point cloud X and the target point cloud Y to obtain a sampling point cloud x and a sampling point cloud y respectively; Step S200: constructing a physical energy model based on the sampling point cloud x and the sampling point cloud y; wherein the sampling point cloud y generates a constant continuous physical gravitational field, and the sampling point cloud x moves under force in the gravitational field; Step S300: Based on the entropy increase law, the torque T and the tension S of the current motion of the sampling point cloud x are calculated according to the physical energy model, and the currently applied rotation and translation (R k ,t k ), obtain the transformed point set; Step S400: respectively obtaining the number of point clouds of the sampling point cloud x and the sampling point cloud y, the single point mass of the current sampling point cloud x and the current sampling point cloud y, and the distance between the current sampling point cloud x and the current sampling point cloud y, calculating the potential energy of the current sampling point cloud x in the gravitational field and recording the current iteration number; Step S500: determining whether a preset end condition is satisfied according to the potential energy or the number of iterations, accumulating all transformed point sets, and rotating and translating the source point cloud X according to all transformed point sets to achieve registration between the source point cloud X and the target point cloud Y.

2. The method according to claim 1, characterized in that: Step S100 includes: Step S110: Acquire the 3D point cloud coordinates of the adjacent view scene to obtain the source point cloud X and the target point cloud Y; Step S120: Setting a downsampling threshold ratio α%, and performing random downsampling on the source point cloud X and the target point cloud Y to obtain the point coordinates of α% of the source point cloud X and α% of the target point cloud Y, which are respectively recorded as sampling point cloud x and sampling point cloud y.

3. The method according to claim 2, characterized in that The downsampling threshold ratio α% is set in step S120 as follows: Get the nearest point P of any point P0 in the sample point cloud x s =argmin{||P s –P0|||P s ∈x}, find the average point gap d of the point cloud, specifically: Where N is the number of points in the sampled point cloud x; The overall size D of the sampling point cloud x is obtained according to the minimum bounding box, and the sampling threshold ratio is calculated according to the overall size D and the average point gap d of the point cloud, which is specifically: α%=b*d / D Where b is a constant.

4. The method according to claim 3, characterized in that Step S200 includes: Step S210: Set each point of the sampling point cloud y as a mass point, and grid the C grid centered on the sampling point cloud y. 3 equilateral cubic spaces, obtaining the distance between the center point of each single equilateral cubic space and each point in the sampling point cloud y, and the unit vector pointing from a mass point in the sampling point cloud y to the center point of each single equilateral cubic space, and combining the point cloud quantity of the sampling point cloud y and the mass of each single point of the sampling point cloud y to construct the constant energy field G generated by the sampling point cloud y; Step S220: Fix the spatial position of the sampling point cloud y and the constant energy field G.

5. The method according to claim 4, characterized in that Step S210 includes: Grid C centered on the sampling point cloud y 3 The constant energy field component of the cth regular cube space is: Among them, M is the number of points in the sampled point cloud y, g is the gravitational constant, and m j is the single point mass of the current point in the sampling point cloud y, r1 is the distance between the center point of a single regular cube space and the jth point in the sampling point cloud y, is the unit vector pointing from the current particle in the sampling point cloud y to the center point of the c-th regular cube space.

6. The method according to claim 5, characterized in that Step S300 includes: Step S310: Obtain the number of sampling point clouds x in the c-th regular cube space, and calculate the force of each point in the sampling point cloud x in the constant energy field G in combination with the single point mass of the sampling point cloud x and the constant energy field component of the c-th regular cube space, specifically: F c =G c βm i Among them, β is the number of sampling point clouds x in the c-th regular cube space, m i is the single point quality of the sampled point cloud x, G c is the energy field component of the center point of the regular cube space; Step S320: Based on the law of entropy increase, obtain the new coordinates of the sampling point cloud x position normalized with its own center point as the origin, and calculate the current motion torque T and tension S applied to the sampling point cloud x in combination with the force of each point in the sampling point cloud x in the constant energy field G, specifically: in, is the new coordinate of the sampling point cloud x position normalized with its own center point as the origin, T is the motion torque, S is the pulling force, F i is the force on the i-th point in the sampling point cloud x in the constant energy field G, and N is the number of points in the sampling point cloud x; Step S330: According to the current motion torque T and tension S of the sampling point cloud x, the current rotation and translation (R k ,t k ), specifically: t k =s k ·S / ||S|| Among them, n p is the rotation axis, θ k The sampling point cloud x is rotated around the axis n p The current rotation angle, R k is the rotation to be applied, I is the identity matrix of size 3×3, The current rotation axis is represented by a 3×1 vector. are the coordinate values ​​of the 3×1 vector on the x, y, and z axes respectively, ||.|| is the vector modulus length operation, s k is the translation distance step, S / ||S|| is a unitized vector, which represents the translation direction; The rotation axis n is used during each iteration. p The translation direction is calculated by normalizing (T, S) directly, and the rotation angle θ k And the translation distance step s k Use improved optimizer control, specifically: Among them, n is the cumulative sequence number, and ε is a constant added to maintain the numerical stability of the square root.

7. The method according to claim 6, characterized in that Step S400 is specifically as follows: Among them, N is the number of points in the sampled point cloud x, M is the number of points in the sampled point cloud y, g is the gravitational constant, and m i ,m j are the single point masses of the current points in the sampling point cloud x and the sampling point cloud y, respectively, and r2 is the distance between the i-th point in the sampling point cloud x and the j-th point in the sampling point cloud y.

8. The method according to claim 7, characterized in that The preset end condition in step S500 is when the potential energy of the current sampling point cloud x in the gravitational field is less than the potential energy threshold, or the number of iterations is greater than the preset number of iterations.

9. The method according to claim 8, characterized in that In step S500, the source point cloud X is rotated and translated according to all the transformed point sets to achieve registration between the source point cloud X and the target point cloud Y, including: Step S510: Obtaining a total rotation and translation (R, t) according to all transformed point sets; Step S520: applying the total rotation and translation (R, t) to the source point cloud X to realize the rotation and translation of the source point cloud X, thereby completing the registration between the source point cloud X and the target point cloud Y.

10. The method according to claim 9, characterized in that Step S510 is specifically as follows: in, Represents a single rotation R of the records from 1 to Nt iterations k Perform matrix multiplication, Represents a single translation t of the records from iteration 1 to Nt times k Perform matrix addition, R represents the total rotation, and t represents the total translation.