Shape fusion method, device, equipment and medium for multi-source lane lines

By discretizing and weighting average fusion of multi-source lane lines, combined with interpolation and integration processing, the problem of lane line fusion distortion in the existing technology is solved, achieving more accurate and reliable lane line information output, and adapting to complex scenarios. and signal instability.

CN118262318BActive Publication Date: 2024-09-24Z-ONE TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410684721.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-24
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

The existing technology can easily cause lane line distortion, bulges, dents and other problems when merging multiple sources of lane lines in complex scenarios. It cannot output accurate lane line information and cannot meet the decision-making and control needs of autonomous driving systems.

Method used

By obtaining multi-source lane lines for discretization, calculate the tangent slope change and weight of each discrete point, perform weighted average fusion, and combine interpolation and integration processing to form the target lane line to ensure the accuracy and reliability of the lane line shape. sex.

Benefits of technology

It effectively avoids the distortion of the fusion results, outputs more accurate and reliable lane line information, adapts to complex scenes and situations where the quality of the signal input source is unstable, and improves the robustness of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118262318B
    Figure CN118262318B
Patent Text Reader

Abstract

The present invention discloses a shape fusion method, device, equipment and medium for multi-source lane lines, and the method includes: obtaining multi-source lane lines, and discretizing the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system; calculating the tangent slope change of each discrete point and the weight of each discrete point, and fusing the discrete points corresponding to the multi-source lane lines into target discrete points according to the tangent slope change of each discrete point and the weight of each discrete point; calculating the point coordinates of the target discrete point in the same coordinate system, and determining the target lane line that fuses the multi-source lane lines according to the point coordinates of the target discrete point. The present invention retains the shape information of the lane lines by fusing the discretized tangent slope changes of the multi-source lane lines, obtains a more accurate and reliable lane line shape, and effectively avoids the distortion of the fusion result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of autonomous driving, and in particular to a shape fusion method, device, equipment and medium for multi-source lane lines. Background Art

[0002] There are three mainstream methods for multi-source lane line fusion in the prior art. The first is to switch lane line shape information from different sources according to the scene, such as: in the HD map coverage scene, the system uses HD map lane line information; in the intersection without perceived lane line scene, the surrounding vehicle trajectory is used for deduction; in other scenes, visually perceived lane line information is used. This method uses a single information source and cannot combine the information of each information source at the same time. The second is to discretize the multi-source lane lines and directly fuse the coordinates of the discrete points. This method is prone to lane line distortion, bulging, and depression in complex scenes. The third is to first perform parameter fitting on the multi-source lane lines, and then fuse the parameters. This method essentially uses parametric equations to express lane lines. The ability to express lane lines is limited by the form of parametric equations, and it is impossible to express the shape of lane lines in complex scenes (such as S-bends, loops, etc.).

[0003] Therefore, in complex real-world scenarios, the lane line information output by the methods provided by existing technologies may be inaccurate or even erroneous, and cannot meet the decision-making and control requirements of the autonomous driving system. Summary of the invention

[0004] In response to the above technical problems, the present invention provides a multi-source lane line shape fusion method, device, equipment and medium, which can better fuse multi-source lane line shapes and output accurate and reliable lane line information.

[0005] A first aspect of the present invention provides a shape fusion method for multi-source lane lines, comprising:

[0006] Acquire multi-source lane lines, and discretize the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system;

[0007] Calculate the tangent slope change of each discrete point and the weight of each discrete point, and merge the discrete points corresponding to the multi-source lane lines into target discrete points according to the tangent slope change of each discrete point and the weight of each discrete point;

[0008] The point coordinates of the target discrete points in the same coordinate system are calculated, and the target lane line integrated with the multi-source lane lines is determined according to the point coordinates of the target discrete points.

[0009] In an optional implementation manner, the discretizing the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system includes:

[0010] Aligning each source lane line in the form of discrete points with a given coordinate point under a preset axis of the same coordinate system;

[0011] The coordinates of the discrete points of each source lane line are obtained to calculate the change in the tangent slope of the adjacent discrete points of each source lane line.

