Travel lane line recognition method and related device

By using multi-frame data fusion and precise data processing methods, the problems of missed detection and false detection of lane lines in single-frame LiDAR point cloud recognition have been solved, achieving high-precision lane line recognition under various lighting and weather conditions, which is suitable for the autonomous navigation system of modern intelligent vehicles.

CN119091406BActive Publication Date: 2026-11-27BEIJING LEADING TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411112313.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-14
Publication Date
2026-11-27
Estimated Expiration
2044-08-14

AI Technical Summary

Technical Problem

Existing camera-based lane line recognition technologies are unreliable in low light conditions, and lane line recognition based on single-frame LiDAR point clouds is prone to missed detections and false detections, and it is difficult to distinguish lane lines from other road markings.

Method used

By continuously acquiring laser point cloud and integrated navigation data, data preprocessing and multi-frame point cloud fusion are performed. Point cloud rasterization, ground marking raster initial extraction and other marking filtering are used. Combined with raster clustering, cluster straight line segment fitting and lane straight line segment post-processing, the final lane line is extracted.

Benefits of technology

It improves the continuity and accuracy of lane detection, reduces the false detection rate, ensures high performance at night or in adverse weather conditions, and enhances the reliability and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119091406B_ABST
    Figure CN119091406B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a driving lane line identification method and related equipment, which can improve the accuracy of driving lane line identification. The method comprises: continuously acquiring laser point cloud data and integrated navigation data for a period of time, and performing data preprocessing operations on the laser point cloud data and the integrated navigation data to obtain a plurality of frames of point cloud fusion data; performing point cloud rasterization operations, ground marking grid preliminary extraction operations and other marking filtering operations on the plurality of frames of point cloud fusion data to obtain filtered lane line grids; performing grid clustering operations, cluster straight line segment fitting operations, lane straight line segment post-processing operations and lane line extraction operations based on the filtered lane line grids to obtain final lane lines.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of automatic navigation technology, and in particular to a method and related equipment for recognizing driving lane lines. Background Technology

[0002] Lane recognition is one of the key technologies in autonomous vehicle navigation systems and intelligent vehicle safety assistance systems, playing a crucial role in environmental perception, assisted localization, path planning, motion decision-making, and the creation of high-precision maps. The basic task of lane recognition is to obtain high-precision, real-time lane position information based on environmental perception data collected by sensors, through a series of data analyses and processing.

[0003] Mainstream lane line recognition methods are based on camera-based image processing technology, which has long been favored by scholars and has become an important research topic in the field of computer vision. This technology is relatively mature, but due to the inherent mechanism of cameras, it is easily affected by ambient lighting conditions. Its reliability is significantly compromised when lighting is insufficient, especially at night. With the development of LiDAR technology, coupled with its advantages of high accuracy and independence from weather and lighting conditions, lane line recognition technology based on 3D LiDAR point clouds has received increasing attention. Current LiDAR-based recognition algorithms mostly utilize single-frame point clouds for processing. However, the data continuity of single frames in general multi-line radar is low, easily leading to missed detections and low recall rates. Furthermore, it is susceptible to outliers, sensitive to noise, and struggles to distinguish lane lines from other road markings such as pedestrian crossings or guide lines, resulting in high false detection rates. Summary of the Invention

[0004] This application provides a method and related equipment for identifying driving lane lines, which can accurately identify driving lane lines from traffic signs and reduce the false detection rate of driving lane lines.

[0005] A first aspect of this application provides a method for recognizing driving lane lines, the method comprising:

[0006] Continuously acquire laser point cloud data and combined navigation data for a period of time, and perform data preprocessing operations on the laser point cloud data and combined navigation data to obtain multi-frame point cloud fusion data;

[0007] The above multi-frame point cloud fusion data is subjected to point cloud rasterization, preliminary extraction of ground marking raster, and other marking filtering operations to obtain filtered lane line raster.

[0008] Based on the filtered lane line grid, perform grid clustering, cluster straight line segment fitting, lane straight line segment post-processing, and lane line extraction operations to obtain the final lane lines.

[0009] In one feasible implementation, the above-mentioned data preprocessing operation on the laser point cloud data and the above-mentioned combined navigation data to obtain multi-frame point cloud fusion data includes:

[0010] The above laser point cloud data is converted to vehicle coordinates according to the calibration parameters to obtain vehicle coordinate laser point cloud data;

[0011] The above vehicle coordinate laser point cloud data was processed using a ray-based ground segmentation method to filter out obstacle point clouds in order to obtain filtered laser point cloud data.

[0012] Based on the above-mentioned combined navigation data, the filtered laser point cloud data is fused according to the coordinate transformation relationship to obtain the above-mentioned multi-frame point cloud fused data.

[0013] In one feasible implementation, the above-mentioned point cloud rasterization operation, preliminary ground marking raster extraction operation, and other marking filtering operations on the above-mentioned multi-frame point cloud fusion data to obtain filtered lane line raster includes:

[0014] The above multi-frame point cloud fusion data is subjected to point cloud rasterization, and the raster attribute information is determined. The above raster attribute information is determined based on the arithmetic mean of the reflection intensity and coordinate Z value of the above multi-frame point cloud fusion data.

