Multi-channel laser scanning image recognition method based on geometric similarity

By establishing a triangular geometric mathematical model and ground extraction algorithm, combined with the morphological external gradient method, the target recognition problem of the multi-channel laser scanning system under sparse data conditions is solved, effective target feature extraction and recognition is achieved, and the recognition rate and recognition rate are improved. Anti-interference ability.

CN118731970APending Publication Date: 2024-10-01BEIJING UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410748330.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

It is difficult for multi-channel laser scanning systems to effectively identify objects under sparse data conditions. In particular, sparse scanning data makes it difficult to extract target areas.

Method used

By establishing a triangular geometric mathematical model, the relationship between laser lines is converted into height values, and the ground extraction algorithm and grid sorting difference method are used to separate the ground objects. The boundary contour and minimum circumscribed rectangle of the target area are extracted, combined with the morphological external gradient. The method extracts height features and uses geometric similarity models for target recognition.

Benefits of technology

It effectively realizes the separation of ground points and target points of sparse data, extracts the length, width and height features of the target, improves the anti-interference ability, and improves the accuracy and speed of target recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118731970A_ABST
    Figure CN118731970A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-channel laser scanning image recognition method based on geometric similarity, and belongs to the technical field of laser and image recognition. According to the design method, object target identification under the multi-channel laser scanning image is realized. The method comprises the following steps: firstly, resolving distance data under a laser scanner coordinate system obtained by laser scanning according to a spatial relationship of a laser scanning model, and converting the distance data into a height value under a ground coordinate system to obtain a binary image of a ground feature separation result; secondly, performing boundary tracking on the binary image to obtain a boundary contour of the object target, mapping the boundary contour to a ground coordinate system to calculate a minimum enclosing rectangle of the contour, extracting the length and the width of the object target, and extracting the height of the object target by adopting a statistical method based on a morphological external gradient; and finally, identifying an object target by using a geometric similarity model. Through experimental verification, the method has the capability of identifying objects with distinctive three-dimensional size characteristics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a multi-channel laser scanning image recognition method based on geometric similarity, belonging to the technical field of laser and image recognition. Background Art

[0002] The use of laser beams to scan and identify objects is widely used in object measurement, advanced assisted driving, unmanned driving, and other civil and defense fields. Multi-channel laser scanning imaging systems usually contain array laser transmitters that can generate high-intensity, monochromatic and well-directional laser beams. The laser beams are transmitted through the air to the surface of the object and are reflected, diffused or absorbed by the surface. The receiver of the multi-channel laser scanning system captures and records the signal reflected back by the laser beam. By measuring the time difference between the emission and reception of the laser pulse, the multi-channel laser scanning system can calculate the distance between the object and the multi-channel laser scanning system. Multiple laser pulses scan objects in different directions and angles to form point cloud data in three-dimensional space. By filtering and aggregating these points, the target can be identified.

[0003] The multi-channel laser scanning and recognition system needs to quickly identify objects based on the detection distance calculated according to the time difference between the echo signal and the transmitted signal when receiving the multi-channel reflected laser echo pulse signal of the object. At the same time, due to the structure of the multi-channel laser scanning system itself, the angle between adjacent laser beams is large, and the scanned data is sparse. How to realize object recognition based on sparse data is particularly important.

[0004] The multi-channel laser scanning and recognition method based on geometric similarity solves the data obtained by laser linear array scanning according to the spatial relationship of the multi-channel laser scanning model, extracts the target area by separating the ground objects, calculates the three-dimensional features of the target and realizes target recognition through the similarity model. This method has good real-time performance and can improve the matching and recognition rate of the target, but for sparse scanning data, there are problems such as data sparsity and difficulty in extracting the target area. Summary of the invention

[0005] In view of the above technical problems, the present invention proposes a multi-channel laser scanning image recognition method, which solves the sparse three-dimensional distance data obtained by scanning to realize multi-channel laser scanning image recognition.

[0006] The specific technical solution is:

[0007] A multi-channel laser scanning image recognition method comprises the following steps:

[0008] First, the multi-channel laser scanning distance data is obtained, and then the data is processed and the target is identified. The target recognition algorithm first converts the distance and height, establishes a triangular geometry mathematical model for the multi-channel laser scanning process, and converts the collected multi-line distance values ​​into height values ​​in the multi-channel laser scanner coordinate system based on the triangular geometry relationship between the laser lines in the model; secondly, the ground object separation is performed, and the ground extraction algorithm based on the slope of the scanning line is used to preliminarily separate the ground objects along the scanning line, and then the grid sorting difference method is used based on the height threshold to further realize the ground object separation, and the height value in the multi-channel laser scanner coordinate system is converted to the height value in the ground coordinate system; then the three-dimensional feature extraction is performed, and the boundary tracking of the binary result map in the ground object separation result is performed to extract the boundary contour of the target area, and then the boundary contour is mapped to the ground coordinate system, the minimum circumscribed rectangle of the target area in the ground coordinate system is calculated, and the length and width features of the target are extracted. At the same time, the height feature of the target is extracted by using the method based on the morphological external gradient. Finally, object recognition is performed based on the geometric similarity model. The calculated target geometric size is compared with the a priori known target size set, and the similarity is calculated. The target is determined to be the target with the largest similarity in the target set and meets the similarity threshold requirements.

[0009] Beneficial effects:

[0010] (1) The ground object separation method based on scan line gradient and height threshold can effectively separate ground points and target points in sparse data;

[0011] (2) By tracking the boundaries of the binary results of ground object separation and mapping the tracking results to the ground coordinate system to calculate the minimum circumscribed rectangle, the length and width of the target can be effectively extracted;

[0012] (3) The designed target recognition algorithm can realize the recognition of a certain target under a certain target data set, and has a certain resistance to interference that does not meet the prior information, thereby improving the anti-interference ability. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 A flow chart of a multi-channel laser scanning image recognition method disclosed in the present invention;

[0014] Figure 2 A target model set used for the present invention;

[0015] Figure 3 A schematic diagram of a mathematical model of triangular geometric relationships of a multi-channel laser scanning system established in step 1 of the algorithm of the present invention;

[0016] Figure 4 This is a schematic diagram of the result after the present invention uses the scanned data of the model truck 1 to implement step 1;

[0017] Figure 5 This is a schematic diagram of the result after the present invention uses the scanned data of the model truck 1 to implement step 2;

[0018] Figure 6 A schematic diagram of candidate points in the binary tracking algorithm process used in the present invention;

[0019] Figure 7 This is a schematic diagram of the result of implementing boundary tracking using the scanned data of the model truck 1 in the present invention;

[0020] Figure 8 This is a schematic diagram of the result after the length and width extraction of step 3 is performed using the scanned data of the model truck 1 in the present invention;

[0021] Fig. 9 This is a schematic diagram of the result of height extraction after performing step three using the scan data of the model truck 1 in the present invention. DETAILED DESCRIPTION

[0022] The present invention is further described in detail below with reference to the accompanying drawings and examples:

[0023] To verify the feasibility of the algorithm, based on multi-channel laser radar scanning to obtain data, the target set model used in the present invention is as follows: Figure 2 As shown, the tree is an interference. The parameters of the multi-channel laser scanning are set as follows: 18 emission lines, 120° scanning field of view, and a certain angle between the laser scanning surface and the moving direction of the multi-channel laser scanner. It has been verified that 80 sets of data acquired by multi-channel laser scanning can cover the entire range of the object to be identified. For each object model, the multi-channel laser scanning scans at three motion scanning angles of 30°, 45°, and 60°. To achieve recognition of the target in different orientations, the target is scanned once every 10° rotation around its own z-axis, that is, each motion scanning angle is scanned 36 times.

[0024] The following is a detailed description of the multi-channel laser scanning image recognition method process, as shown in the attached Figure 1 As shown:

[0025] 1. Distance and altitude conversion