[0012] In an optional implementation, the step of fusing the discrete points corresponding to the multi-source lane lines into target discrete points according to the tangent slope variation of each discrete point and the weight of each discrete point includes:

[0013] Aligning the discrete points of each source lane line with the discrete points of other source lane lines respectively, where the alignment points are the point coordinates of the preset axes of the same coordinate system;

[0014] Normalizing the weights of all the aligned discrete points of the multi-source lane lines to obtain the normalized weights of the alignment points corresponding to all the aligned discrete points of the multi-source lane lines;

[0015] The normalized weight is used to perform weighted average processing on the tangent slope changes of multiple discrete points of the multi-source lane line to obtain the tangent slope change after the multi-source lane line is fused.

[0016] In an optional implementation manner, aligning the discrete points of each source lane line with the discrete points of other source lane lines respectively includes:

[0017] Aligning the discrete points of each source lane line with the coordinate points of the preset axes of the same coordinate system respectively;

[0018] The coordinate point of the preset axis is the interpolation point of the discretization of each source lane line, and the coordinate point is the alignment point.

[0019] In an optional implementation manner, aligning the discrete points of each source lane line with the discrete points of other source lane lines respectively further includes:

[0020] Each source lane line is discretized by using an interpolation method to obtain discrete points, and the discrete points are mapped to the X-axis direction in the same coordinate system; wherein the discrete points corresponding to each source lane line have the same coordinate value in the X-axis direction.

[0021] In an optional implementation, the calculating the weight of each discrete point includes:

[0022] Decompose the existing weight of each discrete point into multiple sub-weights representing different dimensions;

[0023] The weight of each discrete point is obtained by multiplying the multiple sub-weights of each discrete point.

[0024] In an optional implementation manner, calculating the point coordinates of the target discrete point in the same coordinate system, and determining the target lane line for fusing the multi-source lane lines according to the point coordinates of the target discrete point, includes:

[0025] Performing integration processing according to the change amount of the tangent slope of the target discrete point to obtain the tangent slope of each target discrete point;

[0026] Performing a quadratic integration process on the tangent slope of each target discrete point to obtain the point coordinates of each target discrete point;

[0027] The point coordinates are connected to form the target lane line.

[0028] A second aspect of the present invention is a shape fusion device for multi-source lane lines, comprising:

[0029] A discrete processing module is used to obtain multi-source lane lines and discretize the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system;

[0030] A fusion module, used to calculate the tangent slope change of each discrete point and the weight of each discrete point, and fuse the discrete points corresponding to the multi-source lane lines into target discrete points according to the tangent slope change of each discrete point and the weight of each discrete point;

[0031] A calculation module is used to calculate the point coordinates of the target discrete point in the same coordinate system, and determine the target lane line that integrates the multiple source lane lines according to the point coordinates of the target discrete point.

[0032] According to a third aspect of the present invention, there is provided an electronic device, comprising:

[0033] At least one processor; and at least one memory in communication with the processor, wherein: the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the shape fusion method of multi-source lane lines as described in the first aspect of the embodiment of the present invention.

[0034] A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a computer, the shape fusion method of multi-source lane lines as described in the first aspect of the embodiment of the present invention is executed.

[0035] The present invention retains the shape information of the lane line by fusing the discrete tangent slope changes of multi-source lane lines, obtains a more accurate and reliable lane line shape, and effectively avoids the distortion of the fusion result. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 The figure is a flow chart of a shape fusion method of multi-source lane lines in an embodiment of the present invention.

[0038] Figure 2 Schematic diagram of lane line discretization and alignment in an embodiment of the present invention.

