Non-homologous point cloud automatic registration method based on digital surface model

By reducing the dimensionality of the three-dimensional point cloud to a two-dimensional image and using the Laplace operator and the KAZE algorithm for non-homologous point cloud registration, the problems of low efficiency and high resource requirements in the existing technology are solved, and fast and accurate point cloud registration is achieved. Cloud registration is suitable for a variety of scenarios.

CN118762064AActive Publication Date: 2024-10-11UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410896914.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-05
Publication Date
2024-10-11
Estimated Expiration
2044-07-05

AI Technical Summary

Technical Problem

Existing non-homogeneous point cloud registration algorithms are inefficient, complex in principle, require large amounts of computing resources, and cannot meet the actual needs of massive point cloud processing.

Method used

By reducing the dimensionality of the three-dimensional point cloud to a flat two-dimensional image, taking advantage of the continuity of the image and the small amount of data, the Laplace operator and the KAZE algorithm are used to extract key information, and the affine matrix is ​​calculated for point cloud registration, which reduces the demand for computing resources and Improve efficiency.

Benefits of technology

It achieves fast and accurate 3D point cloud registration, reduces computing resource requirements, and is suitable for a variety of scenes, such as forest point clouds and building scenes. It takes into account accuracy and efficiency and provides a new non-homologous point cloud registration idea. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118762064A_ABST
    Figure CN118762064A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of point cloud data processing, and relates to a non-homologous point cloud automatic registration method based on a digital surface model. According to the method, the target point cloud and the source point cloud which are not homologous are used for generating the corresponding DSM image, the three-dimensional point cloud is reduced into the planar two-dimensional image, and the characteristics of continuity, small data volume and the like of the image are utilized, so that the algorithm efficiency is improved, and the computing resource demand is reduced; then key information of DSM is extracted and enhanced, DSM image registration is carried out based on the key information, and an affine matrix suitable for the point cloud is obtained; and finally, performing affine transformation on the target point cloud by using the affine matrix, and transforming the target point cloud and the source point cloud to the same coordinate system. According to the method, the separation precision and efficiency can be adjusted by adjusting the resolution of the DSM and the threshold value during binaryzation, the precision and the efficiency are both considered, a new idea is provided for non-homologous point cloud registration, and the method can be further applied to the fields of three-dimensional modeling, three-dimensional point cloud classification, digital city construction, augmented reality and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of point cloud data processing and discloses an automatic registration method for non-homologous point clouds based on a digital surface model. Background Art

[0002] In recent years, with the continuous enhancement of computer data processing capabilities and the continuous development of photogrammetry technology, it has become easier to obtain massive point clouds. There are many sources of three-dimensional point cloud data, which can be divided into two categories: LiDAR (Light Detection and Ranging, LiDAR) technology and remote sensing image generation. LiDAR point cloud is a laser emitted by the transmitter. The receiver receives the angle and time of the reflected laser, which can accurately calculate the position of the target. Usually, LiDAR sensors work in the green light band or near-infrared band. Remote sensing image point cloud generation uses two or more drone images with a certain degree of overlap to calculate the same-name points between the images, and then generate a dense point cloud.

[0003] Compared with other data types, 3D point cloud can display the surface and shape of objects more clearly and intuitively. Therefore, 3D point cloud data is used in many fields, such as robot vision, environmental monitoring, power line inspection, urban 3D modeling, etc. It is precisely because point cloud data can accurately reflect the 3D spatial information in the scene that constructing point cloud data becomes a prerequisite for determining the accuracy and efficiency of 3D modeling.

[0004] However, due to the different sensor platforms, point cloud data always has some missing. For example, the sensors carried by drones have limited detection accuracy for building facades, branches under the canopy in forests, and obscured ground. Ground sensors have limited detection capabilities for higher targets, including the tops of buildings and tree canopies. There are two main ways to solve the above problems: one is to fuse homologous point cloud data from different perspectives. This is mainly achieved by using LiDAR (Terrestrial Laser Scanning, TLS) for multi-station scanning to provide accurate point clouds from different perspectives for registration. The second is to use non-homologous point cloud data, including UAV-LiDAR point clouds, point clouds generated by UAV photogrammetry, vehicle-mounted LiDAR point clouds, Backpack Laser Scanning (BLS) point clouds, etc. for fusion. Although homologous point cloud data registration can expand the scene range of point clouds and solve occlusion to a certain extent, it still cannot solve the problem of limited scanning accuracy at a long distance, which can be better solved by fusing non-homologous point clouds.

