A deep learning-based radar and vision integrated machine lane line automatic acquisition method
The automatic lane line acquisition method of the radar-visual integrated machine through deep learning realizes the deep complementary fusion and dynamic calibration of vision and radar, solves the problem of continuity and systematic drift in lane line detection in complex environments, and meets the real-time and adaptive requirements of roadside perception systems.
Patent Information
- Application Number
- CN202610714680.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2026-05-22
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2046-05-22
AI Technical Summary
Existing radar-visual integrated machines struggle to accurately detect lane lines in complex environments. Traditional trajectory clustering lacks sufficient accuracy, target-level fusion lacks lane-level complementarity, and offline calibration cannot adapt to device deformation, leading to systematic drift in the fusion coordinate system.
The automatic lane line acquisition method of the radar-visual integrated machine through deep learning utilizes the deep fusion of visual lane lines and radar center lines, deep learning trajectory clustering, and dynamic target online calibration to achieve deep complementary fusion of vision and radar. Based on the dual threshold judgment of pixel confidence and physical distance, Kalman filter and graph convolutional network are used for smoothing correction and virtual lane line generation.
It ensures the continuity and integrity of lane line detection in complex environments, overcomes the insufficient accuracy and systematic drift problems of traditional methods, meets the real-time requirements of roadside perception systems, and adapts to different road scenarios and lighting conditions.
Smart Images