[0039] Figure 3 Figure 1 is a schematic diagram of the multi-source lane line fusion process and effect; Figure (a) is a schematic diagram of the distribution of the original multi-source lane lines in the coordinate system, Figure (b) is a schematic diagram of the calculation of the tangent slope change after the multi-source lane lines are discretized and aligned, Figure (c) is a schematic diagram of the discrete point weight distribution after the discrete point weights of the multi-source lane lines are calculated, Figure (d) is a schematic diagram of the change in the tangent slope of the discrete points after the multi-source tangent slope change in Figure (b) is fused according to the weights in Figure (c), Figure (e) is a schematic diagram of the tangent slope at each discrete point obtained by integrating the change in the tangent slope of the discrete points in Figure (d), and Figure (f) is the coordinate points of the lane line trajectory obtained by quadratically integrating the tangent slope of the discrete points in Figure (e).

[0040] Figure 4 Schematic diagram of a module of a shape fusion device for multi-source lane lines in an embodiment of the present invention.

[0041] Figure 5 FIG. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0042] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0043] It should be understood that the terms "include" and "comprises" used in the description and claims of the present invention indicate the presence of described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0044] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the claims, the singular forms "a", "an" and "the" are intended to include plural forms unless the context clearly indicates otherwise.

[0045] See also Figure 1 The present invention provides a method for shape fusion of multi-source lane lines, comprising the following steps:

[0046] S100: Acquire multiple lane lines, and discretize the multiple lane lines to obtain discrete points of the multiple lane lines in the same coordinate system.

[0047] The multi-source lane lines are not limited to lane lines collected and identified by visual sensors, lane lines from high-precision maps, lane lines derived from surrounding vehicle trajectories, etc. Discretizing the multi-source lane lines in this step means discretizing the shapes of the multi-source lane lines. For example, the lane line image collected by the visual sensor is identified by a neural network to obtain a lane line mask, and the lane line shape can be determined based on the lane line mask.

[0048] First, the multi-source lane lines are uniformly discretized and aligned to a given coordinate axis. The coordinate axis of the embodiment of the present invention takes the x-axis of the Cartesian coordinate system as an example, and the discrete points are aligned to the given coordinate points of the x-axis, and of course the y-axis can also be used. Depending on the specific situation, other forms of alignment can also be used, such as alignment to the coordinate points in the s-axis direction of the Frenet coordinate system. In this step, the multi-source lane lines are discretized and then the discrete points are aligned to the given coordinate points in the same coordinate system, that is, the discrete points are aligned with the given coordinate points.

[0049] S200: Calculate the tangent slope change of each discrete point and the weight of each discrete point, and merge the discrete points corresponding to the multi-source lane lines into target discrete points according to the tangent slope change of each discrete point and the weight of each discrete point.

[0050] For each lane line in each source of the multi-source lane lines that have been discretized in the above step, the tangent slope of each discrete point is calculated. The tangent slope is calculated by the coordinates of the discrete points, and then the change of the tangent slope is calculated based on the tangent slope.

[0051] For the weight calculation of each discrete point on the lane line of each source, the sub-weight of each discrete point can be customized, not limited to the prior of the lane line source, signal quality, current scene, lane line length, occlusion, etc. Then the sub-weight is multiplied to obtain the weight of the discrete point. This can adapt to various complex scenes or situations where the quality of the signal input source is unstable, and improve the robustness of the system.

[0052] After obtaining the tangent slope change and weight of each discrete point, the discrete points can be fused, and the discrete points on the given coordinate points in the same coordinate system can be fused to determine the fused target discrete points. After fusion, the discrete points on the given coordinate points in the same coordinate system can be normalized, and the tangent slope change of the normalized target discrete points can be obtained. The fusion of multi-source lane lines is preliminarily completed.

[0053] S300: Calculate the point coordinates of the target discrete point in the same coordinate system, and determine the target lane line that integrates the multiple source lane lines according to the point coordinates of the target discrete point.

[0054] The tangent slope of the fused target discrete points needs to be re-determined, and the lateral coordinates of the target discrete points in the Cartesian coordinate system are calculated. Multiple target discrete points are aggregated into the fused lane line coordinate points, thereby determining the target lane line that fuses the multiple source lane lines.

[0055] The present invention retains the shape information of the lane line by fusing the discretized tangent slope variation of the multi-source lane line, obtains a more accurate and reliable lane line shape, and effectively avoids the distortion of the fusion result. The present invention will be further described in detail in the following content.