[0015] The above-mentioned grid attributes are subjected to a pass-through filtering method to perform a preliminary extraction operation of the ground marking grid to obtain candidate lane line grids;

[0016] Further lane line filtering operations are performed on the above candidate lane line grids based on the grid erosion algorithm to obtain the filtered lane line grids.

[0017] In one feasible implementation, the above-mentioned additional lane line filtering operation on the candidate lane line grid based on the grid erosion algorithm to obtain the filtered lane line grid includes:

[0018] The scanning window traverses and determines at least two candidate lane line grids in a first traversal direction and a second traversal direction to delete other lane line grids in the scanning window. The scanning window is located at the starting side of the traversal direction of the currently traversed valid grid. The first traversal direction and the second traversal direction are both perpendicular to the driving lane lines and point to each other.

[0019] The remaining candidate lane line grids are used as the filtered lane line grids described above.

[0020] In one feasible implementation, a reserved interval is provided between the aforementioned scanning window and the currently traversed valid grid, the reserved interval being determined according to the line width of the aforementioned driving lane line, so as to retain the valid grid within the reserved interval.

[0021] In one feasible implementation, it further includes:

[0022] The filtered lane line grid is then further optimized using a spatial density method.

[0023] In one feasible implementation, the above-mentioned operations of raster clustering, cluster straight segment fitting, lane straight segment post-processing, and lane line extraction based on the filtered lane line raster to obtain the final lane lines include:

[0024] The filtered lane line grid is subjected to a grid clustering operation based on the main direction distance clustering method to obtain preliminary clustering results;

[0025] The preliminary clustering results were used to perform a cluster line segment fitting operation using the least squares method to obtain the lane line coarse extraction results.

[0026] The lane line coarse extraction results are subjected to lane straight segment post-processing based on coefficient difference and preset threshold to obtain lane line cluster merging results;

[0027] The lane line cluster merging results above are used to extract lane lines based on the least squares rule, and the obtained fitted cubic curves are determined as the final lane lines.

[0028] A second aspect of this application provides a driving lane line recognition device, the device comprising:

[0029] The first acquisition unit is used to continuously acquire laser point cloud data and combined navigation data for a period of time, and to perform data preprocessing operations on the laser point cloud data and the combined navigation data to obtain multi-frame point cloud fusion data.

[0030] The second acquisition unit is used to perform point cloud rasterization, ground marking raster preliminary extraction and other marking filtering operations on the above multi-frame point cloud fusion data to obtain the filtered lane line raster.

[0031] The third acquisition unit is used to perform grid clustering, cluster straight line segment fitting, lane straight line segment post-processing, and lane line extraction operations based on the filtered lane line grid to obtain the final lane lines.

[0032] A third aspect of this application provides an electronic device, which includes at least one processor and at least one memory connected to the processor, wherein the processor is configured to call program instructions in the memory to execute the driving lane line recognition method described in any of the first aspects.

[0033] A fourth aspect of this application provides a storage medium including a stored program, wherein, when the program is executed, the device on which the storage medium is located executes the driving lane line recognition device method described in any of the first aspects.

[0034] In summary, the lane line recognition method provided in this application includes: continuously acquiring laser point cloud data and combined navigation data for a period of time, and performing data preprocessing operations on the laser point cloud data and the combined navigation data to obtain multi-frame point cloud fusion data; performing point cloud rasterization, preliminary extraction of ground marking raster, and other marking filtering operations on the multi-frame point cloud fusion data to obtain filtered lane line raster; and performing raster clustering, cluster straight line segment fitting, lane straight line segment post-processing, and lane line extraction operations based on the filtered lane line raster to obtain the final lane line. The method proposed in this application solves the problems of missed detection and continuity that are easily caused by single-frame point cloud data through multi-frame data fusion, greatly improving the continuity and accuracy of lane line detection. Through precise data preprocessing and rasterization, non-lane line elements are effectively filtered out, reducing false detections caused by environmental factors. Compared with camera-based lane line recognition technology, this solution is not limited by lighting and weather conditions, and can maintain high performance even at night or in adverse weather conditions, enhancing the reliability and stability of the system. In summary, this solution provides a more accurate, stable, and practically valuable lane line recognition method suitable for the autonomous navigation systems of modern intelligent vehicles, which helps improve the safety and efficiency of autonomous driving technology.

[0035] Correspondingly, the driving lane line device, electronic device, and computer-readable storage medium provided in the embodiments of this application also have the above-mentioned technical effects. Attached Figure Description

[0036] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the scope of this application. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:

[0037] Figure 1 A schematic flowchart illustrating a driving lane line recognition method provided in an embodiment of this application;

[0038] Figure 2 A schematic diagram illustrating the principle of a driving lane line recognition method provided in an embodiment of this application;

[0039] Figure 3 A schematic comparison diagram of radar point cloud data provided for an embodiment of this application;

[0040] Figure 4 A schematic comparison diagram of a raster image before and after filtering provided for an embodiment of this application;

[0041] Figure 5 A schematic structural block diagram of a driving lane line recognition device provided in an embodiment of this application;

[0042] Figure 6 A schematic hardware structure diagram of a driving lane line recognition device provided in this application embodiment;