[0026] First, establish a mathematical model, as shown in the attached Figure 3 As shown, AB is the direction of motion of the multi-channel laser scanner, and its angle with the ground is ω. The angle between the laser scanning plane AHN and the direction of motion of the multi-channel laser scanner is θ, and the projection of the motion direction on the laser scanning plane is AC. The angles between the laser beams AL, AE, AF, AG and AH and AC are α1, α2, α3, α4, and α5, respectively. From the geometric relationship, it can be seen that the angle between the laser scanning plane AHN and the ground is θ+ω. Taking the laser beam AL as an example, it is calculated as the height value h in the coordinate system of the multi-channel laser scanner. AL The formula is

[0027] h AL =d AL sin(θ+ω)cosα1(1)

[0028] where d AL is the distance value detected by the laser beam AL.

[0029] 2. Object Separation Filter

[0030] Considering that the present invention uses a multi-channel linear array laser to push-scan to obtain multi-line distance values, the angle between adjacent laser beams is large, and the distance between points along the scanning line, that is, the longitudinal interval, is smaller than the distance between transverse lines, that is, the transverse interval. Therefore, the present invention proposes to use a ground extraction method based on the slope of the scanning line to preliminarily realize the separation of ground objects. The slope calculation formula based on the scanning line is:

[0031]

[0032] Where m is the scanning line beam index, n is the scanning frame number index, line is the number of laser beams, and frame is the total number of scanning frames.

[0033] Considering that the actual road surface may be undulating, the threshold Th of the slope between two adjacent points on the scan line is set Sl , threshold Th Sl Take 0.5. When the slope value is less than the threshold, it is considered to be the ground. When the slope value is greater than the threshold, it is considered to be the target boundary or target area, that is:

[0034]

[0035] After the initial ground object separation, the top of the target is flat and has a small slope, which may be judged as a ground point. Therefore, the present invention proposes to use the height difference between non-ground points and ground points to set an appropriate ground object separation threshold to further implement ground object filtering. The specific steps are:

[0036] (1) First, set the grid resolution GR and divide the height image into n grids, which are used as the basic topological structure of the neighborhood search. The grid resolution GR can be 2×2.

[0037] (2) Then take the point P in the current grid ij The points in the grid and its eight neighboring grids are set H, and the ground representative value in set H is searched. The height values ​​in H are sorted and the difference is calculated. The formula is as follows:

[0038] Z t =H t+1 -H t , t=1,2,...,l-1 (4)

[0039] Where t is the point index of the point set H, and l is the number of points in the set. t Select the value that is continuously below the threshold Th z The difference set, threshold Th z Take 0.3m. There may be more than one continuous difference set. The height value of the ground point is relatively large. Select the difference set Z that contains the most ground points and the largest height value. p , Z p The median H of the height values ​​corresponding to the inner points mid As a ground point;

[0040] (3) Calculate the absolute difference between the height of the grid point and the ground point |P ij -H mid | and compare it with the ground feature separation threshold Th, Th is set to 0.5m, and the ground point is identified. The identification formula is shown in formula (5). At the same time, |P ij -H mid |It is also the height value converted to the ground coordinate system.

[0041]

[0042] Where i is the grid index, j is the point in the grid, and k is the number of points in the grid.

[0043] (4) Traverse all grids, find all ground points, and separate ground objects.

[0044] 3. Size Extraction

[0045] (1) Length and width extraction

[0046] After ground object separation, the result Ground is a binary image. The column elements of the binary image are the ground object separation results of the scan data of a single scan line. Figure 4 This is the height image of the scan data when only truck 1 exists in the scanning field of view. The binary result after ground object separation is shown in the attached figure. Figure 5 As shown, the black area is the ground point, the white area is the target point, and each column represents a scan line.

[0047] In order to extract the target area and calculate the size, the present invention proposes a method for boundary tracking and tracking boundary mapping based on binary results to extract the target area, and obtain the length and width size information of the target area by calculating the minimum circumscribed rectangle of the target area.

