Adaptive lane line modeling method and device based on multi-dimensional confidence fusion, equipment and storage medium

An adaptive lane line modeling method based on multidimensional confidence fusion is used to adjust the window length and evaluate the reliability of crossing points using vehicle trajectory data. This solves the problems of fitting accuracy and stability of lane line models under different road curvatures and traffic flow conditions in existing technologies, and achieves stable modeling results in different environments.

CN123160700APending Publication Date: 2026-11-24HUBEI UNIV OF ARTS & SCI
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611304352.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-26
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing lane line modeling methods suffer from large fluctuations in fitting accuracy and insufficient output stability under different road geometry features and traffic flow conditions. Fixed windows cannot adapt to different road curvatures, and the processing results of adjacent frames lack correlation constraints.

Method used

By acquiring vehicle trajectory data, the spatial distribution density, road curvature, and heading consistency of the crossing point data are determined and integrated into the local environmental stability adjustment window length. The reliability of the crossing points is evaluated based on multi-dimensional confidence, including geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence, and the lane line model is dynamically adjusted.

Benefits of technology

It achieves stable fitting accuracy and output continuity of lane line models under different road geometry features and traffic flow conditions, and improves the environmental adaptability and stability of lane line modeling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123160700A_ABST
    Figure CN123160700A_ABST
Patent Text Reader

Abstract

This application discloses an adaptive lane line modeling method, apparatus, device, and storage medium based on multi-dimensional confidence fusion, relating to the field of autonomous driving technology. The method includes: acquiring vehicle trajectory data to determine lane-crossing point data; determining an initial window and the spatial distribution density, road curvature, and heading consistency of the lane-crossing point data within the initial window based on the lane-crossing point data; fusing the spatial distribution density, road curvature, and heading consistency into a local environmental stability; adjusting the initial window based on the local environmental stability to obtain an analysis window; determining multi-dimensional confidence based on the analysis window and fusing it to obtain a dynamic comprehensive confidence; and determining a target lane line model based on the lane-crossing point data within the analysis window and the dynamic comprehensive confidence. This application achieves stable fitting accuracy and output continuity for the lane line model under different road environments and traffic flow conditions.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of autonomous driving technology, and in particular to an adaptive lane line modeling method, apparatus, device, and storage medium based on multi-dimensional confidence fusion. Background Technology

[0002] In autonomous driving and advanced driver assistance systems, lane detection and modeling are core perception tasks, and the accuracy of the detection and modeling results directly affects the vehicle's path planning and control decisions. Existing lane modeling methods mainly include image processing-based methods and deep learning-based methods. Image processing-based methods extract lane feature points from images through edge detection, Hough transform, sliding window search, etc., and then combine them with least squares or RANSAC (random sample consensus) for curve fitting; deep learning-based methods directly predict lane pixel positions or parameters through semantic segmentation or feature regression networks.

[0003] The aforementioned existing methods all share common limitations in practical applications: First, existing methods generally use fixed-size analysis windows or search regions when extracting lane line feature points. When the road curvature is small, a fixed window can cover a sufficient number of feature points, resulting in relatively reliable fitting results; however, when the road curvature is large, the distribution of feature points within the fixed window cannot accurately reflect the actual curvature of the lane lines. Conversely, if the window is reduced to accommodate curves, the fitting results on straight road sections become susceptible to noise interference due to insufficient feature points participating in the fitting. Since actual roads contain alternating combinations of straight and curved sections, a fixed window cannot simultaneously adapt to road sections with different curvatures. Second, existing methods typically process single-frame images or single-frame point clouds independently, lacking correlation constraints between the processing results of adjacent frames or adjacent spatial locations, resulting in discontinuous output results in the spatial dimension and significant fluctuations in the temporal dimension. Third, existing methods do not utilize the motion state information generated during vehicle movement to differentiate feature points. In scenarios with complex traffic flow, frequent lane changes, or significant fluctuations in driving trajectories, feature points with different levels of reliability are treated equally.

[0004] Therefore, existing solutions suffer from technical problems such as large fluctuations in the fitting accuracy of lane line models under different road geometry features and traffic flow conditions, and insufficient output stability. Summary of the Invention

[0005] The main objective of this application is to provide an adaptive lane line modeling method, device, equipment, and storage medium based on multi-dimensional confidence fusion, aiming to solve the technical problems of large fluctuations in fitting accuracy and insufficient output stability of lane line models under different road geometric features and traffic flow conditions.

[0006] To achieve the above objectives, this application proposes an adaptive lane line modeling method based on multi-dimensional confidence fusion, wherein the adaptive lane line modeling method based on multi-dimensional confidence fusion includes: Acquire vehicle trajectory data, and determine line-crossing point data based on the vehicle trajectory data, wherein the line-crossing point data includes location information and motion state information; An initial window is determined based on the boundary crossing point data, and the spatial distribution density, road curvature, and heading consistency of the boundary crossing point data within the initial window are determined. The spatial distribution density, road curvature, and heading consistency are integrated into a local environmental stability, and the initial window is adjusted based on the local environmental stability to obtain the analysis window; Based on the analysis window, determine the geometric confidence level, spatial smoothness confidence level, behavioral consistency confidence level, and heading continuity confidence level; Based on the spatial distribution density, the road curvature, and the heading consistency, the geometric confidence, the spatial smoothness confidence, the behavioral consistency confidence, and the heading continuity confidence are adjusted to obtain a dynamic comprehensive confidence. Based on the cross-line point data and the dynamic comprehensive confidence level within the analysis window, the target lane line model is determined.

[0007] In one embodiment, the step of fusing the spatial distribution density, the road curvature, and the heading consistency into a local environmental stability, and adjusting the initial window based on the local environmental stability to obtain an analysis window, includes: The spatial distribution density, the road curvature, and the heading consistency are integrated into local environmental stability. The target window length is determined based on the local environmental stability. The initial window is adjusted according to the target window length to obtain the analysis window.

[0008] In one embodiment, the step of fusing the spatial distribution density, the road curvature, and the heading consistency into local environmental stability includes: Obtain the preset evaluation value range; The spatial distribution density is mapped to the evaluation value range to obtain the density evaluation value; The road curvature is mapped to the evaluation value range to obtain the curvature evaluation value; The heading consistency is mapped to the evaluation value range to obtain the heading consistency evaluation value; By integrating the density evaluation value, the curvature evaluation value, and the heading consistency evaluation value, the local environmental stability is obtained.

[0009] In one embodiment, determining the geometric confidence level, spatial smoothness confidence level, behavioral consistency confidence level, and heading continuity confidence level based on the analysis window includes: Obtain the preceding window adjacent to the analysis window and the preset overlap length; Based on the data of the points crossing the line in the analysis window, determine the differences in principal component eigenvalues ​​and the fitted curve; The geometric confidence level is determined based on the differences in the principal component eigenvalues. The spatial smoothness confidence level is determined based on the longitudinal deviation between the fitted curve and each point crossing the line within the analysis window. Based on the motion state information of each point crossing the line within the analysis window, the behavioral consistency confidence level is determined; Based on the analysis window, the front window, and the preset overlap length, the window overlap area is determined; The geometric deviation is determined based on the difference between the predicted values ​​of the fitted curve of the analysis window and the fitted curve of the preceding window within the overlapping area of ​​the windows. The confidence level of heading continuity is determined based on the geometric deviation.

[0010] In one embodiment, determining an initial window based on the boundary crossing point data, and determining the spatial distribution density, road curvature, and heading consistency of the boundary crossing point data within the initial window, includes: An initial window is established centered on one of the crossing points in the crossing point data, based on a preset initial window length. Obtain the number of crossing points in the initial window, the first main road direction and heading angle corresponding to each crossing point in the initial window, and the second main road direction of the preceding window adjacent to the initial window; The spatial distribution density is determined based on the number of crossing points and the initial window length; The road curvature is determined based on the main directions of the first and second roads; Based on the heading angles described, heading consistency is determined.