[0056] See also Figure 2 , Figure 2 A schematic diagram for aligning discrete points to given coordinates in a Cartesian coordinate system.

[0057] A coordinate point set x_ref = [x1, x2, ..., xn] may be selected on the x-axis of the Cartesian coordinate system as discrete alignment points. The x_ref is also a reference coordinate point for weighted calculation and target discrete point coordinate calculation in subsequent steps.

[0058] For example, for the lane line information expressed parametrically, the lane line is discretized according to x_ref, and the obtained n discrete points are the results of alignment according to x_ref. Figure 2 The lane lines and their discrete alignment results are input in the form of parametric equations.

[0059] For lane line information input in the form of discrete points, each source lane line is discretized using the interpolation method to obtain discrete points, and the discrete points are mapped to the x-axis direction in the same coordinate system; wherein the discrete points corresponding to each source lane line have the same coordinate value in the x-axis direction.

[0060] The lane line is interpolated using the x_ref method to obtain n new discrete points, which is the alignment result. Figure 2In , lane lines are aligned in the form of discrete points. The interpolation method can be various, not limited to first-order linear interpolation, second-order interpolation, cubic spline interpolation, etc. After the lane lines are discretized and aligned, multiple lane lines in the multi-source lane lines have the same coordinate value x_ref in the x-axis direction.

[0061] In an embodiment of the present invention, the discrete points of the multi-source lane lines are aligned with the coordinate points of the preset axes of the same coordinate system; Figure 2 x1, x2, ..., xn in are preset coordinate points in the x-axis of the Cartesian coordinate system. The coordinate points of the preset axis are interpolation points of the discretization of each source lane line, that is, the lane line is interpolated according to the preset coordinate points, so the coordinate points are the alignment points.

[0062] As described above, each source lane line is aligned with a given coordinate point in the form of a discrete point under the preset axis of the same coordinate system; then the coordinates of the discrete points of each source lane line are obtained respectively to calculate the change in the tangent slope of the adjacent discrete points of each source lane line.

[0063] For example, suppose (x i ,y i ) is the coordinate point of a discrete point in the Cartesian coordinate system. If this point is not the last coordinate point of the lane line in the coordinate system, its tangent slope is approximately: If this point is the last coordinate point of the lane line in the coordinate system, its tangent slope is approximately: .

[0064] Then calculate the change in the tangent slope of each discrete point. If the point is not the last coordinate point of the lane line in the coordinate system, the change in its tangent slope is approximately: .

[0065] If this point is the last coordinate point of the lane line in the coordinate system, the change in its tangent slope is approximately: .

[0066] As mentioned above, the change in the tangent slope of the jth point of the lane line of the i-th source after discrete alignment along x_ref can be obtained, which is recorded as dk ij .

[0067] Next, the existing weight of each discrete point is decomposed into multiple sub-weights representing different dimensions; the multiple sub-weights of each discrete point are multiplied to obtain the weight of each discrete point. The different dimensions are not limited to the prior information of the lane source, signal quality, current scene, lane length, occlusion, distance, etc.; different dimensions correspond to different sub-weights.

[0068] Taking the needs of the autonomous driving system as an example, the weight W of each point can be customized to be decomposed into m components w1, w2, ..., w m , each component w i Represents the sub-weight of the point in different dimensions, represented by the corresponding function f i (x) is calculated, such as: w1=f1(X) represents the prior weight of the lane line source, w2 represents the weight calculated by f2(X) from the signal quality of the lane line, w3 represents the weight calculated by f3(X) from the distance of the point, and so on. The weight formula can be selected according to the needs of this field. The weight W of M can be expressed by the formula: w m =f m (X).

[0069] Then multiply the sub-weights to get the weight W of the discrete point. For the jth discrete point X of the i-th source ij , its weight can be expressed as follows: ;w ijk is the weight of the jth discrete point of the i-th source lane line.