[0043] Figure 7 A schematic structural block diagram of an electronic device provided in an embodiment of this application;

[0044] Figure 8 This is a schematic structural block diagram of a computer-readable storage medium provided in an embodiment of this application. Detailed Implementation

[0045] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus. The technical solutions of the embodiments of this application will now be clearly and completely described in conjunction with the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them.

[0046] Please see Figure 1 This is a schematic flowchart illustrating a lane line recognition method provided in an embodiment of this application. Figure 2 This is a schematic diagram illustrating the principle of a driving lane line recognition method provided in an embodiment of this application, which may specifically include: S110-S130.

[0047] S110. Continuously acquire laser point cloud data and combined navigation data for a period of time, and perform data preprocessing operations on the laser point cloud data and the combined navigation data to obtain multi-frame point cloud fusion data.

[0048] For example, since the lidar on the vehicle body generally scans the environment and sends point cloud data at a certain frequency (such as 10Hz), the amount of data in the above multi-frame point cloud grid map is different in different vehicle states. Figure 3 A schematic comparison diagram of radar point cloud data provided for an embodiment of this application, such as... Figure 3 As shown in the figure, this is an example of 20 frames of data within a 2-second duration. Figure 3 (a) The vehicle is traveling at a normal speed. Figure 3 (b) As shown in the figure, when vehicles stop at the intersection waiting for the traffic light, the point cloud coverage is significantly lower when vehicles are stopped compared to when they are moving normally, indicating insufficient effective point cloud coverage. Therefore, when vehicles are moving normally, the N closest point cloud frames in time can be quickly retrieved. When vehicles are moving slowly, the aforementioned N point cloud frames have highly overlapping positions, resulting in significant data redundancy and insufficient effective information. Therefore, effective point cloud coverage should be obtained by considering both temporal and spatial relationships. Taking into account both point cloud effectiveness and computational complexity, more recent historical data can be selected, while point clouds from more recent times but with lower speeds can be deleted.

[0049] The method proposed in this application continuously collects point cloud data generated by LiDAR and integrated navigation data. Navigation data may include GPS information, inertial measurement unit (IMU), etc., which help determine the vehicle's precise position and orientation. The collected data is preprocessed to integrate multi-frame data, improving continuity in single-frame data, reducing data noise, and enhancing data quality. This step is crucial for subsequent lane line recognition, as it provides a clearer and more continuous point cloud foundation for accurate identification.

[0050] S120. Perform point cloud rasterization, ground marking raster preliminary extraction, and other marking filtering operations on the above multi-frame point cloud fusion data to obtain the filtered lane line raster.

[0051] For example, after data preprocessing, this step first performs point cloud rasterization, converting the point cloud into a raster image to simplify the data structure and improve subsequent processing speed. Next, preliminary extraction of ground marking raster is performed; this step mainly involves identifying and separating raster regions that may belong to lane lines. By filtering out non-lane markings (such as pedestrian crossings, guide lines, and other markings), this step significantly reduces the possibility of false detections and improves the accuracy of identification.

[0052] S130. Based on the filtered lane line grid, perform grid clustering, cluster straight line segment fitting, lane straight line segment post-processing, and lane line extraction operations to obtain the final lane lines.

[0053] For example, the obtained filtered lane line grid is further processed by a clustering algorithm to form clusters. Straight line segments are fitted to each cluster, and then these segments are post-processed to merge segments belonging to the same lane. Finally, through fitting and post-processing operations, clear and accurate lane lines are extracted.

[0054] In summary, the method proposed in this application solves the problems of missed detections and continuity issues easily caused by single-frame point cloud data through multi-frame data fusion, greatly improving the continuity and accuracy of lane line detection. Through precise data preprocessing and rasterization, non-lane line elements are effectively filtered out, reducing false detections caused by environmental factors. Compared with camera-based lane line recognition technology, this solution is not limited by lighting and weather conditions, maintaining high performance even at night or in adverse weather conditions, enhancing the reliability and stability of the system. In conclusion, this solution provides a more accurate, stable, and highly practical lane line recognition method suitable for the autonomous navigation systems of modern intelligent vehicles, contributing to improved safety and efficiency of autonomous driving technology.

[0055] In some examples, the above-mentioned data preprocessing operations on the laser point cloud data and the above-mentioned integrated navigation data to obtain multi-frame point cloud fusion data include:

[0056] The above laser point cloud data is converted to vehicle coordinates according to the calibration parameters to obtain vehicle coordinate laser point cloud data;

[0057] The above vehicle coordinate laser point cloud data was processed using a ray-based ground segmentation method to filter out obstacle point clouds in order to obtain filtered laser point cloud data.

[0058] Based on the above-mentioned combined navigation data, the filtered laser point cloud data is fused according to the coordinate transformation relationship to obtain the above-mentioned multi-frame point cloud fused data.

[0059] For example, the system needs to perform calibration parameter transformation on the collected laser point cloud data, that is, transform the point cloud data from its original coordinate system (usually the coordinate system inherent to the LiDAR device) to the vehicle's coordinate system. This transformation is based on the vehicle's own positioning system (such as GPS and IMU combined navigation data) to ensure that the point cloud data is aligned with the vehicle's actual position and attitude. Doing so can improve the accuracy of subsequent processing, especially in complex traffic environments.