[0011] In one embodiment, determining the target lane line model based on the line-crossing point data within the analysis window and the dynamic comprehensive confidence level includes: Based on the dynamic comprehensive confidence level, the time series correction strength and the fitting weights corresponding to each cross-line point within the analysis window are determined. The initial lane line model is determined based on the cross-line point data and the fitting weights within the analysis window; The target lane line model is determined based on the initial lane line model and the temporal correction intensity.

[0012] In one embodiment, adjusting the geometric confidence level, spatial smoothness confidence level, behavioral consistency confidence level, and heading continuity confidence level based on the spatial distribution density, road curvature, and heading consistency to obtain a dynamic comprehensive confidence level includes: Based on the spatial distribution density, the road curvature, and the heading consistency, determine the confidence weights corresponding to the geometric confidence, the spatial smoothness confidence, the behavioral consistency confidence, and the heading continuity confidence. The fusion weights are determined based on the confidence weights described above; Based on the fusion weights, the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence are weighted and summed to obtain the dynamic comprehensive confidence.

[0013] Furthermore, to achieve the above objectives, this application also proposes an adaptive lane line modeling device based on multi-dimensional confidence fusion, the adaptive lane line modeling device based on multi-dimensional confidence fusion comprising: The data acquisition module is used to acquire vehicle trajectory data and determine line-crossing point data based on the vehicle trajectory data, wherein the line-crossing point data includes location information and motion state information; The window analysis module is used to determine an initial window based on the crossing point data, and to determine the spatial distribution density, road curvature, and heading consistency of the crossing point data within the initial window; The fusion adjustment module is used to fuse the spatial distribution density, the road curvature, and the heading consistency into a local environmental stability, and adjust the initial window according to the local environmental stability to obtain an analysis window; The confidence module is used to determine the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the analysis window. The dynamic adjustment module is used to adjust the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the spatial distribution density, road curvature, and heading consistency to obtain a dynamic comprehensive confidence. The model determination module is used to determine the target lane line model based on the cross-line point data and the dynamic comprehensive confidence level within the analysis window.

[0014] Furthermore, to achieve the above objectives, this application also proposes an adaptive lane line modeling device with multidimensional confidence fusion, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the adaptive lane line modeling method with multidimensional confidence fusion as described above.

[0015] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the adaptive lane line modeling method of multidimensional confidence fusion as described above.

[0016] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the adaptive lane line modeling method with multidimensional confidence fusion as described above.

[0017] One or more technical solutions proposed in this application have at least the following technical effects: By employing a technique that determines spatial distribution density, road curvature, and heading consistency based on boundary crossing point data, and then integrating these three factors into a local environmental stability and adaptively adjusting the analysis window accordingly, the window length can dynamically change with road geometric features. This solves the technical problem of large fluctuations in fitting accuracy caused by a fixed window's inability to adapt to different road geometric features. Furthermore, by determining confidence levels for four dimensions—geometric, spatial smoothness, behavioral consistency, and heading continuity—based on the analysis window, and adjusting these four confidence levels according to spatial distribution density, road curvature, and heading consistency to obtain a dynamic comprehensive confidence level, and then determining the target lane line model based on this dynamic comprehensive confidence level, this technique allows data points with higher reliability to play a greater role in modeling, while effectively suppressing the contributions of data points with lower reliability. Simultaneously, the geometric orientation between adjacent windows forms a correlation constraint through the heading continuity confidence level, solving the technical problem of insufficient output stability caused by abnormal data interference and the lack of temporal spatial correlation constraints. Compared with existing technologies, this application can maintain stable fitting accuracy and output continuity for lane line models under different road geometric features and traffic flow states. Attached Figure Description

[0018] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0019] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0020] Figure 1 This is a flowchart illustrating an embodiment of the adaptive lane line modeling method based on multidimensional confidence fusion in this application. Figure 2 This is a flowchart illustrating Embodiment 2 of the adaptive lane line modeling method based on multidimensional confidence fusion in this application. Figure 3 A simplified flowchart is provided for an embodiment of the adaptive lane line modeling method based on multidimensional confidence fusion of this application. Figure 4 This is a schematic diagram of the module structure of the adaptive lane line modeling device for multi-dimensional confidence fusion according to an embodiment of this application; Figure 5 This is a schematic diagram of the device structure of the hardware operating environment involved in the adaptive lane line modeling method of multi-dimensional confidence fusion in the embodiments of this application.

[0021] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0022] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.

[0023] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.

[0024] The main solution of this application embodiment is as follows: acquire vehicle trajectory data to determine line-crossing point data; determine an initial window and the spatial distribution density, road curvature, and heading consistency of the line-crossing point data within the initial window based on the line-crossing point data; fuse the spatial distribution density, road curvature, and heading consistency into local environmental stability; adjust the initial window based on the local environmental stability to obtain an analysis window; determine multi-dimensional confidence based on the analysis window and fuse them to obtain a dynamic comprehensive confidence; determine the target lane line model based on the line-crossing point data within the analysis window and the dynamic comprehensive confidence.

[0025] Because existing lane line modeling methods generally use a fixed-size analysis window, the fitting results deviate from the actual direction of the lane lines in scenarios with large road curvature, and the results are easily affected by noise in scenarios with straight roads due to insufficient data points involved in the fitting. At the same time, there is a lack of spatial correlation between the processing results of adjacent areas, resulting in spatial discontinuity of the lane line model. In addition, in scenarios where vehicles frequently change lanes or their driving trajectories fluctuate, data points with different levels of reliability have the same impact on the fitting results.

[0026] This application provides a solution that integrates spatial distribution density (reflecting data coverage sufficiency), road curvature (reflecting road curvature), and heading consistency (reflecting traffic flow consistency) using local environmental stability. This stability is then used to dynamically adjust the window length to adapt to different road geometric features. Furthermore, multi-dimensional confidence scores are used to evaluate the reliability of data points within the window from four levels: geometric structure, spatial smoothness, behavioral consistency, and heading continuity. These scores are then integrated into a dynamic comprehensive confidence score to differentiate the contribution weights of different data points in the modeling process. Finally, the target lane line model is determined based on the dynamic comprehensive confidence score, ensuring stable fitting accuracy and output continuity in the modeling results under different road environments and traffic flow conditions.

[0027] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or processor capable of performing the above functions. The following description uses a processor as an example to illustrate this embodiment and the subsequent embodiments. All actions involving the acquisition of signals, information, or data in this application are performed in accordance with the relevant data protection regulations of the locality and with authorization from the owner of the corresponding device.

[0028] Based on this, embodiments of this application provide an adaptive lane line modeling method based on multi-dimensional confidence fusion, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the adaptive lane line modeling method based on multidimensional confidence fusion of this application.

[0029] In this embodiment, the adaptive lane line modeling method based on multi-dimensional confidence fusion includes steps S10 to S60: Step S10: Obtain vehicle trajectory data, and determine the crossing point data based on the vehicle trajectory data, wherein the crossing point data includes location information and motion state information.

[0030] It should be noted that vehicle trajectory data refers to the historical driving trajectory of a vehicle on the road, including information such as the vehicle's position, speed, acceleration, and heading angle at various times. Lane crossing point data refers to the data point where a vehicle's position falls exactly on the lane line when it changes lanes from one lane to another. This data point records not only the spatial coordinates of the vehicle when it crosses the lane line (i.e., position information), but also the vehicle's speed, acceleration, and heading angle at that moment (i.e., motion state information).

[0031] Specifically, drones or roadside radar are used to continuously monitor the target road section and acquire the driving trajectory data of each vehicle on the road. When a vehicle is detected crossing from one lane to another, the position point of the vehicle at the moment of crossing is recorded as the crossing point. At the same time, motion state information such as speed, acceleration and heading angle corresponding to the crossing point is extracted to form a crossing point dataset.

[0032] It is understandable that lane line modeling is essentially an estimation of the geometric position and direction of lane lines. However, vehicles typically stay within the lane during normal driving, and their trajectories cannot directly reflect the precise position of the lane lines. When a vehicle changes lanes, it inevitably crosses the lane lines, at which point its position coordinates actually fall on the lane lines. Therefore, this application collects lane-crossing point data during lane-changing, which is equivalent to indirectly sampling the lane lines using the vehicle as a motion sensor. The position information directly reflects the spatial position of the lane lines, while the motion state information reflects the vehicle's behavioral characteristics when crossing the lane lines. Through step S10, the true sampling points of the lane line's geometric position can be obtained, avoiding the lane line position estimation deviation caused by relying solely on the driving trajectory within the lane, thereby improving the accuracy of subsequent lane line model determination.