[0070] like Figure 2 As shown, after aligning the discrete points of each source lane line with the discrete points of other source lane lines, the alignment points are the point coordinates [x1, x2, ..., xn] of the preset axis of the same coordinate system, and have the same coordinate value x_ref. Then, the tangent slope change and weight expression value of the discrete points can be obtained by calculation.

[0071] Afterwards, the weights of all the aligned discrete points of the multi-source lane lines may be normalized to obtain the normalized weights of the alignment points corresponding to all the aligned discrete points of the multi-source lane lines.

[0072] For example, assume that there are s lane lines from different sources. First, for the jth point on x_ref, query the weight W of each lane line from source i at the corresponding point ij , and normalize it, the new weight of the discrete point is:

[0073] .

[0074] Then, the normalized weight is used to perform weighted average processing on the tangent slope changes of multiple discrete points of the multi-source lane lines to obtain the tangent slope changes after the multi-source lane lines are fused.

[0075] The normalized weights are used to perform weighted average calculation on the changes in the tangent slopes of all lane lines at the point, and the fused tangent slope changes corresponding to each point j on x_ref are obtained:

[0076] ;dk ij is the change in the tangent slope of the jth point on the i-th source lane line.

[0077] The above method is used to complete the discretization alignment of lane lines, the calculation of the change in the tangent slope of discrete points, the weight calculation of discrete points, the fusion of discrete points using weight normalization processing to obtain target discrete points, and the calculation of the change in the tangent slope of the fused discrete points.

[0078] Then, the target discrete points are quadratically integrated to obtain the point coordinates of the target discrete points, and the fused lane lines are obtained according to the point coordinates.

[0079] Specifically, the tangent slope of each target discrete point is obtained by performing an integration process according to the change in the tangent slope of the target discrete point. For example, the change in the tangent slope of each target discrete point after fusion on the above x_ref is integrated once to obtain the tangent slope of each target discrete point: ; k j is the tangent slope of the jth target discrete point, dk_wm j is the change in the corresponding fused tangent slope, k j With k j+1 is the slope of the tangent line between adjacent target discrete points.

[0080] Then, the tangent slope of each target discrete point is integrated twice to obtain the point coordinates of each target discrete point. For example, starting from the first point of x_ref, the tangent slope of each target discrete point calculated above is integrated for the second time to obtain the lateral coordinates of each point in the Cartesian coordinate system: ;x j is the x-axis coordinate of the j-th alignment point, y j is the y-axis coordinate of the jth alignment point, y j With y j+1 are adjacent discrete points.

[0081] The obtained x_ref and its corresponding y=[y1,y2,...,yn] are the lane line coordinate points after fusion, and finally the point coordinates are connected to form the target lane line.

[0082] See also Figure 3 , Figure 3 This is a schematic diagram of the multi-source lane line fusion process and effect. Figure 3 As shown in (a), lane line information comes from three sources: visual lane lines, high-precision map lane lines, and front vehicle trajectory lines. Figure 3 (b) The above lane lines are discretized and aligned, and the change in the corresponding tangent slope is calculated. Figure 3(c) is the weight of each discrete point on each lane line source designed and calculated as needed. It can be seen that the weight of the visually perceived lane line and the front vehicle trajectory line in this embodiment decays with increasing distance. The weight of the lane line in the high-precision map increases with increasing distance. Figure 3 (d) is the calculated change in the slope of the fused tangent line. Figure 3 The point in (e) represents the slope of the tangent line corresponding to the point on x_ref obtained by performing an integration. Figure 3 In (f), the second integral is performed, and the fused lane line is finally obtained. Figure 3 Middle (f) and Figure 3 In (a), it can be found that the shape of the fused lane line at a close distance of x_ref is more inclined to the visually perceived lane line and the front vehicle trajectory line. As x_ref increases, its shape gradually approaches the lane line of the high-precision map. It can be seen that the present invention combines the shapes of multi-source lane lines well and outputs accurate and reasonable fusion results. The present invention retains the shape information of the lane line by fusing the discrete tangent slope changes of the multi-source lane lines, obtains a more accurate and reliable lane line shape, and effectively avoids the distortion of the fusion result.