[0060] After converting the point cloud data to vehicle coordinates, the next step is ground segmentation. A ray-based ground segmentation method is used here, which utilizes the relative angle between the rays emitted from the LiDAR and the ground to distinguish between ground and non-ground point clouds (i.e., obstacles). This method effectively filters out obstacle point clouds from the vehicle coordinate LiDAR point cloud data, leaving only the main ground point cloud, which is crucial for subsequent lane detection.

[0061] Finally, the obstacle-filtered laser point cloud data is combined with the integrated navigation data to perform multi-frame point cloud data fusion. This step involves coordinate transformation based on timestamps and spatial locations, fusing point cloud data acquired at different times into the current time within the same vehicle coordinate system. Through this fusion, a more continuous and complete point cloud dataset in both time and space can be constructed, laying the foundation for accurate lane line recognition.

[0062] Specifically, the installation position and angle of the lidar sensor will deviate to some extent from the ideal state. Therefore, before performing ground segmentation, the original point cloud in the lidar coordinate system must be converted to the vehicle coordinate system in combination with the lidar calibration parameters.

[0063] The coordinate systems include the lidar coordinate system L_xyz, the vehicle body coordinate system V_xyz, and the world coordinate system W_xyz. Data processing of multi-frame point clouds is performed at the current time (denoted as T). now The conversion is performed in the vehicle coordinate system, but the point clouds in V_xyz at different times cannot be directly converted; they need to be achieved using the world coordinate system W_xyz. A complete conversion from the original point cloud to T... now The transformation relationship of time V_xyz is as follows:

[0064]

[0065] in: In T i At any given time, the transformation matrix from the radar coordinate system L_xyz to the vehicle coordinate system V_xyz is obtained by transforming the calibration parameters;

[0066] In T i At time T, the transformation matrix from the vehicle coordinate system V_xyz to the world coordinate system W_xyz is given by T. i Provides combined navigation data for each moment;

[0067] In T now At time T, the transformation matrix from the world coordinate system W_xyz to the vehicle body coordinate system V_xyz is given by T. now Provides combined navigation data for each moment;

[0068] [XYZ]L : The coordinates of the point cloud (i.e., lidar data points) in the radar coordinate system L_xyz;

[0069] In T now At any given moment, the coordinates of any point cloud after transformation to the vehicle body coordinate system V_xyz.

[0070] All of the above transformations are Euclidean transformations, which include rotation and translation, and the transformation matrix is ​​R = f(roll,pitch,yaw,ΔX,ΔY,ΔZ).

[0071] For each frame of point cloud, an obstacle point cloud is filtered out using a ray-based ground segmentation method. This removes moving targets such as vehicles and pedestrians on the road surface, as well as stationary targets such as trees, streetlights, and signs, reducing interference information to facilitate lane line recognition. However, considering the complexity of the road environment and the limitations of the ground segmentation algorithm, the resulting filtered laser point cloud data contains a large amount of effective surface point data, but still includes a small amount of non-ground point data such as curbs, sidewalks, and green belts, requiring further filtering and selection.

[0072] In some examples, the above-mentioned point cloud fusion data undergoes point cloud rasterization, preliminary ground marking raster extraction, and other marking filtering operations to obtain filtered lane line raster, including:

[0073] The above multi-frame point cloud fusion data is subjected to point cloud rasterization, and the raster attribute information is determined. The above raster attribute information is determined based on the arithmetic mean of the reflection intensity and coordinate Z value of the above multi-frame point cloud fusion data.

[0074] The above-mentioned grid attributes are subjected to a pass-through filtering method to perform a preliminary extraction operation of the ground marking grid to obtain candidate lane line grids;

[0075] Further lane line filtering operations are performed on the above candidate lane line grids based on the grid erosion algorithm to obtain the filtered lane line grids.

[0076] For example, multi-frame point cloud fusion data is rasterized, converting continuous point cloud data into discrete raster images, where each raster represents point cloud information within a certain spatial region. The attribute information of a raster is determined by calculating the arithmetic mean of the reflection intensity and Z-coordinate value of all point clouds within that raster. This transformation not only simplifies the data structure, making it easier to process, but also helps to more accurately identify and analyze lane lines in subsequent steps.

[0077] After the point cloud is rasterized, the next step is to extract the ground marking grid. This step uses a pass-through filtering method, which selects grids that may represent ground markings based on grid attribute information, such as reflectance intensity and Z-value. Ground markings are generally made of reflective paint, and the reflectance intensity of their point cloud is generally significantly stronger than that of other parts of the ground; at the same time, the ground height (Z-value) is generally at the lowest point in the environment, while other objects are generally above the ground, and their Z-values ​​are also higher than the ground. In this example, point cloud data points with reflectance intensity above a certain threshold and Z-value below a certain threshold can be selected for pass-through filtering. This filtering process generates a set of candidate lane line grids, providing candidate regions for further identification of actual lane lines.

[0078] Finally, the candidate lane line rasters are further filtered using a raster erosion algorithm to remove rasters that may represent non-lane markings (such as pedestrian crossings or other road markings). The raster erosion algorithm effectively removes isolated or atypical lane line markers by analyzing the spatial relationships and attribute continuity around the rasters, thereby refining the lane line point cloud data. The result of this step is the obtained filtered lane line rasters, which will be used for the final lane line extraction and recognition.