[0033] Step S20: Determine an initial window based on the crossing point data, and determine the spatial distribution density, road curvature, and heading consistency of the crossing point data within the initial window.

[0034] It should be noted that the initial window is a spatial range defined by a single crossing point in the crossing point data, with a preset initial window length as its radius. This window is used to limit the range of crossing points involved in subsequent data statistics and calculations. Spatial distribution density refers to the number of crossing points within a unit window length, reflecting the richness of the data within the window; higher density indicates more comprehensive data coverage. Road curvature refers to the degree of curvature of the road direction corresponding to the current window relative to the road direction of the previous window, reflecting the magnitude of change in road geometry; greater curvature indicates a more curved road. Heading consistency refers to the dispersion of the heading angles of vehicles corresponding to each crossing point within the window, reflecting the consistency of traffic flow direction within the window; smaller dispersion indicates a more uniform vehicle travel direction.

[0035] In one feasible implementation, step S20 may include: establishing an initial window centered on one of the crossing points in the crossing point data, based on a preset initial window length; obtaining the number of crossing points within the initial window, the first main road direction and heading angle corresponding to each crossing point within the initial window, and the second main road direction of the preceding window adjacent to the initial window; determining the spatial distribution density based on the number of crossing points and the initial window length; determining the road curvature based on the first main road direction and the second main road direction; and determining heading consistency based on each heading angle.

[0036] It should be noted that the main direction of the road refers to the main distribution direction of the crossing points along the lane lines within the window.

[0037] Specifically, taking the currently processed boundary crossing point as the center point, and based on the preset initial window length... Establish an initial analysis window. Perform principal component analysis on all crossing points within the initial window, calculate the covariance matrix of each crossing point's coordinates, and perform eigenvalue decomposition on the covariance matrix. The direction of the eigenvector corresponding to the largest eigenvalue is the main direction of the first road. Perform the same principal component analysis on all points crossing the line within the preceding window to obtain the main direction of the second road. .

[0038] Count the total number of points that cross the line within the initial window. Divide the total number of points crossing the line by the initial window length. To obtain the spatial distribution density :

[0039] in, Indicates the number of trajectory points within the current window; Indicates the current window length.

[0040] Calculate the main direction of the first road Main direction of the second road The angle difference between them is divided by the window length. The road curvature is obtained. :

[0041] Statistical analysis of the vehicle heading angles corresponding to each crossing point within the initial window. Calculate its weighted standard deviation to obtain the heading consistency. :

[0042] in, The weighted average of the vehicle's heading angles, with weights... You can take the vehicle speed amplitude corresponding to each crossing point (the higher the speed, the more representative the main traffic flow direction), or you can take the trajectory length of each point (the longer the trajectory, the greater the contribution of the vehicle). This represents the total number of points that cross the line within the window.

[0043] Understandably, the window is the fundamental range for all subsequent data statistics and calculations. If the window range is not properly selected, the processing results of all subsequent steps will be affected. Fixed windows cannot adapt to different road geometric features. Therefore, it is necessary to predetermine three environmental parameters within the initial window: spatial distribution density, road curvature, and heading consistency. This quantifies the data richness, road curvature, and traffic flow consistency of the current window area, providing a decision-making basis for adaptively adjusting the window length in subsequent steps. Through step S20, basic statistics such as the number of crossing points, the main road direction, and heading angle can be obtained, and the three environmental parameters—spatial distribution density, road curvature, and heading consistency—can be calculated. This avoids model distortion or unstable fitting caused by fixed windows failing to perceive environmental changes, thereby improving the environmental adaptability of lane line modeling.

[0044] Step S30: The spatial distribution density, the road curvature, and the heading consistency are fused into a local environmental stability, and the initial window is adjusted according to the local environmental stability to obtain an analysis window.

[0045] It should be noted that local environmental stability refers to the comprehensive evaluation value obtained by fusing three environmental parameters: spatial distribution density, road curvature, and heading consistency. It is used to quantify the overall reliability of the data in the current window area. The higher the stability, the more suitable the out-of-line point data within the current window is for lane line modeling. The analysis window refers to the target window obtained after multiple rounds of iterative adjustment and final convergence of the window length. It is the data range for determining confidence and fitting the lane line model in subsequent steps.

[0046] Specifically, the spatial distribution density, road curvature, and heading consistency calculated in step S20 are fused to obtain the local environmental stability. The target window length is determined based on the local environmental stability; the target window length is positively correlated with the local environmental stability: the higher the stability, the larger the target window length; the lower the stability, the smaller the target window length. The current window is adjusted according to the target window length, either shrinking or expanding it to match the target window length.

[0047] Determine if the adjusted window meets the convergence criteria. The convergence criteria are that the change in window length in multiple consecutive iterations is less than a preset threshold. If the convergence criteria are met, the window is considered converged, and the adjusted window is output as the analysis window. If the convergence criteria are not met, the adjusted window is used as the current window, and the window slides forward by a preset step size. The spatial distribution density, road curvature, and heading consistency within the current window are redefined, and the steps of fusing into local environmental stability, determining the target window length, and adjusting the window are repeated until the window meets the convergence criteria. During each forward slide, adjacent windows maintain a fixed spatial overlap rate to ensure that no analysis gaps are generated during the window sliding process.

[0048] Understandably, a single window adjustment may not yield the optimal window length in one go; the initial window may still be too large or too small, requiring multiple iterations to gradually approach the optimal value. Stopping after a single adjustment could lead to inaccurate confidence calculations and model fitting results due to the window length still not being adapted to the environment. By iteratively adjusting each time, further optimizing based on the previous adjustment until the window length stabilizes, it ensures that the final analysis window matches the current road geometry and traffic flow conditions. Step S30, in real-world road scenarios with alternating straight and curved sections, allows for the acquisition of a data range suitable for the current environment through multiple iterations. This provides the optimal analysis window for subsequent confidence calculations and lane line model determination, avoiding insufficient environmental adaptability caused by a single adjustment, thereby improving the accuracy and stability of lane line modeling.

[0049] Step S40: Determine the geometric confidence level, spatial smoothness confidence level, behavioral consistency confidence level, and heading continuity confidence level based on the analysis window.

[0050] It should be noted that geometric confidence is a confidence index built based on the concentration of the distribution of lane-crossing points along the road direction within the analysis window, used to evaluate the reliability of the spatial geometry of the data points within the window. Spatial smoothness confidence is a confidence index built based on the longitudinal dispersion of lane-crossing points relative to the fitted curve within the analysis window, used to evaluate whether the arrangement of lane-crossing points within the window is smooth and continuous. Behavioral consistency confidence is a confidence index built based on the deviation of the vehicle heading angle from the local road direction, the lateral velocity fluctuation, and the longitudinal acceleration amplitude corresponding to each lane-crossing point within the analysis window, used to evaluate whether the lane-crossing behavior of vehicles within the window is consistent and stable. Heading continuity confidence is a confidence index built based on the geometric deviation between the analysis window and the preceding window in the overlapping area, used to evaluate whether the lane line direction transitions continuously between adjacent windows.

[0051] In one feasible implementation, step S40 may include: acquiring a preceding window adjacent to the analysis window and a preset overlap length; determining principal component eigenvalue differences and fitting curves based on the crossing point data within the analysis window; determining geometric confidence based on the principal component eigenvalue differences; determining spatial smoothness confidence based on the longitudinal deviation between the fitting curve and each crossing point within the analysis window; determining behavioral consistency confidence based on the motion state information of each crossing point within the analysis window; determining a window overlap region based on the analysis window, the preceding window, and the preset overlap length; determining geometric deviation based on the difference in predicted values ​​between the fitting curve of the analysis window and the fitting curve of the preceding window within the window overlap region; and determining heading continuity confidence based on the geometric deviation.