[0083] like Figure 4 As shown, the present invention also provides a shape fusion device for multi-source lane lines, comprising:

[0084] The discrete processing module 41 is used to obtain multi-source lane lines and discretize the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system.

[0085] Specifically, each source lane line is aligned with a given coordinate point in the form of a discrete point under a preset axis of the same coordinate system; the coordinates of the discrete points of each source lane line are obtained respectively to calculate the change in the tangent slope of adjacent discrete points of each source lane line.

[0086] The fusion module 42 is used to calculate the change in the tangent slope of each discrete point and the weight of each discrete point, and fuse the discrete points corresponding to the multi-source lane lines into target discrete points according to the change in the tangent slope of each discrete point and the weight of each discrete point.

[0087] Specifically, the discrete points of each source lane line are aligned with the discrete points of other source lane lines, and the alignment points are the point coordinates of the preset axis of the same coordinate system. For example, the discrete points of each source lane line are aligned with the coordinate points of the preset axis of the same coordinate system; the coordinate points of the preset axis are the interpolation points of the discretization of each source lane line, and the coordinate points are the alignment points. Specifically, each source lane line is discretized by interpolation method to obtain discrete points, and the discrete points are mapped to the X-axis direction in the same coordinate system; wherein the discrete points corresponding to each source lane line have the same coordinate value in the X-axis direction.

[0088] The existing weight of each discrete point is decomposed into multiple sub-weights representing different dimensions; the multiple sub-weights of each discrete point are multiplied to obtain the weight of each discrete point. The weights of all aligned discrete points of the multi-source lane lines are normalized to obtain the normalized weights of the alignment points corresponding to the discrete points of all aligned multi-source lane lines.

[0089] The normalized weight is used to perform weighted average processing on the tangent slope changes of multiple discrete points of the multi-source lane line to obtain the tangent slope change after the multi-source lane line is fused.

[0090] The calculation module 43 is used to calculate the point coordinates of the target discrete point in the same coordinate system, and determine the target lane line that integrates the multiple source lane lines according to the point coordinates of the target discrete point.

[0091] Specifically, integration processing is performed according to the change in the tangent slope of the target discrete point to obtain the tangent slope of each target discrete point; the tangent slope of each target discrete point is subjected to secondary integration processing to obtain the point coordinates of each target discrete point; and the point coordinates are connected to form the target lane line.

[0092] like Figure 5 As shown, the present invention also provides an electronic device, including:

[0093] At least one processor; and at least one memory in communication with the processor, wherein: the memory stores program instructions that can be executed by the processor, and the processor calls the program instructions to execute the above-mentioned multi-source lane line shape fusion method.

[0094] The present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the shape fusion method of the multi-source lane lines is implemented.

[0095] It can be understood that computer-readable storage media may include: any entity or device capable of carrying a computer program, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc. A computer program includes a computer program code. The computer program code may be in source code form, object code form, an executable file, or some intermediate form, etc. A computer-readable storage medium may include: any entity or device capable of carrying a computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), and a software distribution medium, etc.

[0096] In certain embodiments of the present invention, the electronic device may include a controller or a processor, and the controller is a single-chip microcomputer chip that integrates a processor, a memory, a communication module, etc. The processor may refer to a processor included in the controller. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.

[0097] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0098] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0099] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A shape fusion method for multi-source lane lines, characterized in that: include: Acquire multi-source lane lines, discretize the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system, and align the discrete points; Calculating the tangent slope change of each discrete point and the weight of each discrete point, and performing normalization processing according to the tangent slope change of each discrete point and the weight of each discrete point to merge the discrete points corresponding to the multi-source lane lines into target discrete points; The point coordinates of the target discrete points in the same coordinate system are calculated, and the target lane line integrated with the multi-source lane lines is determined according to the point coordinates of the target discrete points.