[0079] Specifically, select the two-dimensional region of interest (xmin, xmax, ymin, ymax) in the vehicle coordinate system V_xyz and the grid size (pixel). x ,pixel y For laser points falling within the same grid, the arithmetic mean of their reflection intensity and coordinate Z value is calculated and used as the attribute value of that grid.

[0080] In the raster coordinate system P_uv, the region of interest takes the value u∈[0,u max ],v∈[0,v max ],in

[0081]

[0082] LiDAR reflects light differently to different materials. The reflection intensity at traffic markings is significantly higher than that on ordinary roads. Therefore, a suitable threshold can be selected and a pass-through filtering method can be used to obtain candidate lane line grids.

[0083] Road traffic markings include various lines, arrows, text, and patterns. These markings exhibit consistent reflectivity. Furthermore, the reflectivity characteristics of roadside green belts are similar to those of traffic markings. It should also be noted that the geometric characteristics of the curb cause the incident angle of a laser beam to approach a right angle, resulting in a higher reflectivity than the road surface and closer to that of traffic markings. Therefore, it is necessary to identify lane line grids from various markings and interfering information such as green belts and curbs.

[0084] Identifying lane line grids from candidate grids involves two steps. First, a grid erosion algorithm is used to remove most of the non-lane line markings in areas such as stop lines, directional arrows, pedestrian crossings, and green belts. Then, isolated points in non-lane line areas are removed based on the spatial density of the grid points.

[0085] In some examples, the aforementioned candidate lane line grids are subjected to further lane marking filtering operations based on a grid erosion algorithm to obtain filtered lane line grids, including:

[0086] The scanning window traverses and determines at least two candidate lane line grids in a first traversal direction and a second traversal direction to delete other marking grids in the scanning window, i.e. non-lane first grids. The scanning window is located at the starting side of the traversal direction of the currently traversed valid grids. The first traversal direction and the second traversal direction are both perpendicular to the driving lane lines and point to each other.

[0087] The remaining candidate lane line grids are used as the filtered lane line grids described above.

[0088] For example, such as Figure 4 The image shows a multi-frame point cloud raster image before filtering. The point cloud in the image represents traffic signs. It can be seen that the areas between the lane lines and stop lines, directional arrows, and pedestrian crossings on both sides do not contain the aforementioned valid raster. Figure 4 In diagram 'a', the two white arrows represent the first and second traversal directions, respectively. The scan window is located at the starting side of the traversal direction of the currently traversed valid grid. For example, when... Figure 4 When traversing the valid grid cells to the left of line A in line a, the scan window is located to the left of the currently traversed valid grid cells. Correspondingly, when... Figure 4 When traversing the valid grid cells to the right of line A in line a, the scan window is located to the right of the currently traversed valid grid cells.

[0089] Specifically, the raster erosion algorithm includes:

[0090] (1) Each row of the above multi-frame point cloud raster image can be divided using formula (1):

[0091] v half =int(v max / 2)+1 (1)

[0092] Where v represents the y-axis direction of the above multi-frame point cloud raster image, v max This represents the length range along the y-axis of the above multi-frame point cloud raster image, v half This represents the median value along the y-axis of the above multi-frame point cloud raster image.

[0093] Formula (1) can be used to divide the above multi-frame point cloud raster into two equal parts, left and right.

[0094] (2) For v≤v half Iterate from v=0 to v=v half When Cand i (u i v i If ) = 1, then there exists a valid grid point p that can be traversed. i (u i v i When ), the following range is defined:

[0095]