[0048] The idea of ​​the binary image boundary tracking method is: first, expand a circle of zero-value points on the outermost edge of the image, with the purpose of forming a closed tracking contour for the target at the edge of the image. The algorithm starts scanning pixel by pixel from the upper left corner of the image, and starts sequential tracking when it encounters the target point. The tracking algorithm determines the contour direction based on the position of the previous boundary point, and judges the 5 candidate points in the 8 neighborhoods of the boundary point. The 5 neighborhood candidate points are selected as shown in the attached figure. Figure 6 As shown, find the next boundary point and track until you return to the starting point. When there are multiple target areas, track them one by one. After tracking an area, fill the area with background to avoid tracking into an infinite loop before tracking the next area. Figure 5 The tracking results are as follows Figure 7 shown.

[0049] Considering that the principal component analysis method is not close enough to the target when fitting the minimum enclosing rectangle, and the number of points in the boundary tracking result is small, the convex hull method with more spatial tightness is used to calculate the minimum enclosing rectangle. First, the binary tracking result points are converted to real-world coordinates, and the convex hull is calculated, and then the minimum enclosing rectangle of the convex hull is calculated to extract the length and width of the target. The present invention uses the Andrew algorithm to calculate the convex hull. The basic idea of ​​the Andrew algorithm is to sort the point set according to the x-coordinate, calculate the lower convex hull and the upper convex hull respectively, and finally merge the two convex hulls to obtain the final convex hull. The rotating calcaneal method is used to calculate the minimum enclosing rectangle. The algorithm is based on the idea that the side of the minimum enclosing rectangle must be the side of the convex hull or the two vertices connecting the sides of the convex hull. Starting from a vertex of the convex hull, each side is considered in turn, and the rectangle that wraps the convex hull is calculated for each side. The minimum rectangular area is found during the rotation process, and the length, width and center point of the rectangle corresponding to the minimum area are recorded. Figure 4 Project it onto the ground and attach Figure 7 The boundary tracking result is mapped to the ground projection result to calculate the minimum enclosing rectangle. Figure 8 As shown, Figure 8 (a) is the tracking result, attached Figure 8 (b) is the result after the target area is enlarged, where the minimum bounding rectangle is a parallelogram due to the different resolutions of the horizontal and vertical coordinates, and is actually a rectangle.

[0050] (2) High extraction

[0051] The experimental model used in the present invention has a relatively regular shape, similar to a cuboid, with a basically flat top and a small gradient. Therefore, the height of the top of the target after segmentation can be extracted as the height feature of the target. A method based on morphological external gradient is proposed to extract the height feature.

[0052] Let the height image of the target part be H D , the morphological structure unit is e, the size is 3×3, H DThe morphological external gradient calculation formula is:

[0053] G D =(H D ⊕e)-H D (6)

[0054] After morphological gradient calculation, the flat top position has a smaller gradient value, so the top surface segmentation threshold Th is set. G , Th G It can be taken as 0.5, that is, H D (i,j)≤Th G The point is taken as the top surface point to further extract its height feature.

[0055] The obtained target top surface points are classified by histogram statistics using statistical methods, and the height values ​​are divided into segments with a step length of 0.5m. If a certain height segment appears frequently and has a large height value, then this height segment is very likely to be the main height surface of the top. However, considering that the target top surface is not a completely flat top surface, but has a certain degree of stepping, this article takes the two most frequent height values ​​in the four segments with the largest segment height values ​​to calculate their average height as the height value. If the height segment is less than four segments, the two most frequent height values ​​are taken to calculate the average height value. Figure 8 The height histogram statistics of the target in (b) are shown in the attached figure. Fig. 9 As shown, among the four sections with the largest height values ​​of 2m to 4m, the height values ​​of 2.5m to 3m and 3.5m to 4m appear more frequently, 17 times and 19 times respectively. These two height intervals are used to calculate the target height value.

[0056] 4. Target Identification