[0052] It should be noted that the preceding window refers to a window that precedes the current analysis window in terms of time or spatial order. It is adjacent to the current analysis window and has a fixed spatial overlap rate. The fitted curve is the curve equation obtained by performing a quadratic curve fitting on the crossing points within the analysis window, used to describe the geometric orientation of the lane lines within that window. The principal component eigenvalue difference refers to the degree of difference between the largest and second-largest eigenvalues ​​after performing principal component analysis on the crossing points within the analysis window. A larger difference indicates a more concentrated distribution of crossing points along the road direction and a more reliable geometric structure.

[0053] Specifically, principal component analysis is performed on the points that cross the line within the analysis window to calculate the covariance matrix and decompose the eigenvalues, obtaining the largest and second-largest eigenvalues. Geometric confidence is then constructed based on the degree of difference between the two eigenvalues; the greater the difference, the higher the geometric confidence.

[0054] Perform least-squares quadratic curve fitting on the points that cross the line within the analysis window to obtain the fitted curve. :

[0055] Calculate each crossing point To the fitted curve Root mean square of longitudinal residuals :

[0056] Using the root mean square of the longitudinal residuals as input, the spatial smoothness confidence is obtained through exponential mapping. :

[0057] in, This is a preset smoothing sensitivity coefficient. The smaller the root mean square of the longitudinal residuals, the smoother the arrangement of points, and the higher the confidence level of spatial smoothness.

[0058] The heading angles of vehicles at each crossing point within the statistical analysis window are calculated as a weighted average, with their speed amplitudes as weights, to serve as the main heading of the window; the difference between the heading angle of each crossing point and the main heading of the window is used as the crossing impact angle. ; to fix the optimal impact angle Based on this, the Gaussian kernel function is used to measure the concentration of the impact angles of each crossing point relative to the optimal impact angle, thus obtaining the impact angle consistency confidence level. :

[0059] Using the total speed of the vehicle With impact angle The transverse velocity component is obtained through trigonometric function decomposition. :

[0060] The weighted standard deviation of all lateral velocity components within the calculation window. The confidence level of lateral velocity stability is obtained by inverse proportional normalization. :

[0061] in, This is the preset speed sensitivity coefficient. The smaller the lateral speed fluctuation, the higher the confidence level.

[0062] Calculate the root mean square of the longitudinal acceleration of all points crossing the line within the calculation window. The longitudinal smoothness confidence level was obtained by inverse proportional normalization. :

[0063] in, This is the preset acceleration sensitivity coefficient. The smaller the longitudinal acceleration amplitude, the smoother the acceleration and deceleration, and the higher the confidence level.

[0064] The behavioral consistency confidence score is obtained by multiplying the impact angle consistency confidence score as the dominant factor with the weighted sum of the lateral velocity stability confidence score and the longitudinal comfort confidence score. :

[0065] in, and For the preset weighting coefficients, and .

[0066] Determine the spatial overlap of the X-axis interval between the analysis window and the previous window. Within the overlapping interval, M points are uniformly sampled, and the average absolute deviation of the predicted values ​​of the fitted curves of the two windows at each sampling point is calculated. :

[0067] in, This is the fitted curve for the front window. To analyze the fitted curve of the window Using the mean absolute deviation as input, the confidence level of heading continuity is obtained through exponential mapping. :

[0068] in, This is a preset continuity sensitivity coefficient. The smaller the mean absolute deviation, the more consistent the geometric orientation of adjacent windows, and the higher the confidence level of heading continuity.

[0069] It is understandable that a single confidence level can only reflect reliability in one aspect: geometric confidence level only reflects the concentration of spatial distribution and cannot assess the rationality of vehicle behavior; behavioral consistency confidence level only reflects the vehicle's motion state and cannot assess the smoothness of the spatial arrangement of data points. Relying solely on a single dimension for lane line modeling will lead to a significant decrease in fitting accuracy when the reliability of that dimension is low. Therefore, this application constructs confidence levels from four dimensions: geometric structure, spatial smoothness, behavioral consistency, and heading continuity. Each confidence level evaluates the reliability of lane-crossing points within the window from different perspectives, forming a complementary system. Through step S40, the reliability of lane-crossing points within the analysis window can be comprehensively evaluated from multiple dimensions, providing evaluation inputs from each dimension for the subsequent fusion of dynamic comprehensive confidence levels, avoiding the one-sidedness of single-dimensional evaluation, thereby improving the adaptability and modeling accuracy of the lane line model in different scenarios.

[0070] Step S50: Based on the spatial distribution density, the road curvature, and the heading consistency, adjust the geometric confidence, the spatial smoothness confidence, the behavioral consistency confidence, and the heading continuity confidence to obtain a dynamic comprehensive confidence.

[0071] It should be noted that the dynamic comprehensive confidence score refers to the comprehensive confidence score obtained by weighting and summing the confidence scores of the four dimensions—geometric confidence score, spatial smoothness confidence score, behavioral consistency confidence score, and heading continuity confidence score—according to their respective fusion weights. This comprehensive confidence score is used to uniformly characterize the overall reliability of each lane-crossing point within the analysis window. A higher dynamic comprehensive confidence score indicates higher overall reliability of the lane-crossing point across the four dimensions of geometric structure, spatial smoothness, behavioral consistency, and heading continuity, and it should play a greater role in the subsequent lane line model determination.

[0072] In one feasible implementation, step S50 may include: determining the confidence weights corresponding to the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the spatial distribution density, the road curvature, and the heading consistency; determining the fusion weight based on each of the confidence weights; and performing a weighted summation of the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the fusion weights to obtain a dynamic comprehensive confidence.

[0073] It should be noted that the fusion weight refers to the proportion of each confidence level when the confidence levels are weighted and summed. The fusion weight is dynamically generated by three environmental factors: spatial distribution density, road curvature, and heading consistency, so that the weight of each confidence level can adaptively change with road geometry and traffic flow conditions.

[0074] Specifically, spatial distribution density, road curvature, and heading consistency are used as environmental factors to generate unnormalized weights corresponding to each confidence level.

[0075] Geometric confidence The unnormalized weights are determined by the road curvature evaluation value; the greater the road curvature, the higher the weight.

[0076] Spatial smoothness confidence The unnormalized weights are determined by the spatial distribution density evaluation value; the lower the spatial distribution density, the higher the weight.

[0077] Behavioral consistency confidence The unnormalized weights are determined by the heading consistency evaluation value; the more consistent the headings, the higher the weight.

[0078] Heading continuity confidence The unnormalized weights are determined by the road curvature evaluation value; the greater the road curvature, the higher the weight.

[0079] in, , , , The preset basic preference coefficient is used to express the basic preference of each confidence level in a neutral environment.

[0080] The four unnormalized weights are normalized so that their sum equals 1, resulting in the final fusion weights for each confidence level. :

[0081] Where i represents the four dimensions: geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence.

[0082] The dynamic comprehensive confidence score of each crossing point is obtained by multiplying the four normalized fusion weights by their corresponding confidence scores and then summing the results.

[0083] Where j represents the j-th point that crosses the line within the analysis window. , , , These are the geometric confidence level, spatial smoothness confidence level, behavioral consistency confidence level, and heading continuity confidence level corresponding to the point of crossing the line.

[0084] Understandably, the reliability of confidence scores across different dimensions varies across different road scenarios. On curved roads, geometric structure and directional continuity are more critical; in sparsely dataed areas, spatial smoothness constraints are more important; and in chaotic traffic flow, behavioral consistency information is more reliable. Fixed weights cannot adapt to these scenario variations and may lead to over-reliance on unreliable dimensions in certain situations. This application dynamically modulates the fusion weights of each confidence score using three environmental factors: spatial distribution density, road curvature, and directional consistency. This allows the weights to adaptively change with road geometry and traffic flow conditions, ensuring that reliable confidence dimensions receive higher weights while unreliable dimensions are automatically suppressed in different scenarios. Simultaneously, the confidence scores of the four dimensions are weighted and fused, creating complementarity among the dimensions. Even when the confidence score of one dimension is low, the confidence scores of other dimensions can still provide reliable evaluation information, avoiding the impact of a single-dimensional evaluation failure on the overall reliability judgment. Step S50 generates a dynamic comprehensive confidence level that integrates multi-dimensional reliability evaluation information, providing a unified reliability measurement basis for the subsequent determination of the lane line model. This allows reliable data points to play a dominant role in the modeling process, while the contribution of unreliable data points is effectively suppressed, thereby improving the fitting accuracy and output stability of the lane line model.