[0096] The determination method is as follows: for any grid point p w (u w v w If it falls within the range satisfying formula (2), it is determined to be another marking grid, i.e., a non-driving lane marking grid, and p is then... w (u w v w Remove from the candidate lane line grid. Where u represents the x-axis direction of the multi-frame point cloud raster image, and v represents the y-axis direction of the multi-frame point cloud raster image. and This indicates the range of the aforementioned scanning window.

[0097] (3) Same as step (2), for v > v half From v = v max Start traversing up to v = v half -1, when Cand i (u i v i ) = 1, grid point p i (u i v i When ) exists, in the above scanning window, the range of u is the same as in step (2), and the range of v is as follows:

[0098]

[0099] The determination method is, if p i (u i v i If ) represents the grid points of the driving lane line, then the grid points p within the window range that satisfy formula (3) w (u w v w If a line is identified as another lane marking grid, i.e., a non-driving lane marking grid, then p will be... w (u w ,v wRemove from the alternative lane line grid.

[0100] (4) Repeat steps (2) and (3) to complete the traversal of all raster rows in the multi-frame point cloud raster map.

[0101] In some examples, a reserved interval is set between the scanning window and the currently traversed valid grid, the reserved interval being determined based on the line width of the driving lane line, in order to retain the valid grid within the reserved interval.

[0102] For example, by setting a reserved interval between the scanning window and the currently traversed valid grid, the reserved interval is related to the line width of the driving lane line. In this way, the driving lane line finally obtained during the traversal has a certain width, which can be better distinguished from other traffic signs, thereby improving the accuracy of recognition.

[0103] A reserved interval can be set between the scanning window and the currently traversed valid grid, retaining the valid grid within the reserved interval. For example, the above formulas (2) and (3) can be transformed into the following forms respectively:

[0104]

[0105] in, This indicates the reserved interval mentioned above, and laneWidthThr indicates the width of the driving lane line.

[0106] In some examples, it also includes:

[0107] The filtered lane line grid is then further optimized using a spatial density method.

[0108] For example, after running the raster erosion algorithm, a small number of isolated non-lane line regions may still exist in the filtered candidate lane line raster. These are removed using a spatial density-based method. Spatial density can be calculated using conventional methods, such as directly counting the number of lane line raster points in the neighborhood or using inverse distance squared methods, kernel density, etc. It is important to note that the neighborhood selection here should consider lane line characteristics. In this example, the neighborhood values ​​are density_wx = 3 and density_wy = 0.3, in meters. Figure 4 The image shows example data of candidate grids and filtered lane line grids. In the figure, (a) and (b) are: candidate grids on the left and filtered lane line grids on the right.

[0109] In some examples, the above-mentioned operations, including raster clustering, cluster straight line segment fitting, lane straight line segment post-processing, and lane line extraction, are performed based on the filtered lane line raster to obtain the final lane lines.

[0110] The filtered lane line grid is subjected to a grid clustering operation based on the main direction distance clustering method to obtain preliminary clustering results;

[0111] The preliminary clustering results were used to perform a cluster line segment fitting operation using the least squares method to obtain coarse lane line extraction results.

[0112] The lane line coarse extraction results are subjected to lane straight segment post-processing based on coefficient difference and preset threshold to obtain lane line cluster merging results;

[0113] The lane line cluster merging results are used to extract lane lines based on the least squares rule, and the obtained fitted cubic curves are determined as the final lane lines.

[0114] For example, a raster clustering operation is performed on the filtered lane line grid. This step uses a clustering method based on principal direction distance. This method focuses on identifying and grouping graticules that are close in distance along the principal direction, forming preliminary clustering results. This clustering method helps distinguish the positions of different lane lines and provides initial grouping for subsequent line segment fitting.

[0115] For each cluster's grid, a least-squares method is used to fit straight line segments, thus obtaining a coarse extraction of lane lines. The least-squares method determines the best-fit line by minimizing the sum of squared errors, providing a mathematically precise way to represent the geometry of each cluster. Transforming scattered grid points into an organized linear form lays the foundation for further processing.

[0116] The coarse extraction results of lane lines are used for post-processing of straight lane segments based on coefficient differences and preset thresholds. The geometric coefficients (such as slope and intercept) of each straight segment are compared, and whether adjacent straight segments are merged is determined based on whether the differences between these coefficients are below a preset threshold. This reduces lane line breaks caused by grid discontinuities or noise, improving the continuity and integrity of lane lines.

[0117] Finally, the lane line cluster merging results were used to extract lane lines using the least squares method, and then a cubic curve was fitted to determine the final lane lines. Cubic curve fitting provides sufficient flexibility to adapt to various curves and variations on the road, ensuring that the lane line model is both accurate and capable of describing complex road conditions. This high-order polynomial fitting ultimately determines the geometric representation of the lane lines, providing an important visual foundation for navigation and driving decisions.

[0118] Specifically, based on the geometric features of the lane lines, grid clustering is performed using a principal direction distance-based clustering method (PDC). The distance metric for PDC is the principal direction distance vector D, where for any n-dimensional point, D = (d1, d2, ..., dn). n Accordingly, the threshold vector is THR = (thr1, thr2, ..., thr n In this invention, for a two-dimensional grid point, its principal direction distance vector is:

[0119]

[0120] Where θ is the angle between the principal direction and the X-axis of the coordinate system, with the counterclockwise direction being positive, and its value range is [-π, π).

[0121] In reality, traffic signs are straight lines or curves with a certain width and length. Therefore, in this embodiment, the main direction of the driving lane grid clustering can be set as the vehicle's forward direction and the vehicle's horizontal direction perpendicular to it. Then, in the above formula (6), θ is the angle between the vehicle's x-axis and the vehicle's forward direction. Since vehicles generally move along the driving lane direction, θ = 0. Then, in formula (6), d1 and d2 are x and y respectively, that is, the main direction distance vector D = (x, y), and the threshold vector is THR = (thr x ,thr y Based on the actual situation, thr x The value can be greater than the longitudinal distance of the lane travel line, such as 6m. y The value can be determined based on the length of each grid cell, for example, it can be 0.15m.

[0122] The clustering implementation process is as follows:

[0123] (1) Definition of PD(THR) neighborhood: In the filtered lane line grid, for any grid point p0(u0, v0), if the grid point p i (u i v i )satisfy

[0124]

[0125] in, Then p i For a given grid point p0, the PD(THR) neighborhood is all points within its neighborhood that satisfy the condition. i A set of points;

[0126] (2) Select any grid point p1 as a first-level seed point, and use the grid index to perform a PD(THR) neighborhood search, and select the points in the neighborhood (denoted as p1).11 p 12 p 13 ...) are grouped into the same cluster and placed into class Q1, and the neighboring points are marked as processed points, and these neighboring points are recorded as secondary seed points;

[0127] (3) Using the second-level seed points in class Q1 as seed points, repeat step (2) to perform neighborhood search, and record the obtained neighborhood points as third-level seed points;

[0128] (4) Continue this process in a loop until no new points are added to class Q1, thus completing the clustering of Q1;

[0129] (5) Get the total number of points num in cluster Q1. If num > N_min, then retain cluster Q1.

[0130] (6) Select another unprocessed grid point p2 and repeat steps (2-5) to complete the clustering of Q2 until all grid points are clustered.

[0131] For each cluster Q in the above clustering results, lane lines are coarsely extracted using the least squares method. Cluster Q contains n points p. i (x i y i Given a group (i = 1, 2, 3, ..., n), we want to fit it to a straight line. The expression for the straight line is:

[0132] h C (x)=C0+C1x (8)

[0133] Where C = (C0, C1) are the parameters to be determined. The objective function is the sum of squared residuals.

[0134]

[0135] The value of the parameter C that is to be found is the value that is minimized when the objective function is minimized.

[0136] For lane lines coarsely extracted to obtain multiple straight lines, if the coefficient difference (dC0, dC1) between two straight lines is less than a certain threshold, they are considered to belong to the same lane line. Then, the clusters corresponding to the multiple fitted straight lines belonging to the same lane line are merged, and a new fitted straight line is obtained by refitting. This is then compared with other fitted straight lines until no straight lines can be merged.

[0137] The width of each lane on a road is generally 3.5 to 3.75 meters, and the width of each lane in a diverging lane at an intersection is generally 2.3 to 2.5 meters. Based on this, some misidentified straight segments, such as directional signs, can be filtered out. The merged lane-fitted straight lines are sorted in descending order of segment length and processed sequentially. For two line segments that are close to each other, the shorter line segment is considered to be a non-lane line area and is deleted.

[0138] Finally, the post-processed clusters are fitted with a cubic curve h based on the least squares rule. C (x)=C0+C1x+C1x 2 That is, the final lane markings.

[0139] Please see Figure 5 One embodiment of the driving lane line recognition device described in this application may include:

[0140] The first acquisition unit 401 is used to continuously acquire laser point cloud data and combined navigation data for a period of time, and to perform data preprocessing operations on the laser point cloud data and the combined navigation data to obtain multi-frame point cloud fusion data.

[0141] The second acquisition unit 402 is used to perform point cloud rasterization operation, ground marking raster preliminary extraction operation and other marking filtering operation on the above multi-frame point cloud fusion data to obtain the filtered lane line raster.

[0142] The third acquisition unit 40 is used to perform grid clustering, cluster straight line segment fitting, lane straight line segment post-processing, and lane line extraction operations based on the filtered lane line grid to obtain the final lane line.

[0143] above Figure 5 The lane line recognition device in this application embodiment has been described from the perspective of modular functional entities. The following is a detailed description of the lane line recognition device in this application embodiment from the perspective of hardware processing. Please refer to... Figure 6 This application provides a schematic hardware structure diagram of a lane line recognition device. The lane line recognition device 500 includes:

[0144] The system includes an input device 501, an output device 502, a processor 503, and a memory 504, wherein the number of processors 503 can be one or more. Figure 5 Taking a processor 503 as an example. In some embodiments of this application, the input device 501, output device 502, processor 503, and memory 504 can be connected via a bus or other means, wherein... Figure 6 Taking the example of a connection between China and Israel via a bus.

[0145] Specifically, by calling the operation instructions stored in memory 504, processor 503 is used to execute the steps of the lane line recognition method described in any of the first aspects above.

[0146] For specific implementation details, please refer to [link / reference]. Figure 7 , Figure 7This is a schematic structural block diagram of an electronic device provided in an embodiment of this application. When the processor 620 executes the computer program 611 in the memory 610, it can achieve... Figure 1 Any one of the corresponding implementation methods in the embodiments. Since the electronic device described in this embodiment is a device used to implement a system resource management device in the embodiments of this application, those skilled in the art can understand the specific implementation method and its various variations of the electronic device in this embodiment based on the method described in the embodiments of this application. Therefore, how the electronic device implements the method in the embodiments of this application will not be described in detail here. Any device used by those skilled in the art to implement the method in the embodiments of this application falls within the scope of protection of this application.

[0147] Please see Figure 8 , Figure 8 This is a schematic diagram illustrating an embodiment of a computer-readable storage medium provided in this application.

[0148] like Figure 8 As shown, this embodiment provides a computer-readable storage medium 700 on which a computer program 711 is stored. When the computer program 711 is executed by a processor, it implements the steps of the lane line recognition method as proposed in any of the first aspects above.

[0149] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0150] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0151] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0152] This application also provides a computer program product, which includes computer software instructions that, when executed on a processing device, cause the processing device to perform actions such as... Figure 1 The process of the lane line recognition method in the corresponding embodiment.

[0153] The aforementioned computer program product includes one or more computer instructions. When the aforementioned computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The aforementioned computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The aforementioned computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the aforementioned computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The aforementioned computer-readable storage medium may be any available medium that a computer can store or a data storage device such as a server or data center that integrates one or more available media. The aforementioned available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks (SSDs)).

[0154] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0155] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units through some interfaces, and may be electrical, mechanical, or other forms.

[0156] The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0157] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0158] If the aforementioned integrated units are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0159] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or make equivalent substitutions for some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for recognizing driving lane lines, characterized in that, include: Continuously acquire laser point cloud data and combined navigation data for a period of time, and perform data preprocessing operations on the laser point cloud data and the combined navigation data to obtain multi-frame point cloud fusion data; Perform point cloud rasterization, preliminary extraction of ground marking raster, and other marking filtering operations on the multi-frame point cloud fusion data to obtain filtered lane line raster. Based on the filtered lane line grid, perform grid clustering, cluster straight line segment fitting, lane straight line segment post-processing, and lane line extraction operations to obtain the final lane lines. The step of performing point cloud rasterization, preliminary ground marking raster extraction, and other marking filtering operations on the multi-frame point cloud fusion data to obtain filtered lane line raster includes: The multi-frame point cloud fusion data is subjected to point cloud rasterization, and the raster attribute information is determined. The raster attribute information is determined based on the arithmetic mean of the reflection intensity and the Z coordinate value of the multi-frame point cloud fusion data. A pass-through filtering method is used to perform a preliminary extraction operation of the ground marking grid on the grid attributes to obtain candidate lane line grids. The scanning window traverses and determines at least two candidate lane line grids in a first traversal direction and a second traversal direction to delete other lane line grids in the scanning window. The scanning window is located at the starting side of the traversal direction of the currently traversed valid grid. The first traversal direction and the second traversal direction are both perpendicular to the driving lane lines and point to each other. The remaining candidate lane line grids are used as the filtered lane line grids.

