A method for calculating target association distance

Through visual single-sensor detection information processing, including time alignment, projection and low-pass filtering, the problem of false correlation caused by camera sensor depth estimation noise is solved, the accuracy and stability of target correlation distance are improved, and multi-sensor data correlation is provided. more reliable information.

CN114648559BActive Publication Date: 2024-08-27CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210296384.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-24
Publication Date
2024-08-27
Estimated Expiration
2042-03-24

AI Technical Summary

Technical Problem

In the existing technology, the noise of the camera sensor's observation and estimation of depth is relatively large, resulting in inaccurate target association and prone to the problem of false association.

Method used

By obtaining the detection information of a visual single sensor, time alignment, projection and pixel coordinate comparison are performed, the distance in pixel space is calculated, and low-pass filtering is performed to improve accuracy.

Benefits of technology

It improves the accuracy and stability of target correlation distance, provides more accurate information to improve the timeliness and stability of correlation, and is suitable for correlation of multi-sensor data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114648559B
    Figure CN114648559B
Patent Text Reader

Abstract

The present invention discloses a method for calculating the target association distance, comprising the following steps: S1: obtaining the latest tracking target and the detection information of the latest tracking target by a single visual sensor; S2: aligning the time of the detection information of the single visual sensor with the time of the tracking target according to the detection information obtained by S1; S3: projecting the tracking target to the target sensor according to the external and internal parameters of the single visual sensor; S4: comparing the pixel coordinates of the tracking target projected by S3 with the pixel coordinates observed by the single visual sensor to obtain the distance in the pixel space; S5: performing a low-pass filtering on the pixel distance obtained by S4. The method of the present invention uses the pixel information of the target image layer for calculation, reduces the influence caused by the visual depth estimation error, and thus improves the accuracy of the association.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automobile automatic driving, and in particular to a method for calculating a target association distance. Background Art

[0002] At present, autonomous driving has become a hot topic in society, and various companies are increasing their investment to put autonomous driving technology into mass production. Among the core technologies of autonomous driving, the biggest challenge currently faced is to achieve accurate perception of the environment and provide reliable, accurate and timely information for back-end regulation and control; in response to this challenge, the industry generally adopts a multi-sensor fusion solution. On the one hand, it can make full use of the advantages of various sensors and effectively overcome the shortcomings of single sensing in some aspects; on the other hand, it can also achieve redundancy of perception. However, for this solution, the accurate association of multi-sensor data is its core. Multi-sensor fusion needs to be based on accurate target association. If the association fails, the role of each sensor cannot be played; and if the association is wrong, it may introduce wrong information and cause target perception errors. Current target association methods mostly use the Mahalanobis distance in 3D space to measure the distance of association, and obtain the association result by obtaining the optimal distance. However, in actual applications, since the depth estimated by camera sensor observation has large noise and cannot be accurately estimated, it is easy to cause misassociation. Summary of the invention

[0003] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a method for calculating target association distance, so as to solve the problem in the prior art that the noise of depth estimation by camera sensor observation is large and cannot be accurately estimated, which is prone to misassociation.

[0004] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0005] A method for calculating a target association distance comprises the following steps:

[0006] S1: Obtain the latest tracking target and the detection information of the latest tracking target by the single visual sensor;

[0007] S2: Based on the detection information obtained in S1, align the time of the single visual sensor detection information with the time of tracking the target;

[0008] S3: Project the tracking target onto the target sensor based on the external and internal parameters of the single visual sensor;

[0009] S4: Compare the pixel coordinates of the tracked target projected by S3 with the pixel coordinates observed by the single visual sensor to obtain the distance in pixel space;

[0010] S5: Perform a low-pass filter on the pixel distance obtained in S4.

[0011] Compared with the prior art, the present invention has the following beneficial effects:

[0012] The method described in the present invention projects the target onto a single visual sensor and performs distance comparison based on the distance at the pixel layer. It directly uses the image layer information output by the single sensor and filters out the error caused by inaccurate depth estimation of the single sensor target, thereby improving the accuracy of the distance, providing more dimensional and accurate information for subsequent confirmation of the association, and improving the timeliness and stability of the association. At the same time, the method described in the present invention is generally applicable to the association of multi-sensor data. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 This is a logic block diagram of the image layer association distance calculation of the present invention. DETAILED DESCRIPTION

[0014] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.

[0015] The present invention provides a method for calculating target association distance, see Figure 1 , including the following steps:

[0016] S1: Obtain the latest tracking target and the detection information of the latest tracking target by the single visual sensor. The single visual sensor information is obtained from the front-end module, and the latest tracking target information is obtained from the back-end. Specifically, the single visual sensor information is obtained from the front-end module to obtain the latest output tracking target through the multi-sensor multi-target tracking fusion system. Then, the on-board image device perceives and obtains the target information of the tracking target based on the latest output tracking target of the multi-sensor multi-target tracking fusion system. The target information includes the target spatial position, speed, size and pixel point information of the pixel frame in the image.

[0017] S2: Based on the detection information obtained in S1, align the time of the visual single sensor detection information with the time of the target being tracked. The CA model is used to align the time of the visual single sensor detection information with the time of the target being tracked. Based on the CA model, the time of the visual single sensor observation and the time of the target being tracked are aligned, and the state of the target being tracked is set: X=[x,y,vx,vy,ax,ay] T ;

[0018] State transfer matrix: F=[1,0,detaT,0,t2div2,0,

[0019] 0,1,0, detaT,0, t2div2,

[0020] 0,0,1,0, detaT,0,

[0021] 0,0,0,1,0, detaT,

[0022] 0,0,0,0,1,0,

[0023] 0,0,0,0,0,1];