[0085] Step S60: Determine the target lane line model based on the cross-line point data and the dynamic comprehensive confidence level within the analysis window.

[0086] It should be noted that the target lane line model refers to the final output mathematical expression used to describe the geometric orientation of the lane line, i.e., the parameters of the quadratic curve. The model is the final result obtained by weighted fitting and time-series correction of the data of the points that cross the line within the analysis window under the constraint of dynamic comprehensive confidence. It can be directly used for path planning and control decisions of autonomous vehicles.

[0087] In one feasible implementation, step S60 may include: determining the time-series correction strength and the fitting weights corresponding to each lane-crossing point within the analysis window based on the dynamic comprehensive confidence level; determining an initial lane line model based on the lane-crossing point data within the analysis window and the fitting weights; and determining a target lane line model based on the initial lane line model and the time-series correction strength.

[0088] It should be noted that the fitting weight refers to the weight assigned to each crossing point within the analysis window when fitting the lane line model, and is determined by the dynamic comprehensive confidence score. A higher dynamic comprehensive confidence score indicates a greater contribution of the crossing point to the fitting process; conversely, a lower dynamic comprehensive confidence score suppresses the contribution of the crossing point. The temporal correction strength refers to the degree of confidence in the current observations during temporal smoothing, and is also determined by the dynamic comprehensive confidence score. A higher dynamic comprehensive confidence score results in a stronger temporal correction, making the filtering more dependent on the current observations; a lower dynamic comprehensive confidence score results in a weaker temporal correction, making the filtering more dependent on historical data.

[0089] Specifically, based on the dynamic comprehensive confidence level of each lane-crossing point within the analysis window, the fitting weight corresponding to each lane-crossing point is determined. Lane-crossing points with high dynamic comprehensive confidence levels receive larger fitting weights and play a dominant role in lane line model fitting; lane-crossing points with low dynamic comprehensive confidence levels receive smaller fitting weights, and their influence on the fitting results is effectively suppressed. Through weighted fitting, the lane line model parameters for the current window are obtained. As the initial lane line model.

[0090] During the fitting process, the sampling probability of each point that crosses the line Determined by dynamic comprehensive confidence level:

[0091] in, Let j be the sampling probability of the j-th crossing point. Let be the dynamic comprehensive confidence level of the j-th crossing point. Each crossing point participates in model fitting with a probability proportional to its dynamic comprehensive confidence level; crossing points with high dynamic comprehensive confidence levels are more likely to be selected.

[0092] The fitted inlier distance threshold is adaptively adjusted based on the dynamic composite confidence level.

[0093] in, To preset the basic interior point threshold, Let be the dynamic comprehensive confidence score of the j-th crossing point. A higher dynamic comprehensive confidence score results in a smaller inlier threshold and a more accurate fit; conversely, a lower dynamic comprehensive confidence score results in a larger inlier threshold and retains more candidate points.

[0094] Lane line model parameters As the state vector, the lane line model parameters fitted in the current window are used as the observation vector. The lane line parameters at the current time are predicted using the state at the previous time step, and the current fitting result is used as the observation for updating. Observation noise covariance matrix The dynamic comprehensive confidence level is adaptively adjusted. A higher dynamic comprehensive confidence level results in a smaller observation noise covariance, meaning the current observation is more reliable and the time-series correction is stronger; conversely, a lower dynamic comprehensive confidence level results in a larger observation noise covariance, meaning the current observation is less reliable and the time-series correction is weaker.

[0095] in, To predetermine the basic observation noise covariance matrix, This is the average of the dynamic comprehensive confidence scores of all points crossing the line within the current window. When... At higher levels, When the value is smaller, the filter depends more on the current observation; when At lower levels, The larger the value, the more the filter relies on historical predictions.

[0096] After time-series smoothing, output stable lane line model parameters. As a target lane line model.

[0097] Understandably, in the weighted fitting stage, if all lane-crossing points are treated equally, points with low dynamic comprehensive confidence may interfere with the fitting results due to spatial distribution deviating from the actual lane line direction or abnormal vehicle behavior, leading to a decrease in fitting accuracy. In the temporal smoothing stage, if the observations of each frame are treated equally, when an environmental anomaly in a certain frame causes a deviation in the fitting results, this deviation will be directly reflected in the output model, causing the target lane line model to fluctuate in the time dimension. This application uses dynamic comprehensive confidence to guide both the fitting and smoothing stages. In the fitting stage, lane-crossing points with high dynamic comprehensive confidence play a dominant role, while the contribution of lane-crossing points with low dynamic comprehensive confidence is suppressed. In the smoothing stage, when the dynamic comprehensive confidence is high, the current observation is given a higher confidence weight to maintain a rapid response to changes in the actual road conditions; when the dynamic comprehensive confidence is low, more reliance is placed on historical states to filter out abnormal fluctuations in the current frame. Through step S60, dynamic comprehensive confidence can be used to guide weighted fitting in the spatial dimension to suppress the interference of abnormal data points. At the same time, dynamic comprehensive confidence can be used to adaptively adjust the temporal smoothing intensity in the temporal dimension to suppress abnormal fluctuations in a single frame, so that the output lane line model can maintain stable fitting accuracy and output continuity under different road geometric features and traffic flow conditions.

[0098] This embodiment provides an adaptive lane line modeling method based on multi-dimensional confidence fusion. By acquiring the lane-crossing point data when vehicles change lanes as the real sampling points for lane line positions, the spatial distribution density of the lane-crossing point data, road curvature, and heading consistency are fused into a local environmental stability to dynamically adjust the analysis window, allowing the window length to adapt to different road geometric features. Based on this, confidence scores are constructed from four dimensions: geometric structure, spatial smoothness, behavioral consistency, and heading continuity, and fused into a dynamic comprehensive confidence score. The dynamic comprehensive confidence score is used to simultaneously guide weighted fitting and temporal smoothing, ensuring that the modeling results maintain stable fitting accuracy and output continuity under different road geometric features and traffic flow states.

[0099] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 Step S30 may include steps S31 to S33: Step S31: Integrate the spatial distribution density, the road curvature, and the heading consistency into local environmental stability.

[0100] In one feasible implementation, step S31 may include: obtaining a preset evaluation value range; mapping the spatial distribution density to the evaluation value range to obtain a density evaluation value; mapping the road curvature to the evaluation value range to obtain a curvature evaluation value; mapping the heading consistency to the evaluation value range to obtain a heading consistency evaluation value; and fusing the density evaluation value, the curvature evaluation value, and the heading consistency evaluation value to obtain local environmental stability.

[0101] It should be noted that the evaluation value range refers to a pre-defined range of values ​​used to map original parameters with different dimensions and numerical ranges to the same scale, so that parameters with three different physical meanings, namely spatial distribution density, road curvature and heading consistency, can be compared and integrated on the same scale.

[0102] Specifically, obtain the preset evaluation value range. Then, determine the spatial distribution density. The density evaluation value is obtained by truncating the linear mapping to the evaluation value interval. :

[0103] in, A preset density threshold is used. When the density exceeds the threshold, the density evaluation value is taken as the upper limit of the interval, indicating that the data is rich enough.

[0104] Road curvature The curvature evaluation value is obtained by mapping the index to the evaluation value range. :

[0105] in, To preset the curvature sensitivity coefficient, the larger the curvature, the smaller the curvature evaluation value, indicating that the more curved the road, the lower the reliability evaluation of this dimension. The window should be shrunk to enhance the accuracy of local modeling.

[0106] Consistency of course By mapping the index to the evaluation value range, the heading consistency evaluation value is obtained. :

[0107] in, The preset direction sensitivity coefficient indicates that the more consistent the headings (the smaller the standard deviation), the higher the heading consistency evaluation value, which means that the more uniform the traffic flow, the higher the reliability evaluation of this dimension.