[0057] The similarity matching method is based on extracting the length, width, and height data of the target to be measured, and comparing it with the three-dimensional size model of the known target in the predetermined model size database for similarity, and at the same time comparing it with the set threshold to determine whether the target to be measured belongs to the target in the model library.

[0058] Assuming that there are M models in the model size library, the 3D features of the target to be measured are compared with the data in the model library one by one, and the set geometric similarity P is calculated. Si ,i=1,2,...,M, the calculation formula is:

[0059]

[0060] Where S Li , S Wi , S Hi They are the similarity ratios between the target to be identified and the three-dimensional dimensions in the model library:

[0061]

[0062] Among them, L, W, and H are the length, width, and height of the target to be identified, respectively. si , X si , H si are the length, width and height of the i-th target in the model library respectively.

[0063] After comparing one by one, we get P Si The maximum value of

[0064] P Smax =max i=1,2,...,M (P Si ) (9)

[0065] After finding the target to be tested and the target in the model library that is most similar, P Smax Similarity threshold Th with the model P For comparison, the similarity threshold Th P Take 0.8; if P Smax >Th P , then the target to be identified is considered to be the target to be identified; if P Smax <Th P , then the target to be identified is considered not to be the target to be identified.

Claims

1. A multi-channel laser scanning image recognition method based on geometric similarity, characterized in that The following steps are involved:

1. Distance and altitude conversion First, a mathematical model is established. AB is set as the moving direction of the multi-channel laser scanner, and the angle between it and the ground is ω; the angle between the laser scanning plane and the moving direction of the multi-channel laser scanner is θ, the projection of the moving direction on the laser scanning plane is AC, and the angle between the laser beam AL and AC is α1; from the geometric relationship, it can be seen that the angle between the laser scanning plane AHN and the ground is θ+ω, and the height value h in the coordinate system of the multi-channel laser scanner is calculated using the laser beam AL. AL The formula is h AL =d AL sin(θ+ω)cosα1 (1) where d AL is the distance value detected by the laser beam AL; 2. Object Separation Filter It is proposed to use the ground extraction method based on the scan line slope to preliminarily realize the separation of ground objects. The slope calculation formula based on the scan line is: Where m is the scanning line beam index, n is the scanning frame number index, line is the number of laser beams, and frame is the total number of scanning frames; Considering that the actual road surface may be undulating, the threshold Th of the slope between two adjacent points on the scan line is set Sl , threshold Th Sl Take 0.