[0024] Then the state after alignment: X1=F*X;

[0025] Where: detaT is the difference between the single sensor and the tracking target timestamp, t2div2=detaT*detaT / 2.

[0026] S3: Based on the external and internal parameters of the single visual sensor, the tracking target is projected onto the target sensor. The camera pinhole imaging model is used to project the tracking target onto the target sensor. Specifically, the single visual sensor is used to install the external parameter matrix extrinsicM and the projection internal parameter matrix instrinsicM for projection:

[0027] uvPosT =instrinsicM* extrinsicM*X1;

[0028] Among them, uvPosT is the uv coordinate of the image layer after the tracking target is projected.

[0029] S4: Compare the pixel coordinates of the tracking target projected by S3 with the pixel coordinates observed by the single visual sensor to obtain the distance in the pixel space. The UV difference between the pixel coordinates of the projected tracking target and the pixel coordinates observed by the single visual sensor is used as the distance. The uvPosZ of the target outputted by the sensor is obtained from the single visual sensor observation. The image layer association distance between the tracking target and the current frame observed by the single visual sensor is:

[0030] uvDeta=uvPosT-uvPosZ.

[0031] S5: Perform a low-pass filter on the pixel distance obtained in S4. Here, a low-pass filter is performed by using the current value and the last value. The image layer distance uvDetaLast between the last two is obtained, and a low-pass filter is added to obtain the final distance:

[0032] uvDetaLast=uvDetaLast*W+ uvDeta*(1-W);

[0033] Where W is the threshold of low-pass filtering, which is generally set to 0.5~0.8.

[0034] As a further improvement of the above embodiment, the method for calculating the image layer association distance may be adjusted and optimized depending on the UV coordinate distance to meet the needs of subsequent association.

[0035] The method described in the present invention projects the target onto a single visual sensor and performs distance comparison based on the distance at the pixel layer. It directly uses the image layer information output by the single sensor and filters out the error caused by inaccurate depth estimation of the single sensor target, thereby improving the accuracy of the distance, providing more dimensional and accurate information for subsequent confirmation of the association, and improving the timeliness and stability of the association. At the same time, the method described in the present invention is generally applicable to the association of multi-sensor data.

[0036] As described above, the reminder system of the present invention is not limited to the configuration described above, and other systems that can implement the embodiments of the present invention may fall within the scope of protection of the present invention.

[0037] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit the technical solution. Those skilled in the art should understand that those modifications or equivalent substitutions of the technical solution of the present invention that do not depart from the purpose and scope of the technical solution should be included in the scope of the claims of the present invention.

Claims

1. A method for calculating target association distance, characterized in that: The steps include: S1: Obtain the latest tracking target and the detection information of the latest tracking target by the single visual sensor; S2: Based on the detection information obtained in S1, align the time of the single visual sensor detection information with the time of tracking the target; S3: Project the tracking target onto the target sensor based on the external and internal parameters of the single visual sensor; S4: Compare the pixel coordinates of the tracked target projected by S3 with the pixel coordinates observed by the single visual sensor to obtain the distance in pixel space; S5: Perform a low-pass filter on the pixel distance obtained in S4.

2. The method for calculating target association distance according to claim 1, characterized in that: In S1, the visual single sensor detection information is directly provided by the front-end module, and the tracking target is directly provided by the back-end fusion module.

3. The method for calculating target association distance according to claim 1, characterized in that: In S2, the CA model is used to align the time of single visual sensor detection information with the time of tracking the target.

4. The method for calculating target association distance according to claim 3, characterized in that: Based on the CA model, the visual single sensor observation is aligned with the time of the tracking target, and the state of the tracking target is set: X=[x,y,vx,vy,ax,ay] T ; State transfer matrix: F=[1,0,detaT,0,t2div2,0, 0,1,0, detaT,0, t2div2, 0,0,1,0, detaT,0, 0,0,0,1,0, detaT, 0,0,0,0,1,0, 0,0,0,0,0,1]; Then the state after alignment: X1=F*X; Where: detaT is the difference between the single sensor and the tracking target timestamp, t2div2=detaT*detaT / 2.

5. The method for calculating target association distance according to claim 1, characterized in that: In S3, a camera pinhole imaging model is used to project the tracking target onto the target sensor.

6. The method for calculating target association distance according to claim 5, characterized in that: Use the visual single sensor to install the external parameter matrix extrinsicM and the projection internal parameter matrix instrinsicM for projection: uvPosT =instrinsicM* extrinsicM*X1; Among them, uvPosT is the uv coordinate of the image layer after the tracking target is projected.

7. The method for calculating target association distance according to claim 6, characterized in that: In S4, a UV difference between the projected pixel coordinates of the tracking target and the pixel coordinates observed by the single visual sensor is used as the distance.

8. The method for calculating target association distance according to claim 7, characterized in that: The uvPosZ of the target whose sensor output is obtained from the visual single sensor observation is the image layer correlation distance between the tracking target and the current frame of the visual single sensor observation: uvDeta=uvPosT-uvPosZ.

9. The method for calculating target association distance according to claim 1, characterized in that: In S5, a low-pass filter is performed by using the current value and the previous value.

10. The method for calculating target association distance according to claim 8, characterized in that: Get the last image layer distance uvDetaLast and add a low-pass filter to get the final distance: uvDetaLast=uvDetaLast*W+ uvDeta*(1-W); Where W is the threshold of low-pass filtering, and the threshold is set to 0.5~0.8.