[0005] Currently, the fusion and registration of non-homologous point cloud data has become a popular research direction. Point cloud registration refers to the process of placing two point clouds in different coordinate systems in the same coordinate system by detecting key points, using algorithms such as point cloud affine transformation, etc. Traditional point cloud registration is to manually select some points of the same name, and then calculate the affine matrix to convert the target point cloud into the coordinate system of the source point cloud. However, this method is costly and time-consuming when a large amount of data needs to be registered, and because the manual selection of points of the same name has a greater impact on the subsequent results, accidental errors may occur.

[0006] Due to the above shortcomings, a series of point cloud automatic registration algorithms have emerged at home and abroad, such as the Iterative Closest Point (ICP) algorithm, feature-based methods, learning-based methods, and probability density function (PDF)-based methods. These algorithms are widely used in cutting-edge fields such as large-scale 3D point cloud registration, cultural relics point cloud registration, and human organ point cloud registration. However, the current algorithms have many shortcomings, such as large demand for computing resources, extremely low processing efficiency when facing massive point clouds, complex principles, and high requirements for initial positions.

[0007] In summary, although the prospect of point cloud data processing is very optimistic and has obvious advantages in many aspects such as accuracy, there are still a series of problems in the registration of non-homologous point clouds, and the current methods cannot fully meet the needs of actual operations. Summary of the invention

[0008] In view of the above-mentioned problems or shortcomings, in order to solve the problems of low algorithm efficiency, complex principles, and large demand for computing resources in non-homologous point cloud registration, the present invention provides a non-homologous point cloud automatic registration method based on digital surface modeling (DSM). By reducing the dimensionality of the three-dimensional point cloud to a planar two-dimensional image, the continuity of the image and the small amount of data are used to improve the algorithm efficiency, reduce the demand for computing resources, and realize fast three-dimensional point cloud registration.

[0009] A method for automatic registration of non-homologous point clouds based on a digital surface model comprises the following steps:

[0010] Step 1: Cloud PC based on the source point S and target point cloud PC T The source point cloud and the target point cloud are processed to generate continuous source DSM images and target DSM images; X, Y, and Z represent the coordinate information of the point cloud data respectively.

[0011] Step 2: Process both the source DSM image and the target DSM image obtained in step 1, and only retain the areas in the image whose change rate is greater than a set threshold.

[0012] 2-1. Process the source DSM image and the target DSM image using the Laplace operator: When the elevation value in the DSM image changes rapidly, the value of the Laplace operator will be relatively large; therefore, the Laplace operator is used to process and the absolute value of the result is taken to detect the edge in the image and avoid negative values ​​caused by the direction, thus obtaining the DSM_lpls image. The specific calculation method is:

[0013]

[0014] Among them, f(x,y) refers to the elevation value of the image at the (x,y) position, Refers to using the second-order Laplace operator to process f(x,y);

[0015] 2-2. Normalize DSM_lpls image: In order to expand the difference between values ​​without changing the trend, and to facilitate subsequent processing, the DSM_lpls image obtained in step 2-1 is normalized to the interval [0,255], recorded as DSM_lpls_nor:

[0016]

[0017] Among them, Z is the elevation value of the DSM_lpls image, Z' is the elevation value corresponding to the DSM_lpls_nor image, and Z max ,Z min They respectively represent the maximum and minimum elevation values ​​in the DSM_lpls image before normalization.

[0018] 2-3. Binarization of DSM_lpls_nor image: Set the threshold to [80, 150], assign a value of 1 to the area greater than the threshold and a value of 0 to the area less than the threshold, and obtain the binary source DSM image and target DSM image.