2. The shape fusion method of multi-source lane lines according to claim 1, characterized in that: The discretization of the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system includes: Aligning each source lane line in the form of discrete points with a given coordinate point under a preset axis of the same coordinate system; The coordinates of the discrete points of each source lane line are respectively obtained to calculate the change in the tangent slope of the adjacent discrete points of each source lane line.

3. The shape fusion method of multi-source lane lines according to claim 2, characterized in that: The step of fusing the discrete points corresponding to the multi-source lane lines into target discrete points according to the tangent slope variation of each discrete point and the weight of each discrete point includes: Aligning the discrete points of each source lane line with the discrete points of other source lane lines respectively, where the alignment points are the point coordinates of the preset axes of the same coordinate system; Normalizing the weights of all the aligned discrete points of the multi-source lane lines to obtain the normalized weights of the alignment points corresponding to all the aligned discrete points of the multi-source lane lines; The normalized weight is used to perform weighted average processing on the tangent slope changes of multiple discrete points of the multi-source lane line to obtain the tangent slope change after the multi-source lane line is fused.

4. The shape fusion method of multi-source lane lines according to claim 3, characterized in that: The step of respectively aligning the discrete points of each source lane line with the discrete points of other source lane lines comprises: Aligning the discrete points of each source lane line with the coordinate points of the preset axes of the same coordinate system respectively; The coordinate point of the preset axis is the interpolation point of the discretization of each source lane line, and the coordinate point is the alignment point.

5. The shape fusion method of multi-source lane lines according to claim 4, characterized in that: The step of respectively aligning the discrete points of each source lane line with the discrete points of other source lane lines further includes: Each source lane line is discretized by using an interpolation method to obtain discrete points, and the discrete points are mapped to the X-axis direction in the same coordinate system; wherein the discrete points corresponding to each source lane line have the same coordinate value in the X-axis direction.

6. The shape fusion method of multi-source lane lines according to claim 1 or 2, characterized in that: The step of calculating the weight of each discrete point includes: Decompose the existing weight of each discrete point into multiple sub-weights representing different dimensions; The weight of each discrete point is obtained by multiplying the multiple sub-weights of each discrete point.

7. The shape fusion method of multi-source lane lines according to claim 1 or 2, characterized in that: The step of calculating the point coordinates of the target discrete point in the same coordinate system and determining the target lane line that fuses the multi-source lane lines according to the point coordinates of the target discrete point includes: Performing integration processing according to the change amount of the tangent slope of the target discrete point to obtain the tangent slope of each target discrete point; Performing a quadratic integration process on the tangent slope of each target discrete point to obtain the point coordinates of each target discrete point; The point coordinates are connected to form the target lane line.

8. A shape fusion device for multi-source lane lines, characterized in that: include: A discrete processing module is used to obtain multi-source lane lines, discretize the multi-source lane lines to obtain discrete points of the multi-source lane lines in the same coordinate system, and align the discrete points; A fusion module, used to calculate the tangent slope change of each discrete point and the weight of each discrete point, and perform normalization processing according to the tangent slope change of each discrete point and the weight of each discrete point to fuse the discrete points corresponding to the multi-source lane lines into target discrete points; A calculation module is used to calculate the point coordinates of the target discrete point in the same coordinate system, and determine the target lane line that integrates the multiple source lane lines according to the point coordinates of the target discrete point.

9. An electronic device, characterized in that: include: at least one processor; and at least one memory communicatively connected to the processor, wherein: the memory stores program instructions executable by the processor, and the processor calls the program instructions to execute the shape fusion method of multi-source lane lines as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and when the computer program is executed by a computer, the shape fusion method of multi-source lane lines as claimed in any one of claims 1 to 7 is executed.

Citation Information

Patent Citations

  • Backward lane line fitting method and device, electronic equipment and storage medium

    CN114987497A

  • Lane line fusion method and device, automobile, electronic equipment and computer readable storage medium

    CN115205807A

  • Multi-source lane line fusion method and device and storage medium

    CN116152617A

  • Lane line detection method based on multi-source sensor and related equipment

    CN116994217A

  • Lane line fusion method and device

    CN117058506A