5. When the slope value is less than the threshold, it is considered to be the ground. When the slope value is greater than the threshold, it is considered to be the target boundary or target area, that is: It is proposed to use the height difference between non-ground points and ground points to set the ground object separation threshold and further realize ground object filtering; the specific steps are as follows: (1) First, set the grid resolution GR and divide the height image into n grids, which are used as the basic topological structure of the neighborhood search. The grid resolution GR is 2×2. (2) Then take the point P in the current grid ij The points in the grid and its eight neighboring grids are set H, and the ground representative value in set H is searched; the height values ​​in H are sorted and the difference is calculated. The formula is as follows: Z t =H t+1 -H t ,t=1,2,…,l-1 (4) Where t is the point index of the point set H, l is the number of points in the set; t Select the value that is continuously below the threshold Th z The difference set, threshold Th z Take 0.3m; there may be more than one continuous difference set, select the difference set Z that contains the most ground points and the largest height value p , Z p The median H of the height values ​​corresponding to the inner points mid As a ground point; (3) Calculate the absolute difference between the height of the grid point and the ground point |P ij -H mid | and compare it with the ground feature separation threshold Th, Th is set to 0.5m, and the ground point is identified. The identification formula is shown in formula (5). At the same time, |P ij -H mid |It is also the height value converted to the ground coordinate system; Where i is the grid index, j is the point in the grid, and k is the number of points in the grid; (4) Traverse all grids, find all ground points, and separate ground objects; 3. Size Extraction (1) Length and width extraction After ground object separation, the result Ground is a binary image, and the column elements of the binary image are the ground object separation results of the scanning data of a single scanning line; A method of boundary tracking and tracking boundary mapping based on binary results is proposed to extract the target area. The length and width information of the target area is obtained by calculating the minimum bounding rectangle of the target area. The idea of ​​the binary image boundary tracking method is as follows: first, a circle of 0-value points is expanded to the outermost part of the image, with the purpose of forming a closed tracking contour for the target at the edge of the image; the algorithm starts to scan pixel by pixel from the upper left corner of the image, and starts sequential tracking when encountering a target point. The tracking algorithm determines the contour direction based on the position of the previous boundary point, and finds the next boundary point by judging the 5 candidate points in the 8-neighborhood of the boundary point, and tracks until it returns to the starting point; when there are multiple target areas, track them one by one. After tracking an area, in order to avoid tracking falling into an infinite loop, the area is filled with background before tracking the next area; The convex hull method with more spatial compactness is used to calculate the minimum enclosing rectangle. First, the binary tracking result points are converted to real-world coordinates, and the convex hull is calculated. Then, the minimum enclosing rectangle of the convex hull is calculated to extract the length and width of the target. The convex hull is calculated using the Andrew algorithm. The basic idea of ​​the Andrew algorithm is to sort the point set according to the x-coordinate, calculate the lower convex hull and the upper convex hull respectively, and finally merge the two convex hulls to obtain the final convex hull. The minimum enclosing rectangle is calculated using the rotating calculus method. This algorithm is based on the idea that the side of the minimum enclosing rectangle must be the side of the convex hull or the two vertices connecting the sides of the convex hull. Starting from a vertex of the convex hull, each side is considered in turn, and the rectangle that wraps the convex hull is calculated for each side. The minimum rectangular area is found during the rotation process, and the length, width and center point of the rectangle corresponding to the minimum area are recorded. (2) High extraction The experimental model used has a relatively regular shape, similar to a cuboid, with a relatively flat top and a small gradient. Therefore, the height of the top of the target after segmentation can be extracted as the height feature of the target. A method based on morphological external gradient is proposed to extract the height feature. Let the height image of the target part be H D , the morphological structure unit is e, the size is 3×3, H D The morphological external gradient calculation formula is: After morphological gradient calculation, the flat top position has a smaller gradient value, so the top surface segmentation threshold Th is set. G , Th G It can be taken as 0.5, that is, H D (i, j)≤Th G The point is taken as the top point to further extract its height feature; The obtained target top surface points are classified by histogram statistics using statistical methods. The height values ​​are divided into segments with a step length of 0.5m. The two most frequent height values ​​in the four segments with the largest segment height values ​​are taken to calculate their average height as the height value. If the height segment is less than four segments, the two most frequent height values ​​are taken to calculate their average height value.

4. Target Identification The similarity matching method is based on extracting the length, width, and height data of the target to be measured, and comparing the data with the three-dimensional size model of the known target in the predetermined model size database, and comparing it with the set threshold to determine whether the target to be measured belongs to the target in the model library; Assume that there are M models in the model size library, compare the 3D features of the target to be measured with the data in the model library one by one, and calculate the set geometric similarity P Si , i=1,2,...,M, the calculation formula is: Where S Li , S Wi , S Hi They are the similarity ratios between the target to be identified and the three-dimensional dimensions in the model library: Among them, L, W, and H are the length, width, and height of the target to be identified, respectively. si , W si , H si are the length, width and height of the i-th target in the model library respectively; After comparing one by one, we get P Si The maximum value of P Smax =max i=1,2,...,M (P Si ) (9) After finding the target to be tested and the target in the model library that is most similar, P Smax Similarity threshold Th with the model P For comparison, if P Smax >Th P , then the target to be identified is considered to be the target to be identified; if P Smax <Th P , then the target to be identified is considered not to be the target to be identified.

Citation Information

Cited By

  • Ecological agriculture management and control method and system based on deep learning and image recognition technology

    CN119693882A