[0019] Step 3: Use the binarized source DSM image and target DSM image obtained in step 2-3 to perform registration, so as to calculate the image-based affine matrix.

[0020] 3-1. Calculate the rotation and scaling matrix: Use the KAZE algorithm to register the binary source DSM image and target DSM image obtained in step 2-3 to obtain a 3*3 affine matrix:

[0021]

[0022] Among them, ScaRot1 is the initial affine matrix, a i ,b i (i=1,2) is the rotation and scaling factor, which controls the rotation and scaling of the target image. 3 ,b 3 are the translation factors of the X and Y axes respectively. Since the translation in the image is not related to the translation of the point cloud, a is used here. 3 ,b 3 Assign a value of 0, that is:

[0023]

[0024] Among them, ScaRot 2 is the final affine matrix.

[0025] For the KAZE algorithm: first, the scale space is constructed by using a Gaussian pyramid to perform multi-scale blurring on the original image, and the scale space extreme points of the image are calculated through a differential pyramid. These extreme points represent the features in the image; then, the KAZE algorithm applies a nonlinear scale transformation to extract the descriptor of the feature points. This nonlinear scale transformation adjusts the scale of the feature points by calculating the mean curvature so that it can adapt to image changes at different scales. The key to the KAZE algorithm is that it uses the Additive Operator Splitting (AOS) algorithm for nonlinear diffusion filtering. The KAZE algorithm uses a 128-dimensional descriptor similar to SIFT to describe the selected feature points. This descriptor consists of the gradient histogram of the area around the feature points.

[0026] 3-2. Calculate the transformed source point cloud PC S and target point cloud PC T The relative offset of the X and Y axes is obtained.

[0027] 3-2-1. Transform the target DSM image of step 1: transform the target DSM image of step 1 according to the final affine matrix registered in step 3-1 to obtain the registered target DSM image;

[0028]

[0029] Among them, DSM 目标 is the target DSM image before transformation, X, Y, and Z refer to the X, Y coordinate matrix of the target DSM image before transformation and the elevation of the corresponding position respectively; DSM New is the transformed target DSM image, X n ,Y n ,Z nThey refer to the X,Y coordinate matrix of the target DSM image after transformation and the elevation of the corresponding position respectively; in addition, there will be pixels without elevation values ​​after transformation, and such pixels will be assigned null values ​​(NaN).

[0030] 3-2-2. Calculation of translation factor: DSM obtained in step 3-2-1 New Take the first pixel in its upper left corner as the origin, establish a coordinate system, and traverse the DSM New Get the first column with non-empty values, record the column number as the X-direction translation grid number X_Trans_Num; get the first row with non-empty values, record the row number as the Y-direction translation grid number Y_Trans_Num. Calculate the relative translation distance in the X and Y directions based on the translation grid number and resolution, record it as the translation factor X Trans , Y Trans , calculated according to the following formula:

[0031] X Trans =X_Trans_Num*resolution (6)

[0032] Y Trans = Y_Trans_Num*resolution (7)

[0033] Among them, resolution is the image resolution.

[0034] Step 4: Use the source cloud PC S and target point cloud PC T , and the rotation, scaling matrix and translation factor calculated in step 3 are used to transform the target point cloud, and the source point cloud PC S and target point cloud PC T Transform to the same coordinate system.

[0035] Furthermore, the processing of the source point cloud and the target point cloud in step 1 is specifically as follows:

[0036] 1-1. Create blank raster data for subsequent generation of DSM. The raster size, i.e., image resolution, is selected according to different scenes: when performing forest point cloud registration, the resolution is 0.3-0.6m; in scenes with buildings or buildings and trees at the same time, the resolution is 0.8-1.5m.

[0037] 1-2. Calculate each point in the point cloud: If the Z value (elevation value) of the point coordinate is greater than the value of the current grid, assign the Z value of the point to the corresponding grid to obtain an image that saves the maximum value of each grid, that is, generate continuous source DSM images and target DSM images.

[0038] Furthermore, the step 4 is specifically as follows:

[0039] 4-1、The target point cloud (PC T )According to ScaRot 2 To perform rotation and scaling transformation, the calculation method is:

[0040]

[0041] Among them, PC_New T It is the point cloud after the first transformation. X′, Y′ represent the transformed X and Y coordinate arrays respectively. Z does not change in the above processing.

[0042] 4-2. Translation of target point cloud: The point cloud after the first transformation in step 4-1 is transformed in the X and Y directions using the translation factors obtained in step 3-2. The specific transformation method is as follows:

[0043]

[0044] Among them, PC Final is the final transformed point cloud, X min ,Y min Respectively represent the minimum value of the X and Y coordinates in the target point cloud, X′ min ,Y′ min Respectively represent the minimum values ​​of the X and Y coordinates in the source point cloud.

[0045] The present invention uses non-homologous target point cloud and source point cloud, first generates continuous source DSM images and target DSM images, reduces the dimension of the three-dimensional point cloud to a two-dimensional plane image, and uses the continuity of the image and the small amount of data to improve the efficiency of the algorithm and reduce the demand for computing resources; then extracts and enhances the key information of the DSM, uses the Laplace operator for processing, and uses the method of first normalization to retain the elevation change features in the point cloud in the image, and uses this feature to perform registration to ensure the accuracy of the registration result, and obtains an affine matrix suitable for the point cloud; finally, the affine matrix is ​​used to perform an affine transformation on the target point cloud, and the target point cloud and the source point cloud are converted to the same coordinate system. The present invention is applicable to a variety of scenarios, such as forest point cloud registration, buildings, or scenes with buildings and trees at the same time. By selecting a suitable image resolution and a threshold value when the DSM image is binarized, the accuracy and efficiency of the registration can be further improved.

[0046] In summary, the present invention takes into account both accuracy and efficiency to complete the registration of non-homologous point clouds, and the efficiency and accuracy can be adjusted according to different situations, providing a new idea for the registration of non-homologous point clouds, and can be further applied to 3D modeling, 3D point cloud classification, digital city construction, augmented reality and other fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a schematic diagram of the process of the present invention;

[0048] Figure 2 The target point cloud in the embodiment is displayed in accordance with the intensity;

[0049] Figure 3 is the source point cloud in the embodiment, and its display mode is RGB color display;

[0050] Figure 4 The target point cloud and the source point cloud before registration in the embodiment;

[0051] Figure 5 The overall registration result of the embodiment, the source point cloud is displayed in red, and the target point cloud is displayed in green;

[0052] Figure 6 The detailed registration result of the embodiment is shown in the same visualization method. Figure 5 . DETAILED DESCRIPTION

[0053] The present invention is further described in detail below with reference to the accompanying drawings and implementation examples.

[0054] The following uses the data of the Pinxue Building and its surroundings in the Qingshuihe Campus of the University of Electronic Science and Technology of China in Chengdu, Sichuan Province as the sample data of this embodiment. In this implementation example, the target point cloud data is scanned by a backpack laser scanner. The data has a total of 109,797,596 points, and the point cloud density is about 3,699 points / m 2 , each point contains information including three-dimensional coordinates and reflection intensity ( Figure 2 ). The source point cloud is a photogrammetry point cloud generated by drone images. The drone is flying at an altitude of 100 meters. The data has a total of 74,718,857 points, and the point cloud density is about 233 points / m 2 , each point contains data including three-dimensional coordinates and RGB information ( Figure 3 ). The positional relationship of the original data of the embodiment before registration is as follows Figure 4 shown.

[0055] A method for automatic registration of non-homologous point clouds based on a digital surface model comprises the following steps:

[0056] Step 1, DSM data generation: Since the data is mainly buildings, in this example, the resolution of the DSM image is selected as 1m to generate continuous source DSM images and target DSM images.

[0057] Step 2, extraction of DSM key information: After using the Laplace operator to process the target DSM image and the source DSM image, the data is normalized to the interval [0, 255], and then the data is binarized to retain only valid points. In this embodiment, when the target point cloud and the source point cloud are binarized, the pixel points less than 100 are assigned to 0, and the pixel points greater than 100 are assigned to 1.

