The present disclosure relates to a global registration method.
Global registration is to find an optimal coordinate system conversion method for enabling two pieces of coincident point cloud data in different coordinate systems to coincide. Global point cloud registration is widely used in fields that lack initial positioning or have a high requirement for algorithm stability, such as motion estimation, three-dimensional (3D) reconstruction, 3D object recognition, 3D object detection, unmanned driving, and intelligent robots.
Due to the non-convexity of a registration optimization problem, a conventional algorithm is prone to falling into a local minimum. A theoretical proof shows that a global registration method ensures that an algorithm result certainly converges to a global optimal solution. Existing global registration algorithms are mainly classified into two types: a global registration algorithm based on feature point correspondence and a global registration algorithm based on original point cloud data. In the existing implementation of global registration, it takes a long time to narrow a search scope, or sufficient accuracy cannot be achieved. Therefore, for an application scenario with a higher speed and a higher accuracy requirement, it is difficult to apply global registration to the practical scenario. A good global registration algorithm needs to meet following four conditions:
A technical problem to be resolved by the present disclosure is that in existing implementation of global registration, it takes a long time to narrow a search scope or sufficient accuracy cannot be achieved.
In order to resolve the foregoing technical problem, technical solutions of the present disclosure provide a global registration method based on spherical harmonic transformation (SHT) and iterative optimization, where based on following two assumptions: firstly, it is predefined that a minimum percentage of a correct matching pair in an input point cloud is represented as a limit on a quantity of outliers in the point cloud, and secondly, a distance threshold used to determine the correct matching pair is preset based on a scenario and represented as a limited distance of an outlier in the point cloud, the global registration extraction method includes the following steps:
Preferably, step 1 includes the following substeps:
E represents a value of an optimization function corresponding to the local maximum, and D represents the limited distance of the outlier in the point cloud in the second assumption.
Preferably, the branch and bound method is implemented according to the following steps: for each search domain, calculating an error function value at a center of the current search domain, and estimating a lower function bound of the current search domain based on the error function value: if the lower function bound is greater than an existing best result, excluding the search domain; otherwise, splitting the current search domain into small search domains, and performing the foregoing process recursively, where when a size of the search domain is less than a target accuracy requirement, a center point of the search domain is the required optimal solution.
In an algorithm provided in the present disclosure, the point cloud first undergoes coarse registration to obtain a plurality of search domains, and the search domains are sorted based on an evaluation criterion. The branch and bound method is used to exclude an incorrect search domain and obtain a final registration result. The algorithm provided in the present disclosure can be applied to 3D reconstruction. Because the algorithm in the present disclosure is faster than all current global registration algorithms in the case of same accuracy, the present disclosure can achieve higher accuracy than all current algorithms for the 3D reconstruction within same time.
The FIGURE schematically shows a process of global registration according to the present disclosure.
The present disclosure will be further described below with reference to specific embodiments. It should be understood that these embodiments are only intended to describe the present disclosure, rather than to limit the scope of the present disclosure. In addition, it should be understood that various changes and modifications may be made on the present disclosure by those skilled in the art after reading the content of the present disclosure, and these equivalent forms also fall within the scope defined by the appended claims of the present disclosure.
The present disclosure analyzes complexity of an existing global registration algorithm and proposes two basic assumptions for accelerating a global registration solution. In a first assumption, it is predefined that a minimum percentage of a correct matching pair in an input point cloud is represented as a limit on a quantity of outliers in the point cloud, and in a second assumption, a distance threshold used to determine the correct matching pair is preset based on a scenario and represented as a limited distance of an outlier in the point cloud.
Based on the above two assumptions, the present disclosure provides a fast global registration algorithm with SHT and iterative optimization strategies, which specifically includes following content:
A formula for voxelizing the two input point clouds is as follows:
In the above formula, F([x,y,z]T), allowed to be regarded as a function, represents an obtained voxelized point cloud; ∀[x′,y′,z′]T∈PC, and PC represents the input point cloud; and max represents a maximum norm of a point in the input point cloud.
The SHT is calculated according to following formulas:
In the above formulas: (x,y,z) represents coordinates of the point, m represents a superscript of a spherical harmonic function, l represents a subscript of the spherical harmonic function, Ylm(x,y,z) represents the spherical harmonic function, Plm(z) represents an associated Legendre polynomial, d represents a differential, F represents F([x,y,z]T), and alm represents a base coefficient of the spherical harmonic function.
A result obtained by calculating the SHT is alm.
In the above formulas, MSA(g) represents MSAlm(g), MSAlm(g) represents a base coefficient matrix of a spherical harmonic of a point cloud of a model, (α,β,γ) represents an operation of rotating a corresponding Euler angle, km and l represent a superscript and a subscript, which are eliminated in summation, Dkml(α,β,γ) represents a Wigner function, and dkml represents a Wigner distribution function.
where E represents a value of an optimization function corresponding to the local maximum, and D represents the limited distance of the outlier in the point cloud in the second assumption.
A formula for estimating the hit rate is as follows:
In the above formula, LB represents a lower bound, LB=LBour=Σi=1N
A formula for estimating the search time is as follows:
In the above formula, o represents a selectable parameter.
The present disclosure uses an estimated hit rate/estimated search time as the evaluation criterion to determine the search order of the search domains.
A speed of the branch and bound method depends heavily on accuracy of bounding. Compared with other existing methods, a more accurate residual estimation method provided in the present disclosure makes the lower bound of the branch and bound method more accurate. In addition, based on the two assumptions proposed in the present disclosure, a new lower bound is introduced in the present disclosure to accelerate a running speed of the branch and bound method.
The branch and bound method is implemented according to the following steps: for each search domain, calculating an error function value at a center of the current search domain, and estimating a lower function bound of the current search domain based on the error function value: if the lower function bound is greater than an existing best result, excluding the search domain; otherwise, splitting the current search domain into small search domains, and performing the foregoing process recursively, where when a size of the search domain is less than a target accuracy requirement, a center point of the search domain is the required optimal solution. This recursive process ensures that if the function has and only has one optimal solution, the branch and bound method eventually converges to only one minimum search domain that is the required optimal solution.
A calculation method of the lower bound has been described in the previous text, and details are not described herein again. In addition, the present disclosure introduces a check condition (corresponding to the previous assumption) in a branch and bound process:
In the above formula, HT represents a proportion of the quantity of point cloud matching pairs in the first assumption, and N represents a size of the input point cloud. Based on the additional check condition, the present disclosure accelerates a search process of the branch and bound method.
Experimental results on a Stanford dataset and an RGB D object dataset show that the algorithm proposed in the present disclosure is on average 53.6% and 31.3% faster than most advanced non-correspondence-based and correspondence-based implementations respectively.
| Number | Date | Country | Kind |
|---|---|---|---|
| 202211684403.3 | Dec 2022 | CN | national |
This application is a continuation application of International Application No. PCT/CN2023/083254, filed on Mar. 23, 2023, which is based upon and claims priority to Chinese Patent Application No. 202211684403.3, filed on Dec. 27, 2022, the entire contents of which are incorporated herein by reference.
| Number | Date | Country | |
|---|---|---|---|
| Parent | PCT/CN2023/083254 | Mar 2023 | WO |
| Child | 18518465 | US |