Figure CN122336451B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent transportation technology, and in particular to a method for automatically acquiring lane lines using a radar-visual integrated machine based on deep learning. Background Technology
[0002] With the rapid development of intelligent transportation systems such as smart highways, holographic intersections, and vehicle-road cooperative systems, all-weather, high-precision digital perception and real-time updates of road infrastructure (especially lane markings) have become key requirements for achieving refined traffic management, dynamic lane control, and crowdsourced updates of high-precision maps. The radar-visual integrated machine, as the core device for roadside perception, combines the advantages of millimeter-wave radar and visual sensors, and is mainly used for dynamic target detection and tracking. Its core technology lies in complementing the all-weather ranging and speed measurement capabilities of radar with the texture recognition capabilities of vision, improving the perception accuracy of traffic participants such as vehicles and pedestrians through target-level fusion. However, existing solutions have significant shortcomings in perceiving static road structural elements (such as lane lines).
[0003] Chinese Patent Application Publication No. CN115620529A discloses a method for analyzing traffic flow at intersections based on radar-visual fusion. The method includes: acquiring video image data and radar detection data; fusing the video image data and radar detection data to obtain the relative spatiotemporal information of each vehicle relative to the intersection; acquiring map information of the intersection; obtaining the absolute spatiotemporal information of all vehicles at the intersection based on the map information and the relative spatiotemporal information; obtaining the actual rut width of each vehicle based on the vehicle model and width in the absolute spatiotemporal information; and obtaining the latitude and longitude of the actual rut width based on the actual rut width and the vehicle's latitude and longitude in the absolute spatiotemporal information. The latitude and longitude of the actual rut width are projected onto the map information to obtain the simulated rut width for each vehicle. Using the vehicle's latitude and longitude at each moment as the center point, line segments extending to simulate rut widths perpendicular to the vehicle's heading angle are drawn to obtain the ruts for each vehicle at each moment. The ruts of each vehicle at each moment are then connected end-to-end to form the wheel track for each vehicle. The wheel tracks of each vehicle at the intersection are processed into a heatmap to obtain a heatmap of the intersection's wheel tracks. Based on the vehicle's latitude and longitude at each moment, the heatmap of the intersection's wheel tracks is transferred to the map information for analysis to determine whether the guide lines at the intersection are drawn correctly.
[0004] Therefore, the existing technology has the following problems: it relies on the quality of visual images for vehicle recognition and trajectory extraction, which is prone to a sharp drop in detection confidence under complex environments such as drastic changes in lighting, nighttime, rainy or foggy weather, or dense vehicle obstruction, resulting in trajectory extraction failure or large deviations; it relies on traditional clustering algorithms (such as DBSCAN, K-means) or least squares methods to process vehicle trajectories, which is prone to difficulty in handling trajectory topology in complex road conditions such as curves, ramps, and congested flows, resulting in poor smoothness and insufficient accuracy of the fitted lane centerlines; it relies on a target-level fusion architecture (associating radar and visual data at the target level), which is prone to lacking a deep fusion mechanism for the static element of "lane lines", and cannot use the macroscopic traffic flow patterns perceived by radar for intelligent completion or correction when vision fails; it relies on offline calibration methods with fixed calibration boards to establish the coordinate system mapping relationship between the camera and radar, which is prone to difficulty in adapting to the small deformations that may occur during long-term operation of roadside equipment, resulting in systematic deviations in the position of the fused lane lines. Summary of the Invention
[0005] To address these issues, this invention provides a deep learning-based method for automatically acquiring lane lines in a radar-visual integrated system. This method overcomes the problems in existing technologies, such as lane line detection breaks due to environmental influences in visual perception, radar centerline fitting deviations due to insufficient accuracy of traditional trajectory clustering, visual failures that cannot be compensated for due to the lack of lane line-level complementarity in target-level fusion, and systematic drift of fused coordinates due to the inability of offline calibration to adapt to device deformation.
[0006] To achieve the above objectives, this invention provides a method for automatically acquiring lane lines in a radar-visual integrated machine based on deep learning, comprising: Simultaneously acquire video images and radar point clouds containing lane lines using a radar-visual integrated machine; Based on the dynamic targets jointly detected by the video image and the radar point cloud, a radar-visual mapping is established between the pixel coordinate system of the video image and the physical coordinate system of the radar point cloud. Based on a deep learning image segmentation model and several lane line images in the video image, determine several pixel coordinates and corresponding pixel confidence scores for each lane line image. Based on the pixel coordinates and the radar mapping, several first physical coordinate points and their corresponding physical distances are obtained for each lane line image, and several visual lane lines are constructed based on the first physical coordinate points. Based on the vehicle's trajectory in the dynamic target, several trajectory points and their corresponding clusters are obtained, which are then fitted to generate several radar center lines. Based on the comparison results of the pixel confidence and the physical distance with the corresponding threshold, each visual lane line is divided into several effective segments and several ineffective segments, and the lane to which it belongs is determined. The lane width of the lane is calculated based on the lane spacing within the effective section; Based on the radar centerline corresponding to the lane to which each of the visual lane lines belongs, each of the visual lane lines is smoothed and corrected to obtain corrected lane lines. Based on the lane width and the radar centerline corresponding to the lane to which each failure section belongs, virtual lane lines are generated for each failure section. A multi-lane line is obtained based on the modified lane line and the virtual lane line.
[0007] Furthermore, the process of establishing a radar-visual mapping between the pixel coordinate system of the video image and the physical coordinate system of the radar point cloud based on the dynamic targets jointly detected by the video image and the radar point cloud includes: Obtain the pixel coordinates of the vehicle in the dynamic target within the video image; Obtain the physical coordinates of the vehicle in the radar point cloud; Based on preset initial camera extrinsic parameters, the physical coordinates are projected onto the pixel coordinate system to obtain the projected coordinates; The radar-visual mapping is obtained based on the deep learning parametric regression model and the correspondence between the projected coordinates and the pixel coordinates.
[0008] Furthermore, the process of obtaining the radar-view mapping based on the deep learning parametric regression model and the correspondence between the projected coordinates and the pixel coordinates includes: The correspondence is input into the spatial transformation parameter regression model, with the optimization objective of minimizing the reprojection error in the correspondence. The rotation matrix and translation vector are jointly regressed and used as the parameters of the Ravis mapping.
[0009] Furthermore, based on a deep learning image segmentation model and several lane line images in the video image, the process of determining several pixel coordinates and corresponding pixel confidence scores for each lane line image includes: The video image is segmented using a deep learning image segmentation model to obtain a lane line probability map; The lane line probability map is post-processed to extract several lane line images, and the pixel coordinates of each lane line image and the probability value corresponding to each pixel coordinate are obtained as pixel confidence.
[0010] Furthermore, the process of obtaining several first physical coordinate points and their corresponding physical distances for each lane line image based on the pixel coordinates and the radar mapping includes: Based on the aforementioned radar mapping, the coordinates of each pixel are transformed into the physical coordinate system to obtain the corresponding physical coordinate point, which is used as the first physical coordinate point. Based on the position of the first physical coordinate point in the physical coordinate system, the distance between each of the first physical coordinate points and the radar-visual integrated machine is calculated to obtain the physical distance.
[0011] Furthermore, the process of obtaining several trajectory points and their corresponding clusters based on the vehicle's trajectory in the dynamic target, and then fitting these points to generate several radar centerlines, includes: Several nodes are constructed based on several trajectory points within a preset time window, wherein the trajectory points include position coordinates and velocity components; Traverse any two trajectory points. If the Euclidean distance between the two trajectory points is less than the preset Euclidean distance threshold, then establish an undirected edge between the corresponding nodes to construct a spatiotemporal graph. A two-layer graph convolutional network is used to process the spatiotemporal graph and output the embedding feature vectors of each trajectory point; The embedded feature vectors are clustered using the K-Means clustering algorithm to obtain several clusters; The mean velocity and standard deviation of velocity are determined based on the velocity components of trajectory points in each cluster; outliers are determined based on trajectory points whose velocity deviates from the mean velocity by more than a preset multiple of the standard deviation of velocity. After removing the outliers from all trajectory points, a cubic B-spline curve is fitted using the RANSAC algorithm and used as the radar centerline for that lane.
[0012] Furthermore, based on the comparison results of the pixel confidence level and the physical distance with the corresponding threshold, the process of dividing each visual lane line into several effective segments and several ineffective segments includes: The portions of each visual lane line that satisfy the condition that the pixel confidence is greater than a preset confidence threshold and the physical distance is less than a preset visual effective distance threshold are defined as valid segments. The segments on each of the visual lane lines that satisfy the condition that the pixel confidence level is less than or equal to the preset confidence threshold or the physical distance is greater than or equal to the preset effective visual distance threshold are designated as failed segments.
[0013] Furthermore, the process of calculating the lane width of the lane based on the lane spacing within the effective section includes: Within the same lane, the left and right visual lane lines belonging to the same lane are determined based on the spatial relationship of the visual lane lines and the direction of travel. The average spacing between the left and right visual lane lines within the effective section is calculated and used as the lane width.
[0014] Furthermore, the process of smoothing and correcting each visual lane line based on the radar centerline corresponding to the lane to which each visual lane line belongs, to obtain the corrected lane line, includes: For each visual lane line, obtain the radar center line corresponding to its lane; The coordinate sequence of the visual lane line is used as the observation vector, and the coordinate sequence of the radar center line is used as the control input. These are input into a Kalman filter, and the smoothed coordinate sequence is output as the corrected lane line.
[0015] Furthermore, the process of generating virtual lane lines in each failure section based on the lane width and the radar centerline corresponding to the lane to which each failure section belongs includes: For each failed section, obtain the radar centerline corresponding to its lane; Determine the radar line segments on the radar centerline that correspond to the spatial locations of each failure zone; Along the normal direction of the radar line segment, offset to the left by half the lane width to generate a virtual lane line on the left. Along the normal direction of the radar line segment, offset to the right by half the lane width to generate a virtual lane line on the right. Virtual lane lines are obtained based on the left virtual lane lines and the right virtual lane lines.
[0016] Compared with existing technologies, the advantages of this invention are as follows: By constructing a deep complementary fusion mechanism between visual lane lines and radar center lines, the visual lane lines are corrected in the effective section by using a Kalman filter to fuse the global smoothing trend of the radar center lines. In the ineffective section, virtual lane lines are generated by normal offset based on the lane width measured in real time in the effective section and the radar center lines to achieve intelligent completion. Furthermore, online deep learning calibration based on dynamic targets is used to establish a radar-visual mapping, fundamentally solving the problem of lane line detection failure in complex environments such as long distance, occlusion, and severe weather, ensuring the continuity and integrity of lane line information. By using a dual threshold joint judgment of pixel confidence and physical distance, a fine division of the effective and ineffective visual sections is achieved, ensuring that only high-quality visual results are adopted and avoiding low-quality detection from polluting the fusion output. Graph convolutional networks are used to deeply mine the spatiotemporal correlation of trajectory points, and combined with speed consistency criteria, abnormal outliers such as lane changes and sudden braking are eliminated to generate smooth lane lines. The continuous radar centerline overcomes the technical shortcomings of traditional clustering algorithms in handling complex road conditions such as curves and ramps. It transforms the radar-visual mapping solution into a spatial transformation parameter regression problem, using continuously moving vehicles on the road as moving calibration objects to achieve dynamic online optimization of calibration parameters. This automatically compensates for deformation drift caused by long-term equipment operation and eliminates systematic drift in the fused lane line position due to coordinate system alignment deviations. The entire technical solution is based on a deep learning model, requiring no manual feature design. It can adapt to different road scenarios and lighting conditions, and the geometric transformation process of the virtual lane lines does not require iterative optimization, resulting in low computational overhead. It meets the real-time requirements of roadside perception systems and effectively solves the problems in existing technologies, such as lane line detection breaks due to environmental influences in visual perception, radar centerline fitting deviations due to insufficient accuracy of traditional trajectory clustering, visual failures that cannot be compensated for due to the lack of lane line-level complementarity in target-level fusion, and systematic drift in the fused coordinate system caused by offline calibration's inability to adapt to equipment deformation. Attached Figure Description
[0017] Figure 1 This is a flowchart of the automatic lane line acquisition method for the radar-visual integrated machine based on deep learning in this embodiment; Figure 2 A flowchart for establishing the radar-view mapping in this embodiment; Figure 3 A flowchart for generating the radar centerline in this embodiment; Figure 4 This is a flowchart for generating virtual lane lines in this embodiment. Detailed Implementation
[0018] To make the objectives and advantages of the present invention clearer, the present invention will be further described below with reference to embodiments; it should be understood that the specific embodiments described herein are merely for explaining the present invention and are not intended to limit the present invention.
[0019] Preferred embodiments of the present invention will now be described with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are merely illustrative of the technical principles of the present invention and are not intended to limit the scope of protection of the present invention.
[0020] Please see Figure 1 The diagram shown is a flowchart of the automatic lane line acquisition method for a radar-visual integrated machine based on deep learning in this embodiment. This embodiment provides an automatic lane line acquisition method for a radar-visual integrated machine based on deep learning, including: Simultaneously acquire video images and radar point clouds containing lane lines using a radar-visual integrated machine; Based on the dynamic targets jointly detected by the video image and the radar point cloud, a radar-visual mapping is established between the pixel coordinate system of the video image and the physical coordinate system of the radar point cloud. Based on a deep learning image segmentation model and several lane line images in the video image, determine several pixel coordinates and corresponding pixel confidence scores for each lane line image. Based on the pixel coordinates and the radar mapping, several first physical coordinate points and their corresponding physical distances are obtained for each lane line image, and several visual lane lines are constructed based on the first physical coordinate points. Based on the vehicle's trajectory in the dynamic target, several trajectory points and their corresponding clusters are obtained, which are then fitted to generate several radar center lines. Based on the comparison results of the pixel confidence and the physical distance with the corresponding threshold, each visual lane line is divided into several effective segments and several ineffective segments, and the lane to which it belongs is determined. The lane width of the lane is calculated based on the lane spacing within the effective section; Based on the radar centerline corresponding to the lane to which each of the visual lane lines belongs, each of the visual lane lines is smoothed and corrected to obtain corrected lane lines. Based on the lane width and the radar centerline corresponding to the lane to which each failure section belongs, virtual lane lines are generated for each failure section. A multi-lane line is obtained based on the modified lane line and the virtual lane line.
[0021] This embodiment uses a radar-view integrated machine deployed on a highway gantry as an example to illustrate the technical solution of this application. The radar-view integrated machine integrates an 8-megapixel high-definition camera and a 94GHz millimeter-wave radar, with an installation height of approximately 8 meters, an elevation angle of approximately 10 degrees, and a coverage range of approximately 500 meters. This method runs on the AI computing unit (NVIDIA Jetson AGXOrin) built into the radar-view integrated machine.
[0022] In this embodiment, a hardware trigger signal ensures that the camera and radar data acquisition timestamps are aligned, with a time synchronization error of less than 1 millisecond. The acquired video images have a resolution of 3840×2160, and the radar point cloud data includes information such as the target's distance, azimuth, and velocity.
[0023] In this embodiment, the physical coordinate system is defined as follows: the vertical projection point of the installation position of the integrated radar screen on the ground is taken as the origin, the road extension direction, i.e. the vehicle driving direction, is taken as the positive X-axis, and the lateral direction perpendicular to the road is taken as the positive Y-axis.
[0024] In this embodiment, the lane to which each segment belongs is determined based on the spatial positional relationship of the visual lane lines. The specific method is as follows: The visual lane lines are sorted from smallest to largest according to their lateral position (Y-coordinate). Starting from the leftmost position, the i-th and (i+1)-th lane lines are sequentially used as the left and right boundary lines of the i-th lane. This determines the lane to which each visual lane line belongs, and the lane assignment information is associated with each segment. For oncoming lanes, the driving direction of the radar trajectory points can be used for filtering, retaining only the lane lines corresponding to trajectory points consistent with the vehicle's driving direction.
[0025] In this embodiment, the process of obtaining a multi-lane line based on the corrected lane line and the virtual lane line is as follows: First, the lane lines are arranged in spatial order. At the boundary between the effective section and the ineffective section, a linear weighted transition is used to achieve a smooth connection. Let the boundary point P be... D The transition zone length L = 0.5 meters, the effective section end point is P1, the failure section start point is P2, and the transition zone is connected to P... D The coordinates of a point at a distance d are: when d≤0, P=(1-|d| / L)×P1+(|d| / L)×P D When d > 0, P = (1 - d / L) × P D +(d / L)×P2. Then, the completed coordinate points are arranged into a continuous coordinate sequence according to their X-coordinates from smallest to largest. Adjacent points are connected by linear interpolation, and the threshold for the distance between adjacent points is set to 0.1 meters. The reason for this value is that the curvature change rate of highway curves is usually less than 0.01 meters / meter. A sampling interval of 0.1 meters can ensure that the interpolation error is less than 0.005 meters, which is better than the lane line detection accuracy requirement (0.1 meters). If the step size is too large, it will easily produce angles, and if the step size is too small, the data will be redundant. Taking 0.1 meters can control the coordinate points of lane lines within a 500-meter range to about 5,000 while ensuring geometric accuracy, which meets the storage and transmission bandwidth requirements of the roadside perception system. Finally, the coordinate sequences of all lanes are integrated, and attribute information such as lane ID, line type, data source mark and timestamp are added. The multi-lane line data is output in JSON structured format for direct use by upper-level applications such as high-precision map updates and dynamic lane management.
[0026] By synchronously acquiring video images and radar point clouds through a radar-visual integrated machine, a radar-visual mapping is established to achieve spatial alignment of heterogeneous sensors. Based on this, visual lane lines and radar center lines are generated separately. Then, based on pixel confidence and physical distance, the visual lane lines are divided into effective and ineffective sections. In the effective section, the radar center line is used to smooth and correct the visual lane lines and calculate the lane width. In the ineffective section, the lane width and radar center line are used to generate virtual lane lines through normal offset. Finally, the complete multi-lane lines are obtained by fusion. This approach fundamentally solves the problem of lane detection failure in complex environments such as long distances, occlusion, and severe weather. It utilizes radar centerlines to complete virtual lane lines, ensuring the continuity and integrity of lane line information. By jointly determining the thresholds for confidence and distance, it achieves a refined division between effective and ineffective visual segments, ensuring that only high-quality visual results are adopted and avoiding low-quality detection contamination of the fusion output. A Kalman filter is used to optimally fuse the global smoothing trend of the radar centerline with the local high-precision details of the visual lane lines. The output corrected lane lines retain the true boundary shape of the vision while eliminating local jitter and noise. The entire method is based on a deep learning model, requiring no manual feature design. It can adapt to different road scenes and lighting conditions, and the geometric transformation process of the virtual lane lines has extremely low computational overhead, meeting the real-time requirements of roadside perception. It effectively solves the problems in existing technologies, such as lane line detection breaks due to environmental influences, radar centerline fitting deviations due to insufficient accuracy of traditional trajectory clustering, visual failures that cannot be completed due to the lack of lane line-level complementarity in target-level fusion, and systematic drift of the fusion coordinate system due to offline calibration's inability to adapt to equipment deformation.
[0027] Please see Figure 2 As shown, this is a flowchart of establishing the radar-view mapping in this embodiment.
[0028] Specifically, the process of establishing a radar-visual mapping between the pixel coordinate system of the video image and the physical coordinate system of the radar point cloud based on the dynamic targets jointly detected by the video image and the radar point cloud includes: Obtain the pixel coordinates of the vehicle in the dynamic target within the video image; Obtain the physical coordinates of the vehicle in the radar point cloud; Based on preset initial camera extrinsic parameters, the physical coordinates are projected onto the pixel coordinate system to obtain the projected coordinates; The radar-visual mapping is obtained based on the deep learning parametric regression model and the correspondence between the projected coordinates and the pixel coordinates.
[0029] In this embodiment, after the equipment is installed, offline calibration is first performed using a checkerboard calibration board to obtain the initial camera intrinsic parameter matrix K, distortion coefficients, and initial extrinsic parameters R from the camera coordinate system to the radar coordinate system.D t D Image vehicle detection uses the YOLOv5 model, outputting the vehicle's pixel coordinates (u,v) and bounding box in the image, with the pixel coordinates originating from the top-left corner of the image. Radar vehicle detection uses the CFAR algorithm to detect vehicle targets from the radar point cloud, and obtains the vehicle's two-dimensional coordinates (x,y) and velocity components in the radar physical coordinate system through a Kalman filter tracking algorithm, with the origin of the physical coordinates being the vertical line perpendicular to the radar-view integrated machine's installation location on the ground. Based on the initial extrinsic parameters R... D t D The vehicle's physical coordinates (x, y) detected by the radar are projected onto the image pixel coordinate system using a pinhole imaging model, resulting in projected coordinates (u', v'). The Euclidean distance between the projected coordinates (u', v') and the detected image pixel coordinates (u, v) is calculated. A target pair association is established using the Hungarian algorithm, resulting in N sets (N≥3) of successfully associated coordinate pairs {(u_i, v_i), (x_i, y_i)}. These N sets of coordinate pairs are then used as input to a deep learning parameter regression model, outputting the optimized radar-visual mapping relationship.
[0030] By simultaneously acquiring the pixel coordinates of the same vehicle in video images and its physical coordinates in radar point clouds, a massive amount of heterogeneous coordinate correspondences are constructed, eliminating the need for additional calibration facilities and automating the calibration process entirely. Based on preset initial camera extrinsic parameters, the radar physical coordinates are projected onto the pixel coordinate system to obtain projected coordinates, thus transforming the radar-visual mapping calibration problem into an optimization problem of the deviation between projected coordinates and real pixel coordinates. This provides clear geometric constraints and optimization objectives for subsequent parameter regression. Through a deep learning parameter regression model, using the coordinate correspondences provided by a large number of dynamic vehicles as supervision signals, the mapping rules from radar physical coordinates to image pixel coordinates are learned, outputting optimized radar-visual mappings. As vehicles continuously enter, new calibration samples are continuously collected, enabling dynamic online updates of mapping parameters. This automatically compensates for deformation drift caused by long-term operation, temperature changes, or vibration, maintaining high accuracy in radar-visual mapping. This fundamentally solves the technical shortcomings of traditional offline calibration methods, such as one-time calibration, continuous drift leading to accuracy decay, and the need for regular manual maintenance. It provides a long-term stable and highly reliable spatial reference for radar-visual fusion perception systems, significantly reducing the operation and maintenance costs of roadside perception equipment.
[0031] Specifically, the process of obtaining the radar-view mapping based on the deep learning parametric regression model and the correspondence between the projected coordinates and the pixel coordinates includes: The correspondence is input into the spatial transformation parameter regression model, with the optimization objective of minimizing the reprojection error in the correspondence. The rotation matrix and translation vector are jointly regressed and used as the parameters of the Ravis mapping.
[0032] In this embodiment, a spatial transformation parameter regression model based on the PyTorch framework is constructed. The model structure includes three fully connected layers, with ReLU activation function used between each fully connected layer: the first layer has an input dimension of 4N (N pairs of coordinates, each pair containing radar x, radar y, pixel u, and pixel v), a hidden layer dimension of 256, and an output dimension of 12. This 12-dimensional output is reconstructed and orthogonalized using Gram-Schmidt to form a 3×3 rotation matrix R_opt, and a 3×1 translation vector t_opt (unit: meters) is obtained. The loss function uses reprojection error loss, which calculates the sum of Euclidean distances between the projected coordinates and the image detection pixel coordinates, with minimizing this sum of distances as the optimization objective. Iterative optimization is performed using the Adam optimization algorithm, with a learning rate of 0.001 and 300 iterations. After training, the optimized rotation matrix R_opt and translation vector t_opt are output as the radar-visual mapping at the current time step. This mapping can be used to transform any subsequent pixel coordinates to the radar physical coordinate system, or to project radar physical coordinates to the pixel coordinate system.
[0033] By transforming the radar-visual mapping problem into a spatial transformation parameter regression problem, and using the correspondence between radar coordinates and pixel coordinates of dynamic vehicle targets as the supervision signal, with minimizing reprojection error as the optimization objective, a deep learning model is used to jointly regress the optimal rotation matrix and translation vector. Utilizing continuously moving vehicles on the road as mobile calibration objects, dynamic online optimization of calibration parameters is achieved. This automatically compensates for deformation drift caused by long-term equipment operation, effectively overcoming the technical shortcomings of traditional offline calibration methods, such as accuracy decay and the need for regular manual maintenance. It fundamentally solves the problem of systematic drift in lane line positions after fusion due to coordinate system alignment deviations, providing a reliable spatial reference for high-precision radar-visual fusion.
[0034] Specifically, the process of determining the pixel coordinates and corresponding pixel confidence scores of each lane line image based on a deep learning image segmentation model and several lane line images in the video image includes: The video image is segmented using a deep learning image segmentation model to obtain a lane line probability map; The lane line probability map is post-processed to extract several lane line images, and the pixel coordinates of each lane line image and the probability value corresponding to each pixel coordinate are obtained as pixel confidence.
[0035] In this embodiment, a U-Net semantic segmentation network based on an encoder-decoder structure is used. The encoder backbone network is ResNet-34, initialized with ImageNet pre-trained weights; the decoder gradually restores the feature map resolution through upsampling and skip connections. The network output has two channels, corresponding to the background and lane line categories respectively. The activation function is Sigmoid, outputting the probability value of each pixel belonging to a lane line, forming a lane line probability map. The input image size is 3840×2160, first downsampled to 512×512 before being fed into the network. After inference, a confidence threshold of 0.5 is set, and the probability map is binarized to obtain a lane line binary map. The confidence threshold corresponds to the decision boundary of the Sigmoid output function; that is, when the network output probability is greater than 0.5, it is classified as a lane line, and when it is less than or equal to 0.5, it is classified as background. This is the theoretically optimal threshold based on the equal probability assumption in binary classification problems. Morphological opening operations (kernel size 3×3) are used to remove noise points and small interference regions. The Zhang-Suen parallel thinning algorithm is used to extract the skeleton of the binary image, obtaining lane line skeletons with a single pixel width. Pixels on the skeleton are sampled row by row to obtain several pixel coordinates (u_i, v_i) for each lane line image. At the same time, the probability value corresponding to each pixel coordinate is recorded as the pixel confidence score, where i represents the index of the pixel on the lane line, i=1,2,...,N, and N is the total number of pixels in the lane line image.
[0036] By using the probability values output by the segmentation model as a confidence metric for the detection results, the system gains the ability to assess the reliability of its own detection results. It can proactively identify the credibility of each detection segment, thus providing a quantitative basis for subsequent multi-source fusion decisions. High-confidence segments are directly used to construct visual lane lines, while low-confidence segments trigger the radar completion mechanism. This dual-output mechanism of coordinates and confidence effectively overcomes the technical shortcomings of traditional visual detection schemes that only output geometric coordinates and cannot quantify detection reliability. It provides a crucial data foundation for achieving intelligent fusion scheduling of vision and radar, thereby constructing an all-weather, highly robust lane line perception system.
[0037] Specifically, the process of obtaining several first physical coordinate points and their corresponding physical distances for each lane line image based on the pixel coordinates and the radar mapping includes: Based on the aforementioned radar mapping, the coordinates of each pixel are transformed into the physical coordinate system to obtain the corresponding physical coordinate point, which is used as the first physical coordinate point. Based on the position of the first physical coordinate point in the physical coordinate system, the distance between each of the first physical coordinate points and the radar-visual integrated machine is calculated to obtain the physical distance.
[0038] In this embodiment, based on the aforementioned radar-view mapping, namely the rotation matrix R_opt and translation vector t_opt, and the camera intrinsic parameter matrix K, the pixel coordinates of each lane line image are transformed to the radar physical coordinate system through inverse perspective transformation. The transformation process is as follows: First, using the inverse matrix of the camera intrinsic parameter matrix, the pixel coordinates are transformed to coordinates in the camera normalized coordinate system; then, assuming the lane line is located on the ground plane, the camera normalized coordinates are transformed to the radar physical coordinate system through the optimized rotation matrix and translation vector, obtaining the corresponding physical coordinate points, which are used as the first physical coordinate points. After the transformation, each lane line image corresponds to a set of first physical coordinate point sequences. Taking the installation position of the radar-view integrated machine in the physical coordinate system as a reference point (marked as the origin in this embodiment), the Euclidean distance between each first physical coordinate point and the reference point is calculated as the physical distance corresponding to that point. By transforming physical coordinate points, spatial alignment of the visual lane line and the radar centerline is achieved in a unified physical coordinate system, providing a coordinate reference for subsequent multi-source fusion. Quantifying physical distance allows for automatic determination of whether each sensing point is within the effective visual range based on a preset effective visual distance threshold, avoiding misjudgments caused by decreased accuracy in long-distance visual detection and achieving precise truncation of the effective visual perception range. The dual spatial attribute expression of physical coordinates and physical distance provides a quantitative basis for determining effective and ineffective segments based on physical distance in subsequent steps, a necessary technical prerequisite for achieving deep fusion of vision and radar in a unified physical space.
[0039] Please see Figure 3 As shown, this is a flowchart of the process for generating the radar centerline in this embodiment.
[0040] Specifically, the process of obtaining several trajectory points and their corresponding clusters based on the vehicle's trajectory in the dynamic target, and then fitting these points to generate several radar centerlines, includes: Several nodes are constructed based on several trajectory points within a preset time window, wherein the trajectory points include position coordinates and velocity components; Traverse any two trajectory points. If the Euclidean distance between the two trajectory points is less than the preset Euclidean distance threshold, then establish an undirected edge between the corresponding nodes to construct a spatiotemporal graph. A two-layer graph convolutional network is used to process the spatiotemporal graph and output the embedding feature vectors of each trajectory point; The embedded feature vectors are clustered using the K-Means clustering algorithm to obtain several clusters; The mean velocity and standard deviation of velocity are determined based on the velocity components of trajectory points in each cluster; outliers are determined based on trajectory points whose velocity deviates from the mean velocity by more than a preset multiple of the standard deviation of velocity. After removing the outliers from all trajectory points, a cubic B-spline curve is fitted using the RANSAC algorithm to serve as the radar centerline for that lane.
[0041] In this embodiment, the preset time window is set to 1 minute. A window that is too short will result in insufficient trajectory points for clustering, while a window that is too long will increase the computational burden and prevent responsiveness to lane changes. A 1-minute window can accumulate approximately 1000-2000 trajectory points, sufficient to support stable clustering, with a single processing latency of less than 100 milliseconds, meeting real-time requirements. In this embodiment, the preset Euclidean distance threshold is set to 5 meters. The distance between adjacent trajectory points in the same lane is usually less than 3 meters, while the distance between different lanes is greater than 3.75 meters; setting it to 5 meters ensures that trajectory points in the same lane are fully connected, while avoiding incorrect association of trajectory points in adjacent lanes, ensuring that trajectory points within a cluster belong to the same lane.
[0042] In this embodiment, the preset multiplier is set to 3, meaning that trajectory points whose speed deviates from the mean speed within a cluster by more than 3 standard deviations are defined as outliers. This value is based on the 3σ criterion, which considers points deviating from the mean by more than 3 standard deviations as low-probability anomalies. Abnormal behaviors such as lane changes and sudden braking can cause sudden speed changes, often exceeding 3 standard deviations. Using 3 standard deviations as a threshold effectively removes outlier trajectory points while retaining normal ones, avoiding erroneous or missed removals and thus improving the fitting accuracy of the radar centerline.
[0043] In this embodiment, the driving trajectories of all vehicle targets within a preset time window are accumulated, and the trajectories are sampled to obtain several trajectory points, each containing position coordinates and velocity components. For any two trajectory points, if the Euclidean distance between them is less than a preset Euclidean distance threshold, an undirected edge is established between the corresponding nodes to construct a spatiotemporal graph. A two-layer graph convolutional network is used to process this spatiotemporal graph. The first layer maps the original features of each node to an embedded feature vector of a first preset dimension, and the second layer further maps the features of the first preset dimension to an embedded feature vector of a second preset dimension. Through the message passing mechanism of the graph convolutional network, spatially adjacent trajectory points with consistent motion patterns are brought closer in the high-dimensional feature space. The output second-preset-dimensional embedded feature vectors are clustered using the K-Means clustering algorithm. The elbow rule is used to adaptively determine the number of clusters, i.e., the sum of squared clustering errors under different K values is calculated, and the K value corresponding to the inflection point of the error curve is selected as the number of clusters. Each cluster represents the driving trajectory of one lane. For each cluster, the mean and standard deviation of the velocities of all trajectory points within the cluster are calculated. Trajectory points whose velocities deviate from the mean by more than a preset multiple of the standard deviation are defined as outliers. These outliers correspond to abnormal driving behaviors such as lane changes and sudden braking. After removing these outliers from all trajectory points, the RANSAC algorithm is used to robustly fit the remaining trajectory points, generating a cubic B-spline curve, which serves as the radar centerline for that lane. Each cluster corresponds to one radar centerline, ultimately resulting in several radar centerlines.
[0044] In this embodiment, the maximum number of iterations for the K-Means clustering algorithm is set to 100, and the convergence threshold is set to 0.0001; the distance threshold for the RANSAC algorithm is set to 0.2 meters, and the maximum number of iterations is set to 500. The number of reference cells for the CFAR algorithm is set to 16, the number of guard cells is set to 4, and the false alarm probability is set to 0.000001; the process noise covariance matrix of the Kalman filter is set to diag(0.1, 0.1), and the observation noise covariance matrix is set to diag(0.5, 0.5).
[0045] By modeling the spatiotemporal correlation of trajectory points using graph convolutional networks, this approach overcomes the technical limitations of traditional clustering algorithms in handling complex road conditions such as curves and ramps. Outliers are eliminated using a speed consistency criterion, removing interference from abnormal driving behavior on lane centerline fitting and improving fitting accuracy. Robust fitting of the outlier-removed trajectory points using the RANSAC algorithm further enhances the algorithm's resistance to noise and outliers. The resulting radar centerline is smooth, continuous, and incorporates lane topological semantics, providing a reliable geometric benchmark for intelligent lane line completion in the event of visual failure.
[0046] Specifically, the process of dividing each visual lane line into several valid segments and several invalid segments based on the comparison results of the pixel confidence and the physical distance with the corresponding threshold includes: The portions of each visual lane line that satisfy the condition that the pixel confidence is greater than a preset confidence threshold and the physical distance is less than a preset visual effective distance threshold are defined as valid segments. The segments on each of the visual lane lines that satisfy the condition that the pixel confidence level is less than or equal to the preset confidence threshold or the physical distance is greater than or equal to the preset effective visual distance threshold are designated as failed segments.
[0047] In this embodiment, the preset confidence threshold is set to 0.3. This threshold depends on the false negative rate and false positive rate. Statistical analysis of lane line detection results under different lighting, weather, and wear conditions in highway scenarios reveals that when the probability value is below 0.2, over 90% of the detection results do not match the actual lane lines, mainly due to background false detections. When the probability value is between 0.2 and 0.4, approximately 60% of the detection results match the actual lane lines, but there is some degree of edge blurring or partial occlusion. When the probability value is above 0.4, over 95% of the detection results highly match the actual lane lines. Using 0.3 as the threshold allows approximately 70% of the actual lane line pixels to be included in the effective segment while filtering out most background noise, achieving a balance between the false negative rate and the false positive rate, all while ensuring a certain level of accuracy.
[0048] In this embodiment, the preset effective visual distance threshold is set to 200 meters, which depends on the segmentation confidence level. The 8-megapixel camera used in this embodiment, at a detection resolution of 1920×1080, shows lane lines occupying approximately 10-15 pixels in width at 100 meters, approximately 5-8 pixels in width at 200 meters, and only 2-3 pixels in width at 300 meters. Actual measurements show that when the lane line pixel width is less than 5 pixels, the average detection confidence level of the segmentation model drops below 0.3, and the positioning error of the skeleton extraction exceeds 0.1 meters. Using 200 meters as the threshold ensures that the lane line pixel width within the effective segment is not less than 5 pixels, and the segmentation confidence level is not less than 0.3, thereby guaranteeing the reliability and positioning accuracy of visual detection.
[0049] By comparing pixel confidence with a preset confidence threshold and physical distance with a preset visual effective distance threshold, each visual lane line is divided into effective and ineffective sections. This fully utilizes the complementary characteristics of vision and radar, with vision leveraging its advantage of high resolution at close range and radar leveraging its advantage of all-weather and long-range perception. This judgment rule does not require complex calculations, is easy to run on embedded platforms in real time, and meets the real-time requirements of roadside perception.
[0050] Specifically, the process of calculating the lane width of a lane based on the lane spacing within the effective section includes: Within the same lane, the left and right visual lane lines belonging to the same lane are determined based on the spatial relationship of the visual lane lines and the direction of travel. The average spacing between the left and right visual lane lines within the effective section is calculated and used as the lane width.
[0051] In this embodiment, the driving direction is first determined based on the velocity direction of the radar trajectory points, and vehicle trajectory points consistent with this direction are selected for generating the radar centerline. Based on this, the visual lane lines are spatially matched with the radar centerlines in the same direction to determine the lane to which each visual lane line belongs. For each lane, within its effective section, the left and right visual lane lines belonging to the same lane are paired, and the lateral spacing between the left and right boundary lines at each sampling point is calculated, i.e., the difference in the Y values of the left and right boundary lines at the same X coordinate. The average of the spacing values of all sampling points is taken to obtain the lane width. For example, if there are 100 sampling points in the effective section, the difference in the Y values of the left and right lane lines at each sampling point is calculated, summed, and divided by 100 to obtain the lane width. In this embodiment, the calculated lane width is approximately 3.75 meters, consistent with the standard lane width of a highway.
[0052] By pairing the left and right visual lane lines of the same lane within the effective section, calculating the lateral spacing at each sampling point and taking the average value as the lane width, adaptive acquisition of lane width parameters is achieved. This does not rely on prior knowledge such as standard lane width and can adapt to different road design standards. By eliminating single-point detection noise through multi-point averaging, a more statistically stable width estimate is obtained.
[0053] Specifically, the process of smoothing and correcting each visual lane line based on the radar centerline corresponding to the lane to which each visual lane line belongs, to obtain the corrected lane line, includes: For each visual lane line, obtain the radar center line corresponding to its lane; The coordinate sequence of the visual lane line is used as the observation vector, and the coordinate sequence of the radar center line is used as the control input. These are input into a Kalman filter, and the smoothed coordinate sequence is output as the corrected lane line.
[0054] In this embodiment, the radar centerline corresponding to each visual lane line is first obtained based on the lane relationships determined in the preceding steps. Each visual lane line, such as the left lane line and the right lane line, corresponds to the same radar centerline, i.e., the centerline of that lane. The state vector of the Kalman filter is set to the position and slope of the lane line, the observation vector is the coordinate sequence of the visual lane line, and the control input is the coordinate sequence of the radar centerline. The prediction step of the Kalman filter predicts the current state based on the state at the previous moment, and the update step calculates the optimal estimate by combining the visual observation value and the radar prediction value. Specifically, the Kalman filter smooths the local fluctuations of the visual lane line according to the global trend provided by the radar centerline. When there is instantaneous jitter or noise in the visual detection, the filter output is a smoother result that is closer to the radar centerline; when the visual detection is stable and the confidence is high, the filter output is mainly based on the visual observation value. In this embodiment, the process noise covariance matrix of the Kalman filter is set to a diagonal matrix diag(0.1, 0.1), and the observation noise covariance matrix is set to a diagonal matrix diag(0.5, 0.5). After filtering, the smoothed coordinate sequence is output as the corrected lane line.
[0055] By combining the high-precision detail advantage of vision with the global smoothing advantage of radar, the output corrected lane lines not only retain the true boundary shape of visual detection but also eliminate local jitter and noise, making the lane lines smoother and more continuous. The recursive characteristics of the Kalman filter enable it to operate online in real time, outputting the corrected result as soon as a frame of visual detection is received, meeting the real-time requirements of roadside perception. By adjusting the ratio of process noise covariance to observation noise covariance, the smoothing intensity can be flexibly controlled to adapt to different road scenarios and sensor characteristics, exhibiting good adjustability.
[0056] Please see Figure 4 As shown, this is a flowchart of the process for generating virtual lane lines in this embodiment.
[0057] Specifically, the process of generating virtual lane lines in each failure section based on the lane width and the radar centerline corresponding to the lane to which each failure section belongs includes: For each failed section, obtain the radar centerline corresponding to its lane; Determine the radar line segments on the radar centerline that correspond to the spatial locations of each failure zone; Along the normal direction of the radar line segment, offset to the left by half the lane width to generate a virtual lane line on the left. Along the normal direction of the radar line segment, offset to the right by half the lane width to generate a virtual lane line on the right. Virtual lane lines are obtained based on the left virtual lane lines and the right virtual lane lines.
[0058] In this embodiment, firstly, the radar centerline corresponding to the lane to which the failed section belongs is obtained. This radar centerline is a continuous cubic B-spline curve representing the trajectory of the lane's centerline. Based on the start and end positions of the failed section in the physical coordinate system—which are determined by the physical distance from a first physical coordinate point—a curve segment within the same spatial range is extracted from the radar centerline and used as the radar line segment corresponding to the failed section.
[0059] To determine the normal direction, first calculate the tangent direction at each point on the radar line segment, then rotate that tangent direction 90 degrees counterclockwise to obtain the normal direction at that point. Using the vehicle's direction of travel as a reference, the normal direction pointing to the left side of the road is defined as the left normal, and the direction pointing to the right side is defined as the right normal. In this embodiment, the orientation of the normal is determined by calculating the angle between the tangent direction and the positive X-axis direction.
[0060] Along the left normal direction of each point on the radar line segment, offset to the left by half the lane width to generate a left offset point sequence; along the right normal direction, offset to the right by half the lane width to generate a right offset point sequence. For adjacent points after offset, a linear interpolation method is used to connect them, forming continuous left and right virtual lane lines. In this embodiment, the lane width is approximately 3.75 meters as calculated in the aforementioned steps, and the offset distance is 1.875 meters.
[0061] For multiple failed sections, the above steps are performed independently for each failed section to generate its own left and right virtual lane lines. After generating virtual lane lines for all failed sections, the virtual lane lines are spliced with the corrected lane lines of the valid sections in spatial order. During splicing, a linear weighted transition is used at the boundary between the valid and failed sections: within 0.5 meters before and after the boundary point, the distance to the boundary point is used as the weight to calculate a weighted average of the end point of the corrected lane line and the starting point of the virtual lane line, ensuring a smooth transition and avoiding sharp angles or abrupt changes.
[0062] The left and right virtual lane lines are used as the supplementary lane lines for the failed section, and together with the corrected lane lines for the effective section, they form a complete lane line for subsequent output of the final multi-lane marking information.
[0063] By acquiring the radar centerline corresponding to the lane in the failed section, determining the radar line segment corresponding to the spatial location of the failed section, and offsetting it to the left and right by half the lane width along the normal direction, virtual lane lines are generated as the completion result. The technical effects of this solution are: it fundamentally solves the problem of missing lane lines in visually failed sections due to long distance, obstruction, or inclement weather, and uses the radar centerline to complete the virtual lane lines, ensuring the continuity and integrity of lane line information; the completed virtual lane lines use the width parameters measured in real time in the effective section of the same lane, rather than relying on the preset standard lane width, which can adapt to actual lane width changes such as ramp narrowing and construction diversion; it achieves deep complementary integration of vision and radar, with the vision sensor providing lane width priors with high precision in the effective section, and the radar sensor providing lane centerline references with all-weather advantages in the failed section, allowing both sensors to play their respective roles in their areas of expertise; the generation of virtual lane lines is essentially a geometric transformation process based on normal offset, requiring no iterative optimization, with extremely low computational overhead, and can meet the real-time requirements of roadside perception systems.
[0064] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A method for automatically acquiring lane lines in a radar-visual integrated machine based on deep learning, characterized in that, include: Simultaneously acquire video images and radar point clouds containing lane lines using a radar-visual integrated machine; Based on the dynamic targets jointly detected by the video image and the radar point cloud, a radar-visual mapping is established between the pixel coordinate system of the video image and the physical coordinate system of the radar point cloud. Based on a deep learning image segmentation model and several lane line images in the video image, determine several pixel coordinates and corresponding pixel confidence scores for each lane line image. Based on the pixel coordinates and the radar mapping, several first physical coordinate points and their corresponding physical distances are obtained for each lane line image, and several visual lane lines are constructed based on the first physical coordinate points. Based on the vehicle's trajectory in the dynamic target, several trajectory points and their corresponding clusters are obtained, which are then fitted to generate several radar center lines. Based on the comparison results of the pixel confidence and the physical distance with the corresponding threshold, each visual lane line is divided into several effective segments and several ineffective segments, and the lane to which it belongs is determined. The lane width of the lane is calculated based on the lane spacing within the effective section; Based on the radar center line corresponding to the lane to which each of the visual lane lines belongs, each of the visual lane lines is smoothed and corrected to obtain the corrected lane lines. Based on the lane width and the radar centerline corresponding to the lane to which each failure section belongs, virtual lane lines are generated for each failure section. A multi-lane line is obtained based on the corrected lane line and the virtual lane line; The process of obtaining several first physical coordinate points and their corresponding physical distances for each lane line image based on the pixel coordinates and the radar mapping includes: Based on the aforementioned radar mapping, the coordinates of each pixel are transformed into the physical coordinate system to obtain the corresponding physical coordinate point, which is used as the first physical coordinate point. Based on the position of the first physical coordinate point in the physical coordinate system, the distance between each of the first physical coordinate points and the radar-visual integrated machine is calculated to obtain the physical distance.
2. The method for automatic lane line acquisition based on deep learning in a radar-visual integrated machine according to claim 1, characterized in that, The process of establishing a radar-visual mapping between the pixel coordinate system of the video image and the physical coordinate system of the radar point cloud, based on the dynamic targets jointly detected by the video image and the radar point cloud, includes: Obtain the pixel coordinates of the vehicle in the dynamic target within the video image; Obtain the physical coordinates of the vehicle in the radar point cloud; Based on preset initial camera extrinsic parameters, the physical coordinates are projected onto the pixel coordinate system to obtain the projected coordinates; The radar-visual mapping is obtained based on the deep learning parametric regression model and the correspondence between the projected coordinates and the pixel coordinates.
3. The method for automatic lane line acquisition based on deep learning in a radar-visual integrated machine according to claim 2, characterized in that, The process of obtaining the Rave mapping based on the deep learning parametric regression model and the correspondence between the projected coordinates and the pixel coordinates includes: The correspondence is input into the spatial transformation parameter regression model, with the optimization objective of minimizing the reprojection error in the correspondence. The rotation matrix and translation vector are jointly regressed and used as the parameters of the Ravis mapping.
4. The method for automatic lane line acquisition based on deep learning in a radar-visual integrated machine according to claim 1, characterized in that, The process of determining the pixel coordinates and corresponding pixel confidence scores of each lane line image based on a deep learning image segmentation model and several lane line images in the video image includes: The video image is segmented using a deep learning image segmentation model to obtain a lane line probability map; The lane line probability map is post-processed to extract several lane line images, and the pixel coordinates of each lane line image and the probability value corresponding to each pixel coordinate are obtained as pixel confidence.
5. The method for automatic lane line acquisition of a radar-visual integrated machine based on deep learning according to claim 1, characterized in that, The process of obtaining several trajectory points and their corresponding clusters based on the vehicle's trajectory in the dynamic target, and then fitting them to generate several radar centerlines, includes: Several nodes are constructed based on several trajectory points within a preset time window, wherein the trajectory points include position coordinates and velocity components; Traverse any two trajectory points. If the Euclidean distance between the two trajectory points is less than the preset Euclidean distance threshold, then establish an undirected edge between the corresponding nodes to construct a spatiotemporal graph. A two-layer graph convolutional network is used to process the spatiotemporal graph and output the embedding feature vectors of each trajectory point; The embedded feature vectors are clustered using the K-Means clustering algorithm to obtain several clusters; The mean velocity and standard deviation of velocity are determined based on the velocity components of trajectory points in each cluster; outliers are determined based on trajectory points whose velocity deviates from the mean velocity by more than a preset multiple of the standard deviation of velocity. After removing the outliers from all trajectory points, a cubic B-spline curve is fitted using the RANSAC algorithm to serve as the radar centerline for that lane.
6. The method for automatic lane line acquisition of a radar-visual integrated machine based on deep learning according to claim 1, characterized in that, Based on the comparison results of the pixel confidence level and the physical distance with the corresponding threshold, the process of dividing each visual lane line into several effective segments and several ineffective segments includes: The portions of each visual lane line that satisfy the condition that the pixel confidence is greater than a preset confidence threshold and the physical distance is less than a preset visual effective distance threshold are defined as valid segments. The segments on each of the visual lane lines that satisfy the condition that the pixel confidence level is less than or equal to the preset confidence threshold or the physical distance is greater than or equal to the preset effective visual distance threshold are designated as failed segments.
7. The method for automatic lane line acquisition based on deep learning in a radar-visual integrated machine according to claim 1, characterized in that, The process of calculating the lane width of a lane based on the lane spacing within the effective section includes: Within the same lane, the left and right visual lane lines belonging to the same lane are determined based on the spatial relationship of the visual lane lines and the direction of travel. The average spacing between the left and right visual lane lines within the effective section is calculated and used as the lane width.
8. The method for automatic lane line acquisition based on deep learning in a radar-visual integrated machine according to claim 1, characterized in that, The process of smoothing and correcting each visual lane line based on the radar centerline corresponding to the lane to which each visual lane line belongs, to obtain the corrected lane line, includes: For each visual lane line, obtain the radar center line corresponding to its lane; The coordinate sequence of the visual lane line is used as the observation vector, and the coordinate sequence of the radar center line is used as the control input. These are input into a Kalman filter, and the smoothed coordinate sequence is output as the corrected lane line.
9. The method for automatic lane line acquisition of a radar-visual integrated machine based on deep learning according to claim 1, characterized in that, The process of generating virtual lane lines in each failure section based on the lane width and the radar centerline corresponding to the lane to which each failure section belongs includes: For each failed section, obtain the radar centerline corresponding to its lane; Determine the radar line segments on the radar centerline that correspond to the spatial locations of each failure zone; Along the normal direction of the radar line segment, offset to the left by half the lane width to generate a virtual lane line on the left. Along the normal direction of the radar line segment, offset to the right by half the lane width to generate a virtual lane line on the right. Virtual lane lines are obtained based on the left virtual lane lines and the right virtual lane lines.
Citation Information
Patent Citations
Intersection diversion line analysis method and system based on Leiyu fusion
CN115620529A
Target detection method based on lane line auxiliary radar and visual fusion
CN118570756A
Vehicle track online correction method based on thunder-vision fusion
CN121837073A