[0108] The density evaluation value, curvature evaluation value, and heading consistency evaluation value are fused together to obtain the local environmental stability. :

[0109] It is understandable that the three original parameters—spatial distribution density, road curvature, and heading consistency—have different physical meanings. Density reflects the sufficiency of data coverage, curvature reflects the degree of road geometric curvature, and heading consistency reflects the consistency of traffic flow. Furthermore, their dimensions and numerical ranges differ, making direct fusion impossible. By mapping these three original parameters to a unified evaluation value range, the differences in dimensions and numerical ranges are eliminated, allowing for comparison and weighting of the evaluation information across the three dimensions at the same scale. Simultaneously, the three evaluation values ​​describe the current window's environmental state from the dimensions of data richness, road geometry, and traffic flow consistency, respectively. A higher density evaluation value indicates more abundant data, a higher curvature evaluation value indicates a straighter road, and a higher heading consistency evaluation value indicates a more uniform vehicle travel direction. These three values ​​complement each other, forming a comprehensive description of the current window's environmental state. Through step S31, the three environmental parameters with different dimensions can be converted into unified-scale evaluation values ​​and fused, providing a comprehensive environmental evaluation basis for subsequent adaptive adjustment of the window length. This avoids errors in window adjustment direction due to one-dimensional information, thereby improving the rationality of window length adjustment.

[0110] Step S32: Determine the target window length based on the local environment stability.

[0111] It should be noted that the target window length refers to the target size of the current window, determined based on the local environment stability, and is used to adjust the current window. The target window length is positively correlated with the local environment stability; the higher the local environment stability, the larger the target window length, and vice versa. The target window length is limited between a preset minimum window length and a preset maximum window length.

[0112] Specifically, the stability of the local environment As input, within the preset minimum window length With the preset maximum window length Determine the target window length between The target window length is determined in the following way:

[0113] in, For the target window length, To preset the minimum window length, To preset the maximum window length, This represents the local environment stability of the current window.

[0114] It is understandable that local environmental stability is a dimensionless comprehensive evaluation value, and its numerical range is consistent with the preset evaluation value range. The target window length has a real physical dimension (length unit), and it is necessary to map the dimensionless local environmental stability to a window length value with physical meaning. If the local environmental stability is directly used as the window length, the window length is limited to the [0,1] interval, which cannot reflect the physical scale that the window length should have in actual roads. By mapping the local environmental stability to the interval formed by the preset minimum window length and maximum window length, the window length can adaptively change within the actual scale range that conforms to road design specifications. When the environment is stable, the window expands to near the maximum length to make full use of the data, and when the environment is unstable, the window shrinks to near the minimum length to enhance the local response capability. Through step S32, the dimensionless environmental evaluation result can be converted into a window length value with real physical meaning, so that the adjustment of the window length is carried out within the range that conforms to the actual scale of the road, avoiding fitting distortion or insufficient data problems caused by the window length exceeding the reasonable range.

[0115] Step S33: Adjust the initial window according to the target window length to obtain the analysis window.

[0116] Specifically, adjust the length of the current window to the length of the target window. If the target window length is greater than the current window length, the window range is symmetrically expanded along both sides of the vehicle's travel direction; if the target window length is less than the current window length, the window range is symmetrically reduced along both sides of the vehicle's travel direction. The adjusted window is recorded as the current window, and it is determined whether the current window meets the convergence condition. The convergence condition is that the change in window length in consecutive iterations satisfies the following:

[0117] in, To preset the convergence threshold, This is the currently adjusted window length. This is the window length after the last adjustment. If the above convergence condition is met, the window is considered to have converged, and the current window is output as the analysis window.

[0118] If the convergence condition is not met, the current window will be moved forward by a preset step. The preset step size is the current window length. Fixed ratio:

[0119] Slide the window forward in the direction of vehicle travel. This creates a new current window.

[0120] For points that cross the line and fall into the overlapping area of ​​the current window and the previous window, deduplication is performed: deduplication is performed based on spatial coordinate tolerance and vehicle unique identifier. If the same vehicle generates multiple points that cross the line within the overlapping area within a preset time interval, only the point closest to the center of the current window is retained.

[0121] Alternatively, for points that cross the line and fall into the overlapping area of ​​the current window and the previous window, a weighted assignment process is performed: the assignment weight is assigned according to the distance of the point to the center of the current window, and this weight is used in the statistical calculation of the weighted standard deviation and root mean square.

[0122] Within the new current window, the number of points crossing the line within the window is recounted, the first main road direction corresponding to the current window and the second main road direction corresponding to the previous window adjacent to the current window are redefined, and the heading angle corresponding to each point crossing the line within the window is reacquired.

[0123] Based on the recalculated number of crossing points and the current window length, the spatial distribution density is redefined. The road curvature is redefined based on the angle difference between the redefined first and second main road directions. The heading consistency is redefined based on the reacquired heading angles of each crossing point.

[0124] The redefined spatial distribution density, road curvature, and heading consistency are re-integrated into local environmental stability. The target window length is redefined based on the re-integrated local environmental stability. The current window is then readjusted based on the redefined target window length. The convergence condition is checked again until it is met.

[0125] Understandably, after the window slides, the set of crossing points within the window changes. The new window may include crossing points that did not fall into the window before, or it may exclude crossing points that have already slid out of the window. Therefore, the number of crossing points, the main road direction, and the heading angle of each crossing point all need to be recalculated and re-counted based on the new window. Directly using the environmental parameters of the old window will lead to incorrect window adjustment direction. By re-counting the number of crossing points, redetermining the main road direction and heading angle within the new current window, and then recalculating the spatial distribution density, road curvature, and heading consistency, we ensure that the environmental parameters used in each iteration match the actual data state of the current window. Multiple iterations until the change in window length is less than a preset threshold ensure that the final analysis window matches the current road geometry and traffic flow state.

[0126] This embodiment provides an adaptive lane line modeling method based on multi-dimensional confidence fusion. It obtains three evaluation values ​​by mapping spatial distribution density, road curvature, and heading consistency to a unified evaluation value range, eliminating differences between different dimensions and numerical ranges, and enabling comparison and fusion of the three at the same scale. The three evaluation values ​​are multiplied and fused into a local environmental stability, which comprehensively reflects the environmental state in terms of data richness, road curvature, and traffic flow consistency, avoiding errors in window adjustment direction due to one-dimensional information. The local environmental stability is mapped to the actual length range between a preset minimum window length and a preset maximum window length, allowing the window length to adaptively change within a range consistent with the road scale as the environmental state changes. By determining whether the window meets the convergence condition, if convergence fails, the window is slid and environmental parameters are recalculated. The fusion and adjustment steps are repeated until convergence, allowing the window length to approach the optimal value that matches the current road geometry through multiple iterations. Compared with existing technologies, this embodiment enables the analysis window to adaptively match road segments with different curvatures, avoiding the problems of fitting distortion on curves and unstable fitting on straight roads with a fixed window, thereby improving the fitting accuracy of the lane line model under different road geometric features.

[0127] For example, to help understand the implementation process of the adaptive lane line modeling method with multi-dimensional confidence fusion obtained by combining this embodiment with the above embodiment one, please refer to... Figure 3 , Figure 3 A simplified flowchart of an adaptive lane line modeling method based on multi-dimensional confidence fusion is provided, specifically: First, vehicle trajectory data is acquired, and the lane-crossing points where the vehicle's position is located during lane changes are extracted. These lane-crossing points contain both position information and motion state information such as velocity, acceleration, and heading angle. An initial window is established centered on one of these lane-crossing points. The spatial distribution density is determined based on the number of lane-crossing points within the window. Principal component analysis is used to extract the main road direction between the current window and the previous window, and the difference is compared to determine the road curvature. The consistency of the heading angles of each lane-crossing point within the window is then statistically analyzed to determine heading consistency. After these three environmental parameters are determined, they are mapped to a unified evaluation value range to obtain density evaluation values, curvature evaluation values, and heading consistency evaluation values. These three evaluation values ​​are then fused into a local environmental stability. Based on this, a target window length is determined between a preset minimum and maximum window length, and the current window is adjusted to this length. If the change in window length is less than a preset threshold in multiple consecutive iterations, the current window is output as the analysis window; otherwise, the window slides with a fixed proportional step size, the lane-crossing points within the new window are recalculated, and the three environmental parameters are recalculated. This fusion and adjustment process is repeated until convergence.