2. The driving lane line recognition method according to claim 1, characterized in that, The data preprocessing operation on the laser point cloud data and the combined navigation data to obtain multi-frame point cloud fusion data includes: The laser point cloud data is converted to vehicle coordinates according to calibration parameters to obtain vehicle coordinate laser point cloud data; The obstacle point cloud data is filtered out using a ray-based ground segmentation method on the vehicle body coordinate laser point cloud data to obtain the filtered laser point cloud data. Based on the combined navigation data, the filtered laser point cloud data is fused according to the coordinate transformation relationship to obtain the multi-frame point cloud fused data.

3. The driving lane line recognition method according to claim 1, characterized in that, A reserved interval is provided between the scanning window and the currently traversed valid grid. The reserved interval is determined according to the line width of the driving lane line in order to retain the valid grid within the reserved interval.

4. The driving lane line recognition method according to claim 1, characterized in that, Also includes: The filtered lane line grid is then further optimized using a spatial density method.

5. The driving lane line recognition method according to claim 1, characterized in that, The process of performing grid clustering, cluster straight segment fitting, lane straight segment post-processing, and lane line extraction operations based on the filtered lane line grid to obtain the final lane lines includes: The filtered lane line grid is subjected to a grid clustering operation based on the main direction distance clustering method to obtain preliminary clustering results; The preliminary clustering results are subjected to a cluster line segment fitting operation using the least squares method to obtain the lane line coarse extraction results; The lane line coarse extraction results are subjected to lane straight segment post-processing operation based on coefficient difference and preset threshold to obtain lane line cluster merging results; The lane line cluster merging results are used to extract lane lines based on the least squares rule, and the obtained fitted cubic curve is determined as the final lane line.