[0058] Step 3, calculate the affine matrix: perform registration through the binary image in step 2. Select the KAZE algorithm for image registration, and generate the image affine matrix (ScaRot 1 ), in this implementation example, ScaRot 1 for:

[0059]

[0060] Therefore, the final affine matrix ScaRot in this implementation example is 2 for:

[0061]

[0062] Then calculate the translation amount. In this embodiment, X Trans =-11,Y Trans =49.

[0063] Step 4: Use the source cloud PC S and target point cloud PC T , and the rotation, scaling matrix and translation factor calculated in step 3 are used to adjust the target point cloud PC T The target point cloud and the source point cloud are transformed into the same coordinate system. The overall result after the final transformation in this embodiment is shown in the attached figure. Figure 5 The local results are shown in the attached Figure 6 shown.

[0064] The efficiency of the method of the present invention is compared with the current mainstream fast point feature histogram combined with iterative closest point (FPFH+ICP) registration method. Both methods are run on a laptop with an Intel(R) Core(TM) i5-11400H@2.70GHz processor, an NVIDIA GeForce RTX 3050Laptop GPU graphics card, 16GB of running memory, and 30GB of virtual memory. Both methods are compared using the data in the above-mentioned implementation example. The running time of the method proposed in the present invention is 4.93 minutes.

[0065] Since the FPFH+ICP method consumes a lot of memory and has low efficiency, the point cloud is uniformly downsampled when using this method. The number of points in the source point cloud after downsampling is 1,956,687, and the number of points in the target point cloud is 3,245,329. The FPFH+ICP method uses 8 threads for parallel computing. When using the Fast Point Feature Histogram (FPFH) for coarse alignment, the number of iterations is 25 times. When using the Iterative Closest Point (ICP) for fine alignment, the number of iterations is 100 times, and the final running time is 199.28 minutes. It can be seen that the method proposed in the present invention has a significant efficiency improvement.

[0066] It can be seen from the above embodiments that the present invention uses non-homologous target point clouds and source point clouds to generate corresponding DSM images first, reduce the dimensionality of the three-dimensional point cloud to a two-dimensional plane image, and utilize the continuity of the image and the small amount of data to improve the efficiency of the algorithm and reduce the demand for computing resources; then extract and enhance the key information of the DSM, and use it to perform DSM image registration to obtain an affine matrix suitable for the point cloud; finally, use the affine matrix to perform an affine transformation on the target point cloud, and convert the target point cloud and the source point cloud to the same coordinate system. The present invention can adjust the separation accuracy and efficiency by adjusting the resolution of the DSM and the threshold value during binarization, taking into account both accuracy and efficiency, and can better solve the problems of more parameters, complex experimental principles, and more computing resource requirements in the current non-homologous point cloud registration; it provides a new idea for non-homologous point cloud registration, and can be further applied to three-dimensional modeling, three-dimensional point cloud classification, digital city construction, augmented reality and other fields.

Claims