[0128] After the analysis window is determined, the reliability of the crossing points within the window is evaluated from four dimensions: geometric confidence based on the difference in principal component eigenvalues, spatial smoothness confidence based on the deviation of the fitted curve from each crossing point, behavioral consistency confidence based on the motion state information of each crossing point within the window, and directional continuity confidence based on the deviation of the fitted curve between the analysis window and the previous window in the overlapping area. Subsequently, using spatial distribution density, road curvature, and directional consistency as environmental factors, the fusion weights corresponding to the four confidence levels are dynamically determined, allowing the weights to adaptively change with road geometry and traffic flow conditions. Each weight is then fused with its corresponding confidence level to obtain the dynamic comprehensive confidence level of each crossing point.

[0129] Finally, the fitting weights and temporal correction strengths of each lane-crossing point are determined using dynamic comprehensive confidence. Lane-crossing points with high dynamic comprehensive confidence play a dominant role in the fitting process, while the contributions of lane-crossing points with low dynamic comprehensive confidence are suppressed. Furthermore, higher dynamic comprehensive confidence indicates more reliable and dependent current observations, while lower dynamic comprehensive confidence indicates greater dependence on historical states. After weighted fitting and temporal smoothing, the target lane line model is output.

[0130] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the adaptive lane line modeling method of multidimensional confidence fusion of this application. Any simple transformations based on this technical concept are within the protection scope of this application.

[0131] This application also provides an adaptive lane line modeling device based on multi-dimensional confidence fusion; please refer to [reference needed]. Figure 4 The adaptive lane line modeling device based on multi-dimensional confidence fusion includes: The data acquisition module 10 is used to acquire vehicle trajectory data and determine line crossing point data based on the vehicle trajectory data, wherein the line crossing point data includes location information and motion state information; The window analysis module 20 is used to determine an initial window based on the crossing point data, and to determine the spatial distribution density, road curvature, and heading consistency of the crossing point data within the initial window. The fusion adjustment module 30 is used to fuse the spatial distribution density, the road curvature, and the heading consistency into a local environmental stability, and adjust the initial window according to the local environmental stability to obtain an analysis window; The confidence module 40 is used to determine the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the analysis window. The dynamic adjustment module 50 is used to adjust the geometric confidence, spatial smoothness confidence, behavioral consistency confidence and heading continuity confidence based on the spatial distribution density, the road curvature and the heading consistency to obtain a dynamic comprehensive confidence. The model determination module 60 is used to determine the target lane line model based on the cross-line point data and the dynamic comprehensive confidence level within the analysis window.

[0132] The adaptive lane line modeling device with multi-dimensional confidence fusion provided in this application, employing the adaptive lane line modeling method with multi-dimensional confidence fusion in the above embodiments, can solve the technical problems of large fluctuations in fitting accuracy and insufficient output stability of lane line models under different road geometric features and traffic flow states. Compared with the prior art, the beneficial effects of the adaptive lane line modeling device with multi-dimensional confidence fusion provided in this application are the same as those of the adaptive lane line modeling method with multi-dimensional confidence fusion provided in the above embodiments, and other technical features in the adaptive lane line modeling device with multi-dimensional confidence fusion are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0133] In one embodiment, the fusion adjustment module 30 is further configured to fuse the spatial distribution density, the road curvature, and the heading consistency into local environmental stability; The target window length is determined based on the local environmental stability. The initial window is adjusted according to the target window length to obtain the analysis window.

[0134] In one embodiment, the fusion adjustment module 30 is further configured to obtain a preset evaluation value range; The spatial distribution density is mapped to the evaluation value range to obtain the density evaluation value; The road curvature is mapped to the evaluation value range to obtain the curvature evaluation value; The heading consistency is mapped to the evaluation value range to obtain the heading consistency evaluation value; By integrating the density evaluation value, the curvature evaluation value, and the heading consistency evaluation value, the local environmental stability is obtained.

[0135] In one embodiment, the confidence module 40 is further configured to obtain the preceding window adjacent to the analysis window and a preset overlap length; Based on the data of the points crossing the line in the analysis window, determine the differences in principal component eigenvalues ​​and the fitted curve; The geometric confidence level is determined based on the differences in the principal component eigenvalues. The spatial smoothness confidence level is determined based on the longitudinal deviation between the fitted curve and each point crossing the line within the analysis window. Based on the motion state information of each point crossing the line within the analysis window, the behavioral consistency confidence level is determined; Based on the analysis window, the front window, and the preset overlap length, the window overlap area is determined; The geometric deviation is determined based on the difference between the predicted values ​​of the fitted curve of the analysis window and the fitted curve of the preceding window within the overlapping area of ​​the windows. The confidence level of heading continuity is determined based on the geometric deviation.

[0136] In one embodiment, the window analysis module 20 is further configured to establish an initial window centered on one of the crossing points in the crossing point data, based on a preset initial window length. Obtain the number of crossing points in the initial window, the first main road direction and heading angle corresponding to each crossing point in the initial window, and the second main road direction of the preceding window adjacent to the initial window; The spatial distribution density is determined based on the number of crossing points and the initial window length; The road curvature is determined based on the main directions of the first and second roads; Based on the heading angles described, heading consistency is determined.

[0137] In one embodiment, the model determination module 60 is further configured to determine the time-series correction strength and the fitting weights corresponding to each cross-line point within the analysis window based on the dynamic comprehensive confidence level. The initial lane line model is determined based on the cross-line point data and the fitting weights within the analysis window; The target lane line model is determined based on the initial lane line model and the temporal correction intensity.

[0138] In one embodiment, the dynamic adjustment module 50 is further configured to determine the confidence weights corresponding to the geometric confidence, the spatial smoothness confidence, the behavioral consistency confidence, and the heading continuity confidence based on the spatial distribution density, the road curvature, and the heading consistency. The fusion weights are determined based on the confidence weights described above; Based on the fusion weights, the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence are weighted and summed to obtain the dynamic comprehensive confidence.

[0139] This application provides an adaptive lane line modeling device with multi-dimensional confidence fusion. The adaptive lane line modeling device with multi-dimensional confidence fusion includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the adaptive lane line modeling method with multi-dimensional confidence fusion in the above embodiment 1.

[0140] The following is for reference. Figure 5 This document illustrates a structural schematic of an adaptive lane line modeling device suitable for implementing multi-dimensional confidence fusion in the embodiments of this application. The adaptive lane line modeling device for multi-dimensional confidence fusion in the embodiments of this application may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Description), PMPs (Portable Media Players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The adaptive lane line modeling device with multidimensional confidence fusion shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.

[0141] like Figure 5As shown, the adaptive lane line modeling device with multi-dimensional confidence fusion may include a processing unit 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in ROM (Read Only Memory) 1002 or a program loaded from storage device 1003 into RAM (Random Access Memory) 1004. RAM 1004 also stores various programs and data required for the operation of the adaptive lane line modeling device with multi-dimensional confidence fusion. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via bus 1005. Input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, LCDs (Liquid Crystal Displays), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the multi-dimensional confidence fusion adaptive lane line modeling device to wirelessly or wiredly communicate with other devices to exchange data. Although the figure shows a multi-dimensional confidence fusion adaptive lane line modeling device with various systems, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.

[0142] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.

[0143] The adaptive lane line modeling device with multi-dimensional confidence fusion provided in this application, employing the adaptive lane line modeling method with multi-dimensional confidence fusion in the above embodiments, can solve the technical problems of large fluctuations in fitting accuracy and insufficient output stability of lane line models under different road geometric features and traffic flow states. Compared with the prior art, the beneficial effects of the adaptive lane line modeling device with multi-dimensional confidence fusion provided in this application are the same as those of the adaptive lane line modeling method with multi-dimensional confidence fusion provided in the above embodiments, and other technical features in this adaptive lane line modeling device with multi-dimensional confidence fusion are the same as those disclosed in the previous embodiment method, and will not be repeated here.

[0144] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0145] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