6. A lane line recognition device, characterized in that, include: The first acquisition unit is used to continuously acquire laser point cloud data and combined navigation data for a period of time, and to perform data preprocessing operations on the laser point cloud data and the combined navigation data to obtain multi-frame point cloud fusion data. The second acquisition unit is used to perform point cloud rasterization, preliminary extraction of ground marking raster, and other marking filtering operations on the multi-frame point cloud fusion data to obtain filtered lane line raster. The third acquisition unit is used to perform grid clustering, cluster straight line segment fitting, lane straight line segment post-processing and lane line extraction operations based on the filtered lane line grid to obtain the final lane line. The second acquisition unit is used for: The multi-frame point cloud fusion data is subjected to point cloud rasterization, and the raster attribute information is determined. The raster attribute information is determined based on the arithmetic mean of the reflection intensity and the Z coordinate value of the multi-frame point cloud fusion data. A pass-through filtering method is used to perform a preliminary extraction operation of the ground marking grid on the grid attributes to obtain candidate lane line grids. The scanning window traverses and determines at least two candidate lane line grids in a first traversal direction and a second traversal direction to delete other lane line grids in the scanning window. The scanning window is located at the starting side of the traversal direction of the currently traversed valid grid. The first traversal direction and the second traversal direction are both perpendicular to the driving lane lines and point to each other. The remaining candidate lane line grids are used as the filtered lane line grids.

7. An electronic device, characterized in that, The electronic device includes at least one processor and at least one memory connected to the processor, wherein the processor is configured to invoke program instructions in the memory to execute the driving lane line recognition method as described in any one of claims 1 to 5.

8. A storage medium, characterized in that, The storage medium includes a stored program, wherein, when the program is executed, it controls the device containing the storage medium to perform the driving lane line recognition method as described in any one of claims 1 to 5.