1. A method for automatic registration of non-homologous point clouds based on digital surface models, characterized in that: The following steps are involved: Step 1: Cloud PC based on the source point S and target point cloud PC T The source point cloud and the target point cloud are processed to generate continuous source DSM images and target DSM images; X, Y, and Z represent the coordinate information of the point cloud data respectively; Step 2, processing the source DSM image and the target DSM image obtained in step 1, and retaining only the areas in the image whose change rate is greater than a set threshold; 2-1. Process the source DSM image and the target DSM image through the Laplace operator, and take the absolute value of the result to obtain the DSM_lpls image. The specific calculation method is: Among them, f(x,y) refers to the elevation value of the image at the (x,y) position, Refers to using the second-order Laplace operator to process f(x,y); 2-2. Normalize the DSM_lpls image obtained in step 2-1 to the interval [0,255], recorded as DSM_lpls_nor: Among them, Z is the elevation value of the DSM_lpls image, Z' is the elevation value corresponding to the DSM_lpls_nor image, and Z max ,Z min They represent the maximum and minimum elevation values ​​in the DSM_lpls image before normalization; 2-3. Binarization of DSM_lpls_nor image: Set the threshold to [80, 150], assign a value of 1 to the area greater than the threshold and a value of 0 to the area less than the threshold, and obtain the binary source DSM image and target DSM image; Step 3, using the binarized source DSM image and target DSM image obtained in step 2-3, register to calculate the image-based affine matrix; 3-1. Calculate the rotation and scaling matrix: Use the KAZE algorithm to register the binary source DSM image and target DSM image obtained in step 2-3 to obtain a 3*3 affine matrix: Among them, ScaRot1 is the initial affine matrix, a i ,b i (i=1,2) is the rotation and scaling factor, which controls the rotation and scaling of the target image. a3 and b3 are the translation factors of the X and Y axes respectively. Since the translation in the image has no correlation with the translation of the point cloud, a3 and b3 are assigned 0 here, that is: Among them, ScaRot2 is the final affine matrix; 3-2. Calculate the transformed source point cloud PC S and target point cloud PC T The relative offset of the X and Y axes is obtained; 3-2-1, transform the target DSM image in step 1 according to the final affine matrix registered in step 3-1 to obtain the registered target DSM image; Among them, DSM 目标 is the target DSM image before transformation, X, Y, and Z refer to the X, Y coordinate matrix of the target DSM image before transformation and the elevation of the corresponding position respectively; DSM New is the transformed target DSM image, X n ,Y n ,Z n They refer to the X, Y coordinate matrix of the target DSM image after transformation and the elevation of the corresponding position respectively; pixels without elevation value after transformation are assigned null value (NaN); 3-2-2, the DSM obtained in step 3-2-1 New Take the first pixel in its upper left corner as the origin, establish a coordinate system, and traverse the DSM New Get the first column with non-empty values, record the column number as the X-direction translation grid number X_Trans_Num; get the first row with non-empty values, record the row number as the Y-direction translation grid number Y_Trans_Num; calculate the relative translation distance in the X and Y directions based on the translation grid number and resolution, record it as the translation factor X Trans , Y Trans , calculated according to the following formula: X Trans = X_Trans_Num*resolution (6) Y Trans = Y_Trans_Num*resolution (7) Among them, resolution is the image resolution; Step 4: Use the source cloud PC S and target point cloud PC T , and the rotation, scaling matrix and translation factor calculated in step 3 are used to adjust the target point cloud PC T The target point cloud and the source point cloud are transformed into the same coordinate system.

2. The method for automatic registration of non-homologous point clouds based on digital surface models according to claim 1, characterized in that: The processing of the source point cloud and the target point cloud in step 1 is specifically as follows: 1-1. Create blank raster data for subsequent generation of DSM. The raster size, i.e., image resolution, is selected according to different scenes: when performing forest point cloud registration, the resolution is 0.3-0.6m; in scenes with buildings or buildings and trees at the same time, the resolution is 0.8-1.5m; 1-2. Calculate each point in the point cloud: If the elevation value Z value of the point coordinate is greater than the value of the current grid, assign the point Z value to the corresponding grid to obtain an image that saves the maximum value of each grid, that is, generate continuous source DSM images and target DSM images.

3. The method for automatic registration of non-homologous point clouds based on digital surface models according to claim 1, characterized in that: The step 4 is specifically as follows: 4-1. Set the target point cloud PC T According to ScaRot2, the rotation and scaling transformation is calculated as follows: Among them, PC_New T is the point cloud after the first transformation, X ′ ,Y ′ Respectively represent the transformed X and Y coordinate arrays. Z does not change during the above processing; 4-2. Translation of target point cloud: The point cloud after the first transformation in step 4-1 is transformed in the X and Y directions using the translation factors obtained in step 3-2. The specific transformation method is as follows: Among them, PC Final is the final transformed point cloud, X min ,Y min Respectively represent the minimum value of the X and Y coordinates in the target point cloud, X ′ min ,Y ′ min Respectively represent the minimum values ​​of the X and Y coordinates in the source point cloud.

Citation Information

Cited By

  • Joint landmark point identification method, computer equipment and computer program product

    CN120318218A