A method, apparatus, and program for processing 3D point cloud matching degradation
The three-dimensional point cloud matching degradation is dealt with through eigenvalue-eigenvector analysis and orthogonal projection theory, which solves the under-constrained problem of lidar pose estimation in a single scene, improves matching accuracy and reliability, and is suitable for a variety of spatial scenes.
Patent Information
- Application Number
- CN202411008074.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-07-26
AI Technical Summary
In the process of three-dimensional laser point cloud matching, the pose estimation of lidar in long tunnels, long corridors and other scenarios is under-constrained, resulting in reduced matching accuracy. The degradation processing method of the existing technology is ineffective in long-term and non-Euclidean space applications. Not good.
By establishing a three-dimensional point cloud matching model, using eigenvalue-eigenvector analysis and orthogonal projection theory, we determine and reconstruct the solution to the incremental equation, zero out the components in the degenerate subspace, and update the pose variables to ensure matching accuracy and reliability. sex.
It effectively handles the degradation problem of 3D point cloud matching, improves the matching accuracy and reliability, maintains the accuracy of normal lidar operation, and is suitable for pose manifold spaces represented by matrix Lie groups, expanding the scope of applications.
Smart Images

Figure CN118537606B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of point cloud data processing, and in particular to a method, device and program product for processing three-dimensional point cloud matching degradation. Background Art
[0002] In the process of 3D laser point cloud matching, the correspondence between the source point and the target point is obtained through nearest neighbor search. This data association method based on geometric distance faces the problem of degradation in scenes with highly similar spatial structures. That is, the pose estimation problem modeled cannot accurately describe the actual motion process of the robot, resulting in under-constraints in some dimensions of the pose variables to be solved. Typical degenerate scenes include long tunnels and long corridors. When the laser radar moves in a straight line in these scenes, the spatial distribution of the point cloud collected by the laser radar each time will be highly similar, and the laser odometer will not be able to estimate the actual motion of the laser radar. Therefore, it is necessary to deal with the point cloud matching degradation problem online and in real time.
[0003] There are currently two degradation processing methods in the public literature: 1) Fusing the lidar data with other types of sensors. This type of method is called sensor fusion. Common combinations include lidar and inertial measurement unit, lidar and odometer, lidar and camera, etc., but the matching accuracy output by this type of method is usually lower than the accuracy of the lidar when it is working normally; 2) Once degradation is detected, the degraded subspace is determined by characteristic analysis of the incremental equation, and then the components in the degraded subspace are set to zero to reduce the adverse effects of the degradation problem. This type of method is called characteristic analysis zeroing method, but the shortcomings of this type of method are: the improvement effect of long-term degradation problems is not good, and it is only applicable to Euclidean space and cannot be applied to pose manifold space. Summary of the invention
[0004] The embodiments of the present invention provide a method, device and program product for processing degradation of three-dimensional point cloud matching, aiming to process degradation in three-dimensional point cloud matching in real time, thereby improving the accuracy of three-dimensional point cloud matching in a single scene of geometric structure.
[0005] In order to achieve the above object, on the one hand, a method for processing three-dimensional point cloud matching degradation is provided, the method comprising the following steps:
[0006] S1, inputting parameters into a pre-established three-dimensional point cloud matching model, wherein the parameters include an objective function, variables to be optimized, and constraints;
[0007] S2, initializing the variables to be optimized. If there is exogenous pose estimation information, the variables to be optimized are initialized using the exogenous pose estimation information; if there is no exogenous pose estimation information, the variables to be optimized are initialized based on the uniform motion assumption;
[0008] S3, establish the incremental equation ,in, represents the coefficient matrix of the increment equation, represents a column vector, is the original solution of the incremental equation;
[0009] S4, calculating the incremental equation by performing local Lie algebraic representation on the variable to be optimized to obtain an original solution of the incremental equation;
[0010] S5, judging whether the three-dimensional point cloud matching model has a degradation problem according to a preset degradation judgment method, if the degradation problem occurs, proceeding to step S6, otherwise proceeding to step S8, wherein the degradation judgment method includes an eigenvalue ratio method or a minimum eigenvalue method;
[0011] S6, performing eigenvalue-eigenvector analysis on the coefficient matrix of the incremental equation, and determining the degradation subspace where the degradation problem occurs according to a preset degradation detection threshold;
[0012] S7, setting the components of the original solution of the incremental equation in the degenerate subspace to zero by the characteristic zeroing method to obtain a reconstructed solution of the incremental equation , the reconstructed solution of the incremental equation for:
[0013]
[0014] in, represents the orthogonal projection matrix of the vector along the degenerate subspace to the non-degenerate subspace;
[0015] S8, if the degenerate subspace is empty, then use the original solution of the incremental equation to update the pose variable; if the degenerate subspace is not empty, then use the reconstructed solution of the incremental equation to update the pose variable;
[0016] S9, repeating steps S3 to S8 until the original solution of the incremental equation or the reconstructed solution of the incremental equation is less than a preset threshold or reaches a maximum number of iterations, then terminating the iteration and outputting the iteration result.
[0017] Preferably, in the method for processing degradation of three-dimensional point cloud matching, in step S1, the three-dimensional point cloud matching model is a least squares model, and the least squares model is:
[0018]
[0019] in, is the optimal solution of the least squares model, A six-dimensional manifold The variables on About The error function of is the transpose of the e vector, is the weight matrix, Represents the dimension of the error function, which is a positive integer. The weight matrix is a symmetric positive definite matrix. The local variable Used to describe exist Local properties at, define local variables for:
[0020]
[0021] in, is a reference point with a known value, For local variables The first component of For local variables The second component of and is the rotation matrix, and is the position coordinate, , , The relationship between the three is recorded as:
[0022] .
[0023] Preferably, in the method for processing degradation of three-dimensional point cloud matching, in step S2, the variables to be optimized are initialized as:
[0024]
[0025] in, and represents the initial value of the least squares model, symbol Indicates that a value is assigned to the variable in the direction of the arrow.
[0026] Preferably, in the method for processing the degradation of three-dimensional point cloud matching, in step S4, the calculation formula of the incremental equation is:
[0027]
[0028] .
[0029] Preferably, in the method for processing the degradation of three-dimensional point cloud matching, in step S5, the minimum eigenvalue method is:
[0030] when , it is determined that the three-dimensional point cloud matching model has a degradation problem, otherwise, it is determined that the three-dimensional point cloud matching model has no degradation problem, wherein, express The minimum eigenvalue of Represents the preset degradation detection threshold.
[0031] Preferably, in the method for processing degradation of three-dimensional point cloud matching, in step S6, the eigenvalue-eigenvector analysis is:
[0032]
[0033] in, is the eigenvalue The corresponding eigenvector is ,and ,if , then determine The direction in which is located is the degenerate direction, and the space spanned by the degenerate directions of all eigenvectors is the degenerate subspace.
[0034] Preferably, the method for processing the degradation of three-dimensional point cloud matching, wherein in step S7:
[0035] After traversing all eigenvalues, the number of degenerate directions obtained is ,in, , then construct two intermediate matrices, the intermediate matrices are:
[0036]
[0037] Then the reconstructed solution of the increment equation is for:
[0038] .
[0039] Preferably, the method for processing the degradation of three-dimensional point cloud matching, wherein in step S8:
[0040] The update formula for updating the pose variables using the original solution of the incremental equation is:
[0041]
[0042] The update formula for updating the pose variables using the reconstructed solution of the incremental equation is:
[0043]
[0044] On the other hand, a device for processing three-dimensional point cloud matching degradation includes a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the steps of any of the above-mentioned methods for processing three-dimensional point cloud matching degradation.
[0045] On the other hand, a computer program product comprises a computer program, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned methods for processing three-dimensional point cloud matching degradation are implemented.
[0046] The above technical solution has the following technical effects:
[0047] The technical solution of the embodiment of the present invention applies the feature zeroing method to the pose manifold space, and combines the pose manifold space and orthogonal projection theory to analyze the incremental equation to determine whether a degradation problem occurs; if degradation is detected, the degenerate subspace is determined by eigenvalue-eigenvector analysis, and the solution of the incremental equation is reconstructed using orthogonal projection theory, thereby effectively dealing with the point cloud matching degradation problem in a single scene of the laser structure while maintaining the normal operating accuracy of the lidar, thereby improving the accuracy and reliability of point cloud matching.
[0048] In a further embodiment, the technical solution is applicable to the pose manifold space represented by the matrix Lie group, has a wider scope of use, and can also maintain the matching accuracy of the laser radar during normal operation in the non-degenerate subspace, and maintain the matching accuracy of the external information source in the non-degenerate subspace, so it has higher accuracy and reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] Figure 1 A flowchart of a method for processing three-dimensional point cloud matching degradation according to an embodiment of the present invention;
[0050] Figure 2 It is a schematic diagram of the overall process of a method for processing degradation of three-dimensional point cloud matching according to another embodiment of the present invention;
[0051] Figure 3 A diagram of a processing device for three-dimensional point cloud matching degradation according to another embodiment of the present invention. DETAILED DESCRIPTION
[0052] To further illustrate the various embodiments, the present invention provides drawings. These drawings are part of the disclosure of the present invention, which are mainly used to illustrate the embodiments and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, a person of ordinary skill in the art should be able to understand other possible implementations and advantages of the present invention. The components in the figures are not drawn to scale, and similar component symbols are generally used to represent similar components.
[0053] The present invention will now be further described with reference to the accompanying drawings and specific implementation methods.
[0054] Embodiment 1:
[0055] In order to process the degradation in 3D point cloud matching in real time and thereby improve the accuracy of 3D point cloud matching in a single scene with a geometric structure, the present invention provides a method for processing the degradation of 3D point cloud matching. Figure 1 FIG. 1 is a flow chart of a method for processing degradation of three-dimensional point cloud matching according to an embodiment of the present invention. Figure 1 The method for processing the degradation of three-dimensional point cloud matching according to the embodiment of the present invention comprises the following steps:
[0056] S1, inputting parameters into a pre-established 3D point cloud matching model, the parameters including the objective function, the variables to be optimized and the constraints;
[0057] S2, initialize the variables to be optimized. If there is exogenous pose estimation information, use the exogenous pose estimation information to initialize the variables to be optimized; if there is no exogenous pose estimation information, initialize the variables to be optimized based on the uniform motion assumption;
[0058] S3, establish the incremental equation ,in, represents the coefficient matrix of the increment equation, represents a column vector, is the original solution of the increment equation;
[0059] S4, by expressing the variables to be optimized in local Lie algebra, calculating the incremental equation, and obtaining the original solution of the incremental equation;
[0060] S5, judging whether the three-dimensional point cloud matching model has a degradation problem according to a preset degradation judgment method, if the degradation problem occurs, proceeding to step S6, otherwise proceeding to step S8, wherein the degradation judgment method includes an eigenvalue ratio method or a minimum eigenvalue method;
[0061] S6, performing eigenvalue-eigenvector analysis on the coefficient matrix of the incremental equation, and determining the degradation subspace where the degradation problem occurs according to a preset degradation detection threshold;
[0062] S7, the components of the original solution of the incremental equation in the degenerate subspace are set to zero by the characteristic zeroing method to obtain the reconstructed solution of the incremental equation , the reconstructed solution of the incremental equation for:
[0063]
[0064] in, Represents the orthogonal projection matrix of the vector along the degenerate subspace to the non-degenerate subspace;
[0065] S8, if the degenerate subspace is empty, the original solution of the incremental equation is used to update the pose variables; if the degenerate subspace is not empty, the reconstructed solution of the incremental equation is used to update the pose variables;
[0066] S9, repeating steps S3 to S8 until the original solution of the incremental equation or the reconstructed solution of the incremental equation is less than a preset threshold or reaches a maximum number of iterations, then terminating the iteration and outputting the iteration result.
[0067] Embodiment 2:
[0068] Figure 2 FIG. 1 is a schematic diagram of the overall process of a method for processing degradation of three-dimensional point cloud matching according to another embodiment of the present invention. Figure 2 As shown, the steps of the method are as follows:
[0069] Step 1: Input the point cloud matching model parameters. The parameters mainly include objective function, variables to be optimized, constraints, etc.
[0070] Taking the least squares model as an example, the point cloud matching model is generally described as:
[0071]
[0072] in, is the optimal solution of the least squares model, A six-dimensional manifold The variables on About The error function of is the transpose of the e vector, is the weight matrix, Represents the dimension of the error function, which takes a positive integer value, and the weight matrix is a symmetric positive definite matrix; in order to describe exist Local properties at, define local variables for:
[0073]
[0074] in, is a reference point with a known value, For local variables The first component of For local variables The second component of and is the rotation matrix, and is the position coordinate. For simplicity of form, , , The relationship between the three can be summarized as:
[0075]
[0076] Step 2: Initialize the variables to be optimized. If there is exogenous pose estimation information, use the exogenous pose estimation information for initialization. If there is no exogenous pose estimation information, initialize based on the uniform motion assumption.
[0077] Initialize the variables to be optimized as:
[0078]
[0079] in, and They represent the initial value of the point cloud matching optimization problem, and the symbols Indicates that a value is assigned to the variable in the direction of the arrow.
[0080] Step 3: Establish the incremental equation and perform local Lie algebraic representation on the optimized variables , and calculate the coefficient matrix and column vector of the incremental equation to obtain the original solution of the incremental equation.
[0081] The increment equation is:
[0082]
[0083] in, and are the coefficient matrix and column vector of the incremental equation, respectively. is the original solution of the incremental equation; the coefficient matrix on the left side of the incremental equation is recorded as , the vector on the right is , we get:
[0084]
[0085]
[0086] Step 4: Determine whether the point cloud matching model has a degradation problem based on the eigenvalue ratio method, the minimum eigenvalue method or other methods.
[0087] Taking the minimum eigenvalue method as an example, the judgment equation of the degradation problem is:
[0088]
[0089] when When , it is determined that the 3D point cloud matching model has a degradation problem, otherwise, it is determined that the 3D point cloud matching model has no degradation problem, where, express The minimum eigenvalue of Indicates the degradation detection threshold. The degradation detection threshold value needs to be set according to the specific application scenario. If degradation is detected, go to step 5, otherwise go to step 7.
[0090] Step 5: Perform eigenvalue-eigenvector analysis on the coefficient matrix of the incremental equation and determine the degradation subspace according to the degradation detection threshold.
[0091] Taking the minimum eigenvalue method as an example, we first perform eigenvalue-eigenvector analysis on the coefficient matrix of the incremental equation and obtain:
[0092]
[0093] in, is the eigenvalue The corresponding eigenvector ( ),and .if
[0094] , then determine The direction in which is located is the degenerate direction, and the space spanned by the degenerate directions of all eigenvectors is called the degenerate subspace.
[0095] Step 6, reconstruct the original solution of the incremental equation, that is, set the components of the incremental solution of the local pose in the degenerate subspace to zero, so as to reduce the negative impact of the component update in the degenerate subspace on the pose estimate.
[0096] Assume that after traversing the six eigenvalues, the number of degenerate directions is ( ), then the following two intermediate matrices can be constructed:
[0097]
[0098] Then the reconstructed solution of the increment equation is for:
[0099] .
[0100] Step 7: Use the local pose increment to update the pose variable, where the local pose increment is the original solution / reconstructed solution of the incremental equation.
[0101] If the degenerate subspace is empty, the update formula is as follows:
[0102]
[0103] If the degenerate subspace is not empty, the update formula is as follows:
[0104]
[0105] Step 8: If the local pose increment is less than the preset threshold or the number of iterations reaches the maximum value, the point cloud matching process with degradation processing function is completed and the result is output; otherwise, steps 3 to 7 are repeated until the iteration termination condition is reached.
[0106] Through the above steps, this embodiment improves the accuracy and stability of three-dimensional point cloud matching under degraded conditions while maintaining high matching performance under non-degraded conditions, thereby providing more reliable support for the lidar navigation and positioning system.
[0107] Embodiment three:
[0108] The present invention also provides a processing device for three-dimensional point cloud matching degradation. Figure 3 As shown, the device includes a processor 301, a memory 302, a bus 303, and a computer program stored in the memory 302 and executable on the processor 301. The processor 301 includes one or more processing cores. The memory 302 is connected to the processor 301 via the bus 303. The memory 302 is used to store program instructions. When the processor executes the computer program, the steps in the above method embodiment of the first embodiment of the present invention are implemented.
[0109] Further, as an executable solution, the processing device for the degradation of the three-dimensional point cloud matching can be a computer unit, which can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The computer unit may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the composition structure of the above-mentioned computer unit is only an example of a computer unit and does not constitute a limitation on the computer unit. It can include more or less components than the above, or a combination of certain components, or different components. For example, the computer unit may also include input and output devices, network access devices, buses, etc., which are not limited in the embodiments of the present invention.
[0110] Further, as an executable solution, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the computer unit, and various interfaces and lines are used to connect various parts of the entire computer unit.
[0111] The memory can be used to store the computer program and / or module, and the processor realizes various functions of the computer unit by running or executing the computer program and / or module stored in the memory, and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system and at least one application required for a function; the data storage area can store data created according to the use of the mobile phone, etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (SecureDigital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0112] Embodiment 4:
[0113] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the steps of the method described above are implemented.
[0114] Although the present invention has been specifically shown and described in conjunction with the preferred embodiments, it should be understood by those skilled in the art that various changes may be made to the present invention in form and details without departing from the spirit and scope of the present invention as defined by the appended claims, all of which are within the scope of protection of the present invention.
Claims
1. A method for processing degradation of 3D point cloud matching. It is characterized in that The method comprises the following steps: S1, inputting parameters into a pre-established three-dimensional point cloud matching model, wherein the parameters include an objective function, variables to be optimized, and constraints; S2, initializing the variables to be optimized. If there is exogenous pose estimation information, the variables to be optimized are initialized using the exogenous pose estimation information; if there is no exogenous pose estimation information, the variables to be optimized are initialized based on the uniform motion assumption; S3, establish the incremental equation ,in, represents the coefficient matrix of the increment equation, represents a column vector, is the original solution of the incremental equation; S4, calculating the incremental equation by performing local Lie algebraic representation on the variable to be optimized to obtain an original solution of the incremental equation; S5, judging whether the three-dimensional point cloud matching model has a degradation problem according to a preset degradation judgment method, if the degradation problem occurs, proceeding to step S6, otherwise proceeding to step S8, wherein the degradation judgment method includes an eigenvalue ratio method or a minimum eigenvalue method; S6, performing eigenvalue-eigenvector analysis on the coefficient matrix of the incremental equation, and determining the degradation subspace where the degradation problem occurs according to a preset degradation detection threshold; S7, setting the components of the original solution of the incremental equation in the degenerate subspace to zero by the characteristic zeroing method to obtain a reconstructed solution of the incremental equation , the reconstructed solution of the incremental equation for: in, represents the orthogonal projection matrix of the vector along the degenerate subspace to the non-degenerate subspace, with parameters and parameters All represent pre-constructed intermediate matrices; S8, if the degenerate subspace is empty, then use the original solution of the incremental equation to update the pose variable; if the degenerate subspace is not empty, then use the reconstructed solution of the incremental equation to update the pose variable; S9, repeating steps S3 to S8 until the original solution of the incremental equation or the reconstructed solution of the incremental equation is less than a preset threshold or reaches a maximum number of iterations, then terminating the iteration and outputting the iteration result.
2. According to the method for processing the degradation of three-dimensional point cloud matching according to claim 1, It is characterized in that In step S1, the three-dimensional point cloud matching model is a least squares model, and the least squares model is: in, is the optimal solution of the least squares model, A six-dimensional manifold The variables on About The error function of is the transpose of the e vector, is the weight matrix, Represents the dimension of the error function, which is a positive integer. The weight matrix is a symmetric positive definite matrix. The local variable Used to describe exist Local properties at, define local variables for: in, is a reference point with a known value, For local variables The first component of For local variables The second component of and is the rotation matrix, and is the position coordinate, , , The relationship between the three is recorded as: 。 3. According to the method for processing degradation of three-dimensional point cloud matching according to claim 2, It is characterized in that In step S2, the variables to be optimized are initialized as: in, and represents the initial value of the least squares model, symbol Indicates that a value is assigned to the variable in the direction of the arrow.
4. According to the method for processing degradation of three-dimensional point cloud matching according to claim 3, It is characterized in that In step S4, the calculation formula of the increment equation is: 。 5. The method for processing the degradation of three-dimensional point cloud matching according to claim 1, It is characterized in that In step S5, the minimum eigenvalue method is: when , it is determined that the three-dimensional point cloud matching model has a degradation problem, otherwise, it is determined that the three-dimensional point cloud matching model has no degradation problem, wherein, express The minimum eigenvalue of Represents the preset degradation detection threshold.
6. The method for processing degradation of three-dimensional point cloud matching according to claim 5, It is characterized in that In step S6, the eigenvalue-eigenvector analysis is: in, to is the eigenvalue to The corresponding eigenvector is express to ,use express to ,in ,and ,if , then determine The direction in which is located is the degenerate direction, and the space spanned by the degenerate directions of all eigenvectors is the degenerate subspace.
7. The method for processing degradation of three-dimensional point cloud matching according to claim 6, It is characterized in that In step S7: After traversing all eigenvalues, the number of degenerate directions obtained is ,in, , then construct two intermediate matrices, the intermediate matrices are: Then the reconstructed solution of the increment equation is for: 。 8. The method for processing the degradation of three-dimensional point cloud matching according to claim 7, It is characterized in that In step S8: The update formula for updating the pose variables using the original solution of the incremental equation is: The update formula for updating the pose variables using the reconstructed solution of the incremental equation is: 。 9. A device for processing degradation of three-dimensional point cloud matching, It is characterized in that It comprises a memory and a processor, wherein the memory stores at least one program, and the at least one program is executed by the processor to implement the steps of the processing method for three-dimensional point cloud matching degradation as claimed in any one of claims 1 to 8.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method for processing three-dimensional point cloud matching degradation as claimed in any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Multi-machine collaborative fusion positioning and mapping method for unknown space exploration
CN114964212A
Depth point set resampling method based on gradient field
CN116977187A
Multi-sensor pose estimation method and device considering perceptual degradation
CN117745821A
Robust laser-vision-inertia fusion SLAM method
CN117782050A
Scene degradation processing method and device, electronic equipment and storage medium
CN118097101A