[0146] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, the computer-readable program instructions being used to execute the adaptive lane line modeling method of multidimensional confidence fusion in the above embodiments.

[0147] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable Read Only Memory or Flash Memory), optical fibers, CD-ROM (CD-Read Only Memory), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0148] The aforementioned computer-readable storage medium may be included in the adaptive lane line modeling device with multidimensional confidence fusion; or it may exist independently and not be assembled into the adaptive lane line modeling device with multidimensional confidence fusion.

[0149] The aforementioned computer-readable storage medium carries one or more programs. When these programs are executed by the adaptive lane line modeling device with multi-dimensional confidence fusion, the adaptive lane line modeling device with multi-dimensional confidence fusion performs the following actions: acquiring vehicle trajectory data to determine lane-crossing point data; determining an initial window and the spatial distribution density, road curvature, and heading consistency of the lane-crossing point data within the initial window based on the lane-crossing point data; fusing the spatial distribution density, road curvature, and heading consistency into a local environmental stability; adjusting the initial window based on the local environmental stability to obtain an analysis window; determining multi-dimensional confidence based on the analysis window and fusing it to obtain a dynamic comprehensive confidence; and determining a target lane line model based on the lane-crossing point data within the analysis window and the dynamic comprehensive confidence.

[0150] Computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including LAN (Local Area Network) or WAN (Wide Area Network)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0151] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0152] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0153] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described adaptive lane line modeling method based on multi-dimensional confidence fusion. This addresses the technical problems of large fluctuations in the fitting accuracy of lane line models and insufficient output stability under different road geometric features and traffic flow conditions. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the adaptive lane line modeling method based on multi-dimensional confidence fusion provided in the above embodiments, and will not be elaborated upon here.

[0154] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the adaptive lane line modeling method with multidimensional confidence fusion as described above.

[0155] The computer program product provided in this application can solve the technical problems of large fluctuations in fitting accuracy and insufficient output stability of lane line models under different road geometric features and traffic flow conditions. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as those of the adaptive lane line modeling method with multi-dimensional confidence fusion provided in the above embodiments, and will not be repeated here.

[0156] The above description is only a part of the embodiments of this application and does not limit the patent scope of this application. All equivalent structural transformations made under the technical concept of this application and using the contents of the specification and drawings of this application, or direct / indirect applications in other related technical fields, are included in the patent protection scope of this application.

Claims

1. An adaptive lane line modeling method based on multi-dimensional confidence fusion, characterized in that, The method includes: Acquire vehicle trajectory data, and determine line-crossing point data based on the vehicle trajectory data, wherein the line-crossing point data includes location information and motion state information; An initial window is determined based on the boundary crossing point data, and the spatial distribution density, road curvature, and heading consistency of the boundary crossing point data within the initial window are determined. The spatial distribution density, road curvature, and heading consistency are integrated into a local environmental stability, and the initial window is adjusted based on the local environmental stability to obtain the analysis window; Based on the analysis window, determine the geometric confidence level, spatial smoothness confidence level, behavioral consistency confidence level, and heading continuity confidence level; Based on the spatial distribution density, the road curvature, and the heading consistency, the geometric confidence, the spatial smoothness confidence, the behavioral consistency confidence, and the heading continuity confidence are adjusted to obtain a dynamic comprehensive confidence. Based on the cross-line point data and the dynamic comprehensive confidence level within the analysis window, the target lane line model is determined.

2. The method as described in claim 1, characterized in that, The process of fusing the spatial distribution density, road curvature, and heading consistency into a local environmental stability, and adjusting the initial window based on the local environmental stability to obtain an analysis window, includes: The spatial distribution density, the road curvature, and the heading consistency are integrated into local environmental stability. The target window length is determined based on the local environmental stability. The initial window is adjusted according to the target window length to obtain the analysis window.

3. The method as described in claim 2, characterized in that, The process of integrating the spatial distribution density, the road curvature, and the heading consistency into local environmental stability includes: Obtain the preset evaluation value range; The spatial distribution density is mapped to the evaluation value range to obtain the density evaluation value; The road curvature is mapped to the evaluation value range to obtain the curvature evaluation value; The heading consistency is mapped to the evaluation value range to obtain the heading consistency evaluation value; By integrating the density evaluation value, the curvature evaluation value, and the heading consistency evaluation value, the local environmental stability is obtained.

4. The method as described in claim 1, characterized in that, The determination of geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the analysis window includes: Obtain the preceding window adjacent to the analysis window and the preset overlap length; Based on the data of the points crossing the line in the analysis window, determine the differences in principal component eigenvalues ​​and the fitted curve; The geometric confidence level is determined based on the differences in the principal component eigenvalues. The spatial smoothness confidence level is determined based on the longitudinal deviation between the fitted curve and each point crossing the line within the analysis window. Based on the motion state information of each point crossing the line within the analysis window, the behavioral consistency confidence level is determined; Based on the analysis window, the front window, and the preset overlap length, the window overlap area is determined; The geometric deviation is determined based on the difference between the predicted values ​​of the fitted curve of the analysis window and the fitted curve of the preceding window within the overlapping area of ​​the windows. The confidence level of heading continuity is determined based on the geometric deviation.

5. The method as described in claim 1, characterized in that, The step of determining an initial window based on the boundary crossing point data, and determining the spatial distribution density, road curvature, and heading consistency of the boundary crossing point data within the initial window, includes: An initial window is established centered on one of the crossing points in the crossing point data, based on a preset initial window length. Obtain the number of crossing points in the initial window, the first main road direction and heading angle corresponding to each crossing point in the initial window, and the second main road direction of the preceding window adjacent to the initial window; The spatial distribution density is determined based on the number of crossing points and the initial window length; The road curvature is determined based on the main directions of the first and second roads; Based on the heading angles described, heading consistency is determined.

6. The method as described in claim 1, characterized in that, The determination of the target lane line model based on the cross-line point data within the analysis window and the dynamic comprehensive confidence level includes: Based on the dynamic comprehensive confidence level, the time series correction strength and the fitting weights corresponding to each cross-line point within the analysis window are determined. The initial lane line model is determined based on the cross-line point data and the fitting weights within the analysis window; The target lane line model is determined based on the initial lane line model and the temporal correction intensity.

7. The method according to any one of claims 1-6, characterized in that, The process of adjusting the geometric confidence level, spatial smoothness confidence level, behavioral consistency confidence level, and heading continuity confidence level based on the spatial distribution density, road curvature, and heading consistency to obtain a dynamic comprehensive confidence level includes: Based on the spatial distribution density, the road curvature, and the heading consistency, determine the confidence weights corresponding to the geometric confidence, the spatial smoothness confidence, the behavioral consistency confidence, and the heading continuity confidence. The fusion weights are determined based on the confidence weights described above; Based on the fusion weights, the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence are weighted and summed to obtain the dynamic comprehensive confidence.

8. An adaptive lane line modeling device with multi-dimensional confidence fusion, characterized in that, The device includes: The data acquisition module is used to acquire vehicle trajectory data and determine line-crossing point data based on the vehicle trajectory data, wherein the line-crossing point data includes location information and motion state information; The window analysis module is used to determine an initial window based on the crossing point data, and to determine the spatial distribution density, road curvature, and heading consistency of the crossing point data within the initial window; The fusion adjustment module is used to fuse the spatial distribution density, the road curvature, and the heading consistency into a local environmental stability, and adjust the initial window according to the local environmental stability to obtain an analysis window; The confidence module is used to determine the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the analysis window. The dynamic adjustment module is used to adjust the geometric confidence, spatial smoothness confidence, behavioral consistency confidence, and heading continuity confidence based on the spatial distribution density, road curvature, and heading consistency to obtain a dynamic comprehensive confidence. The model determination module is used to determine the target lane line model based on the cross-line point data and the dynamic comprehensive confidence level within the analysis window.

9. An adaptive lane line modeling device with multi-dimensional confidence fusion, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the adaptive lane line modeling method of multidimensional confidence fusion as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the adaptive lane line modeling method of multidimensional confidence fusion as described in any one of claims 1 to 7.