Radar data calibration method based on video multi-frame adaptive optimization

Through the video multi-frame adaptive optimization method, the problem of insufficient accuracy of radar data calibration in complex scenes in the existing technology is solved, high-precision and robust radar data calibration is achieved, and the accuracy of radar information fusion is improved.

CN114092566BActive Publication Date: 2024-09-03LIANYUNGANG JARI ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111400973.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-19
Publication Date
2024-09-03
Estimated Expiration
2041-11-19

AI Technical Summary

Technical Problem

Existing video radar data calibration methods have insufficient accuracy in complex application scenarios, making it difficult to effectively handle the problems of distance and height differences in vehicles, as well as errors and loss of radar signal points, which affects the accuracy of subsequent lightning information fusion.

Method used

A radar data calibration method based on video multi-frame adaptive optimization is adopted to achieve high-precision calibration of radar data and video data through radar data spatio-temporal distribution map initialization, matching point pair initialization, perspective transformation model calculation, iterative optimization and threshold judgment.

Benefits of technology

It improves the accuracy and robustness of radar data calibration, reduces errors caused by manual participation, enables more accurate lane area perspective transformation in complex scenes, and enhances the reliability of data fusion.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114092566B
    Figure CN114092566B
Patent Text Reader

Abstract

A radar data calibration method based on video multi-frame adaptive optimization includes: initializing the spatiotemporal distribution map of radar data; initializing the matching point pairs of the radar coordinate system and the image coordinate system; initializing the perspective transformation model; the corresponding point pairs of the radar coordinate system that meet the conditions in multiple frames participate in iterative optimization; updating the spatiotemporal distribution map of radar data; judging whether the spatiotemporal distribution map of radar data meets the threshold conditions, if so, the calibration of radar data is completed, otherwise, iterative optimization of multiple frames is repeated continuously. This application optimizes the perspective transformation model by using multiple frames of radar vision information, and cleverly uses the center point statistics and variance statistics of the spatiotemporal distribution map of radar data to adaptively stop calibration. Compared with the prior art, it has higher calculation accuracy and better robustness in complex multi-scene applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of intelligent transportation technology, and in particular to a radar data calibration method based on video multi-frame adaptive optimization. Background Art

[0002] With the development of science and technology and the progress of society, my country's rail transit has gradually become intelligent and has achieved excellent results. In the process of intelligent implementation, a variety of sensors are indispensable. Multiple sensors enable the system to obtain rich data, and multi-sensor data fusion also provides a guarantee for the accuracy of observations.

[0003] In recent years, the field of computer vision has developed rapidly. However, due to video sensor acquisition failures or visual algorithm errors, intelligent transportation often faces some hidden dangers. Therefore, the introduction of radar data is very necessary. Video information combined with radar captured data can greatly alleviate data errors, algorithm errors, data loss and other problems. At the same time, vision-based target detection algorithms can greatly reduce the scope of radar data calibration. How to more efficiently integrate radar data and video data has become the focus of research in the industry. The basis for integrating radar data and video data is the calibration method of radar information and video information, that is, the video-based radar data calibration method.

[0004] In the past, the radar data calibration method of videos was mainly performed through manual calibration of single-frame images or calibration plates of single-frame images. This method is feasible in simple scenarios, but in complex real-world application scenarios, the different distance scales and heights of vehicles, the errors of radar signal points, and the loss of radar signal points have become the difficulties of radar data calibration, and have also brought difficulties to the subsequent radar-vision information fusion. Therefore, in real-world scenarios, it is very important to improve the accuracy of calibration. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a radar data calibration method based on video multi-frame adaptive optimization with high accuracy and high robustness in view of the deficiencies in the prior art.

[0006] The technical problem to be solved by the present invention is achieved by the following technical solution. The present invention is a radar data calibration method based on video multi-frame adaptive optimization, comprising the following steps:

[0007] (1) Initialization of the spatiotemporal distribution map of radar data;

[0008] (2) Initialize the matching point pairs between the radar coordinate system and the image coordinate system;

[0009] (3) Initialize the perspective transformation model;

[0010] (4) The corresponding point pairs of the radar coordinate system that meet the conditions in multiple frames participate in iterative optimization;

[0011] (5) Update of the spatiotemporal distribution map of radar data;

[0012] (6) Determine whether the spatiotemporal distribution diagram of the radar data meets the threshold condition. If so, the calibration of the radar data is completed. Otherwise, the iterative optimization of multiple frames is repeated.

[0013] The technical problem to be solved by the present invention can also be further achieved through the following technical solutions. For the radar data calibration method based on multi-frame adaptive optimization of video, in step (1), adaptive optimization of radar data calibration is performed based on the target detection results of multi-frame images.

[0014] The technical problem to be solved by the present invention can also be further achieved through the following technical solutions. For the radar data calibration method based on video multi-frame adaptive optimization described above, in step (2), based on the statistical results of the spatiotemporal distribution diagram of the radar data and manual intervention, the lane lines in the video screen and the lane lines in the radar coordinate system are drawn, and then according to the lane area statistics, several initial corresponding point pairs in the radar coordinate system and the video coordinate system are found.

[0015] The technical problem to be solved by the present invention can also be further achieved by the following technical scheme. For the radar data calibration method based on multi-frame adaptive optimization of video described above, in step (3), the initial perspective transformation model from the radar coordinate system to the image coordinate system is calculated by the RANSAC algorithm, and the error of calculating the initial perspective transformation model is reduced by eliminating outliers.

[0016] The technical problem to be solved by the present invention can also be further achieved by the following technical solution. For the radar data calibration method based on multi-frame adaptive optimization of video described above, in step (4), multi-frame radar point pairs that meet the Euclidean distance participate in iterative optimization, and the corresponding points of the radar points and the images at each moment are found. If the requirements are met, it is determined to be a corresponding point pair, and the LM algorithm is used to iteratively optimize the perspective transformation model.

[0017] The technical problem to be solved by the present invention can also be further achieved through the following technical solutions. For the radar data calibration method based on video multi-frame adaptive optimization described above, in step (5), the radar data points of the frame are mapped to the Cartesian coordinate system, the value at the corresponding graph CAM is increased by 1, and the attribute value of the radar data is stored. The spatiotemporal distribution map of the radar data is traversed, and the color of the point is assigned in a color segmented manner, so that the construction personnel and developers can know the spatiotemporal density of the radar points.

[0018] The technical problem to be solved by the present invention can also be further achieved by the following technical solutions. For the radar data calibration method based on video multi-frame adaptive optimization described above, in step (6), if the spatiotemporal distribution diagram of the radar data meets the following three conditions: the cumulative radar data variance is greater than the threshold, the number of central points of the spatiotemporal distribution diagram of the radar data meets the requirements, and the cumulative radar data is greater than the total point threshold, then the calibration of the radar data is completed.

[0019] The technical problem to be solved by the present invention can also be further achieved by the following technical solution. For the radar data calibration method based on video multi-frame adaptive optimization described above, in step (6), whether the calibration is completed is screened according to the threshold setting of the statistics of the radar data spatiotemporal distribution map, and the statistics of the radar data spatiotemporal distribution map include the total number of radar points involved in the calculation, the number of center points of the radar data spatiotemporal distribution map, and the variance of the coordinate distribution:

[0020] Assume that the spatiotemporal distribution diagram of radar data is CAM, where the value at the coordinate point is not 0, indicating that there is a radar point, and 0, indicating that there is no radar point. Then the total number of radar points in the spatiotemporal distribution diagram of radar data is as follows:

[0021]

[0022] The calculation process of the coordinate distribution variance of radar points in the spatiotemporal distribution diagram of radar data is as follows:

[0023]

[0024] The seed filling method can be used to solve the set of 24 adjacent CAM connected domains and the number of CAM center points:

[0025] S cam ={φ 1 ,φ 2 ,φ 3 ,...,φ n}

[0026] λ n =Num(S cam )

[0027] The total number of radar points in the spatiotemporal distribution diagram of radar data λ s The lower threshold is set to θ s , the coordinate distribution variance λ of the radar point in the spatiotemporal distribution graph of radar data c The lower threshold is set to θ c , the number of center points λ of the spatiotemporal distribution graph of radar data n The upper threshold is set to θ n ;

[0028]

[0029] When the conditions in the above formula are met, the calibration is completed, otherwise it proceeds to the next step.

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

[0031] 1. In traffic application scenarios, compared with the prior art, the method of the present invention reduces the trouble of manually finding corresponding points between coordinate systems, and at the same time reduces the calibration error caused by manual participation;

[0032] 2. Compared with the prior art method of using only a single frame of initial information, the multi-frame iterative optimization of the present invention makes the information richer and can obtain the perspective transformation that satisfies each local area of ​​the entire lane;

[0033] 3. Compared with the single-frame method of the prior art, the present invention forms a closed loop by using a statistical method. Compared with the previous single-frame method, it is equally flexible and can have better calibration accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a schematic diagram of the process of the present invention;

[0035] Figure 2 A schematic diagram of automatically selecting an initial point pair according to the present invention;

[0036] Figure 3 It is a schematic diagram of initializing the spatiotemporal distribution diagram of radar data of the present invention;

[0037] Figure 4 It is a schematic diagram of the iterative optimization process of multi-frame radar vision corresponding points of the present invention;

[0038] Figure 5 It is a schematic diagram of the intermediate result of the spatiotemporal distribution diagram of radar data of the present invention;

[0039] Figure 6 It is a schematic diagram of 24 adjacency of the present invention;

[0040] Figure 7 This is a schematic diagram of automatically dividing lanes according to the spatiotemporal distribution of radar data according to the present invention. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are 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 ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] The present invention is a radar data calibration method based on video multi-frame adaptive optimization. Compared with the existing radar data calibration technology, the present invention can use a method of adaptive iterative optimization of perspective transformation matrix based on video target detection. Compared with the existing radar data calibration technology in traffic scenes, the present invention uses a method of automatically initializing matching point pairs between radar coordinate system and image coordinate system.

[0043] refer to Figure 1 As shown, it is a flow chart of a radar data calibration method based on video multi-frame adaptive optimization provided by an embodiment of the present disclosure. It can be seen that it mainly includes the following processes:

[0044] 1. Initialize the spatiotemporal distribution map of radar data;

[0045] 2. Initialize the corresponding point pairs of the radar coordinate system and the image coordinate system. This process automatically selects points to initialize the point pairs of the image coordinate system and the radar coordinate system.

[0046] 3. Use the RANSAC algorithm to initialize the perspective transformation model;

[0047] 4. Multi-frame radar point pairs that meet the Euclidean distance participate in iterative optimization;

[0048] 5. Update the spatiotemporal distribution map of radar data;

[0049] 6. Determine whether the spatiotemporal distribution diagram of radar data meets the threshold condition. If so, the calibration of radar data is completed. Otherwise, iterative optimization of multiple frames is continuously performed.

[0050] Specifically:

[0051] (1) Initialization of the spatiotemporal distribution map of radar data. This step facilitates construction personnel and developers to view the spatiotemporal distribution status of radar points, prepares for semi-automatic drawing of lane lines in the video screen and lane lines in the radar coordinate system, and prepares for subsequent automatic determination of whether to stop calibration;

[0052] (2) The corresponding point pairs of the initial radar coordinate system and the image coordinate system are prepared for roughly calculating the initial perspective transformation model. Based on the spatiotemporal distribution diagram of the radar data and the target detection model of the video, the initial corresponding points of the radar coordinate system and the video coordinate system are automatically found;

[0053] (3) The perspective transformation model is initialized using the RANSAC algorithm, and the error of calculating the initial perspective transformation model is reduced by eliminating outliers;

[0054] Use the diagonal distance of the target detection frame as the threshold to find the mapping points that match each target detection frame, and use the gradient descent method to optimize the perspective transformation matrix to reduce the error of the corresponding points in the current frame;

[0055] (4) The multi-frame radar point pairs that meet the Euclidean distance participate in iterative optimization, and the corresponding points of the radar points and the images at each moment are found. If the requirements are met, they are identified as corresponding point pairs, and the LM algorithm is used to iteratively optimize the perspective transformation model;

[0056] Use the perspective transformation matrix at the current moment to map the points in the radar coordinate system to the image coordinate system, select the center point of the target detection box in the image as the true value, and calculate the Euclidean distance from the true value to all mapped points;

[0057] (5) The spatiotemporal distribution diagram of the radar data is updated, the visualization is updated, and preparations are made for automatically determining whether the calibration should be stopped;

[0058] (6) determining whether the spatiotemporal distribution graph of the radar data meets the threshold condition, and determining whether the calibration of the current radar data is completed by performing statistics on the spatiotemporal distribution graph of the radar data;

[0059] Based on the statistics of the spatiotemporal distribution of radar data, including variance parameters, the number of center points, and the total number of radar points, the conditions for stopping calibration are designed according to the characteristics of each statistic. When the number of center points in the spatiotemporal distribution of radar data reaches the lower limit, the number of total radar points reaches the lower limit, and the variance parameters meet the upper and lower limit relationship, the calibration is terminated.

[0060] A unique "V"-shaped lane calibration candidate area distribution is used for corresponding point sampling. This lane candidate area distribution has global perspective transformation information;

[0061] Based on the object detection of the video frame, the lane lines in the video screen and radar coordinate system are drawn according to the temporal and spatial distribution of the radar data points. In the candidate area of ​​each lane, the initial corresponding points between the coordinate systems are automatically found according to the order of the radar points in the lanes in the radar coordinate system and the order of the object detection box in the lanes in the image coordinate system. The reasonable corresponding points of the coordinate systems are collected by eliminating the outliers.

[0062] In practical application, the present invention uses a millimeter wave radar as a radar sensor to obtain the coordinate data of the road target position relative to the ground. The present invention uses a monocular camera to collect data in the road scene; the millimeter wave radar adopts a 77Ghz millimeter wave radar and supports a 24Ghz millimeter wave radar; the main calibration content of the radar sensor in the present invention is to obtain the external parameters between the radar sensor and the camera; the present invention first performs synchronous processing of the video data and the radar data, and the synchronization frequency of the two is N frames / second. Specifically, the synchronous data is mutually calculated by the following formula:

[0063]

[0064] Where T雷达 is the radar update time, N is the frequency of synchronization between the two, and INT represents the rounding operation. 雷达 The value is 70, and after calculation, the N value is 14;

[0065] In the present invention, the radar data calibration calculation process uses an edge computing module of model JETSON TX2 to continuously acquire sensor data and synchronize the data, and then perform the radar data calibration process in the present invention;

[0066] The present invention is based on target detection of multiple frames of video. Aiming at the demand for high-precision calibration of radar data in real intelligent transportation, the present invention provides a radar data calibration method based on multi-frame adaptive optimization. The radar data calibration is adaptively optimized based on the target detection results of multiple frames of images. Firstly, based on the statistical results of the spatiotemporal distribution map of radar data and manual intervention, the lane lines in the video screen and the lane lines in the radar coordinate system are drawn. Then, according to the statistics of the lane area, several initial corresponding point pairs in the radar coordinate system and the video coordinate system are found; the initial perspective transformation model from the radar coordinate system to the image coordinate system is calculated by the RANSAC algorithm; the spatiotemporal distribution map of radar data is initialized; the corresponding point pairs of multiple frames that meet the conditions are screened out by the Euclidean distance threshold, and the perspective transformation matrix is ​​iteratively optimized by the LM algorithm; the spatiotemporal distribution map of radar data is updated, and it is judged whether the calibration completion conditions are met;

[0067] The specific steps are:

[0068] Step 1: Initialize the spatiotemporal distribution map of radar data

[0069] The present invention proposes a radar data spatiotemporal distribution diagram, which is used to count the radar data points that have historically participated in calibration, and is based on the coordinate points after the radar coordinate system is converted into a Cartesian coordinate system.

[0070] refer to Figure 3 , each radar point data recorded includes the horizontal coordinate position, vertical coordinate position, horizontal speed, vertical speed and ID of each radar data in the Cartesian coordinate system;

[0071] Step 2: Initialize radar and image point pairs

[0072] Before introducing the process of initializing the corresponding points of the radar coordinate system and the image coordinate system, we first explain the models of the video sensor and the radar sensor. The video sensor uses a pinhole model that takes distortion into account, and its correction process is independent. Suppose there is a point M(X w ,Y w ,Z w ), the coordinates of the corresponding point in the camera coordinate system are M(X c ,Yc ,Z c ), the corresponding point coordinates in the image coordinate system are M(X i ,Y i ), the rotation matrix is ​​R, the translation vector is t, the arbitrary scale ratio is S, and the focal length of the camera is f x and f y , the offset parameters are C x and C y , then the model of the video sensor is as follows:

[0073]

[0074]

[0075] For the radar sensor, let M(X w ,Y w ,Z w ), the corresponding radar sensor polar coordinate system point M(ρ,β), where the radar height is h and the radar pitch angle is α, then the relationship between the corresponding points of the radar sensor polar coordinate system and the world coordinate system is as follows:

[0076]

[0077] Therefore, the correspondence between the video sensor coordinate system and the midpoint of the radar sensor coordinate system is as follows:

[0078]

[0079] Using H to simplify the transformation matrix, the above formula can be simplified as follows:

[0080]

[0081] The purpose of the present invention is to solve the perspective transformation matrix H with high accuracy and good robustness;

[0082] refer to Figure 2 In the process of initializing radar and image point pairs, the present invention proposes a method for automatically finding point pairs:

[0083] First, the constructor needs to select the lane edge in the video screen, such as Figure 7 As shown, by statistically analyzing the radar's spatiotemporal distribution map, the lane lines in the video image and the lane lines in the radar coordinate system are generated;

[0084] Then, candidate regions are selected in each lane in the radar coordinate system so that each candidate region forms a V-shaped arrangement;

[0085] Finally, the corresponding vehicles are found in each lane in the video. This process is based on the target detection of the video. Specifically, the radar points in each candidate area in the radar coordinate system are counted in the order of the lane, and then the vehicles in this order in the lane in the video are counted, and the corresponding points between the two coordinate systems are found.

[0086] In the present invention, the center point of the image target detection frame is used as the radar matching point; at the initial stage, which points should be found as the initial points? Theoretically, the solution of the perspective transformation model H requires 4 point pairs, and 3 of the 4 points are required not to be in the same straight line. The present invention uses the number of lane point pairs;

[0087] Step 3: Initialize the perspective transformation model

[0088] After finding the corresponding points of the radar vision, the present invention uses the RANSAC (Random Sample Consensus) algorithm to solve the perspective transformation matrix. The RANSAC algorithm divides the initialized points into internal points and external points. Different from the simple least squares method, the least squares method tries to adapt to all points including external points, while the RANSAC algorithm can obtain a perspective transformation model calculated only with internal points, thus avoiding the error in the initialization link.

[0089] In this step, 4 points are randomly selected from the initialization points to initially calculate the perspective transformation matrix, and other points in the initialization points are used to try to verify whether they are inliers. In this process, the number and error of inliers in the initial model are counted, and this process is repeated by continuously randomly selecting, and finally a model that is better than the last one is selected, otherwise the model is discarded;

[0090] Step 4: Multi-frame radar point pairs that meet the Euclidean distance participate in iterative optimization

[0091] refer to Figure 5 After the video frame data passes through the target detection algorithm, the radar point estimation value of the visual algorithm can be obtained according to the result of the target detection algorithm; then, the distance between the calibrated radar data point and the radar estimation point of the visual algorithm is calculated. If the distance is less than a certain threshold, the radar point is identified as an internal point, and the image coordinates of the corresponding radar estimation point of the visual algorithm form a corresponding point, and the LM (Levenberg-Marquardt) algorithm is used to optimize the parameters of the perspective transformation model;

[0092] Next, each of the above parts will be explained in detail;

[0093] After visual target detection, we can get the detection box set S of the expected category target bbox, the attributes of each detection frame include the category of the detection target, the probability value of belonging to the category, the width of the detection frame, the height of the detection frame, the horizontal coordinate of the upper left corner of the detection frame, and the vertical coordinate of the upper left corner of the detection frame; in practice, the signal points scanned by the laser radar often fall at the front of the vehicle, so the center point can be taken as the radar estimation point of the visual algorithm;

[0094] The radar data of the frame can be mapped to the image coordinate system through the perspective transformation matrix calculated last time or the initial perspective transformation matrix; in order to screen out corresponding points suitable for the next iterative optimization through the mapped spatial positions, the present invention uses the Euclidean distance to match the mapped points with the radar estimation points of the visual algorithm. If they match, it means that the point pair can participate in the next iterative optimization of the perspective transformation matrix;

[0095] Step 5: Update the spatiotemporal distribution map of radar data

[0096] The radar data points of the frame are mapped to the Cartesian coordinate system, the corresponding value at the CAM is increased by 1, and the attribute value of the radar data is stored; for the convenience of visualization, the spatiotemporal distribution map of the radar data is traversed, and the color of the point is assigned in a color segmented manner, so that the construction personnel and developers can know the spatiotemporal density of the radar points. The updated intermediate state of the spatiotemporal distribution map of the radar data is referenced Figure 4 ;

[0097] Step 6: Calculation of statistics of the spatiotemporal distribution of radar data

[0098] The statistics of the spatiotemporal distribution graph of radar data involved in the present invention include the total number of radar points involved in the calculation, the number of central points of the spatiotemporal distribution graph of radar data, and the variance of the coordinate distribution;

[0099] Suppose the spatiotemporal distribution map of radar data is CAM, where the value at the coordinate point is not 0, indicating the existence of the radar point, and 0, indicating the absence of the radar point. Then the total number of radar points in the spatiotemporal distribution map of radar data is as follows:

[0100]

[0101] The calculation process of the coordinate distribution variance of radar points in the spatiotemporal distribution diagram of radar data is as follows:

[0102]

[0103] The statistics of the number of center points can be converted into the number of connected domains of the radar data spatiotemporal distribution graph CAM, and then a center point of each connected domain can be calculated, which is defined as a center point of the radar data spatiotemporal distribution graph;

[0104] To calculate the number of connected domains, CAM can be divided into two cases: equal to 0 and not equal to 0. For coordinate points not equal to 0, refer to Figure 6 ,The present invention uses 24 adjacency between coordinate points to determine whether two coordinate points are connected;

[0105] In CAM, each coordinate point can be regarded as the smallest unit. However, in real scenarios, the probability of absolute connectivity between points is very low. Therefore, unlike the pixel processing algorithm, the present invention selects 24 adjacencies between coordinate points as the connectivity between coordinate points in CAM.

[0106] In the solution process, the Seed Filling method is used to solve. This method first selects a foreground point as a seed, and then merges the foreground points adjacent to the seed into the same set according to the positional proximity conditions of the connected area. The final set is a connected area. The Seed Filling method can be used to solve the 24-adjacent CAM connected domain set and the number of CAM center points:

[0107] S cam ={φ 1 ,φ 2 ,φ 3 ,...,φ n}

[0108] λ n =Num(S cam )

[0109] At this point, three state quantities can be counted for the radar data spatiotemporal distribution graph, including the total number of radar points involved in the calculation, the number of center points of the radar data spatiotemporal distribution graph, and the variance of the coordinate distribution;

[0110] Step 7: Calibration termination decision

[0111] After calculating the statistics of the spatiotemporal distribution of radar data, the thresholds of the three statistics can be used to screen whether the calibration is completed. The properties of the three statistics themselves are discussed below.

[0112] For the total number of radar points λ in the spatiotemporal distribution diagram of radar data s , this statistic increases with the increase of the number of frames involved in the calibration, so it is necessary to set a lower limit to limit the conditions for the end of calibration;

[0113] For the radar data spatial-temporal distribution graph, the coordinate distribution variance λ of the radar points c ,Initially, the statistic increases with the increase of the number of frames involved in the calibration, and then gradually saturates to a stable value; for this reason, a lower limit value also needs to be set to limit the conditions for the end of calibration;

[0114] For the number of central points λ of the spatiotemporal distribution graph of radar data n , initially, this statistic increases with the increase of the number of frames involved in calibration, and then decreases with the increase of the number of frames involved in characterization; the reason for this phenomenon is that initially, as the number of frames increases, the radar points in the spatiotemporal distribution map of radar data tend to diverge, but as the number of radar points gradually increases, the originally unconnected areas gradually become connected; for this reason, this statistic needs to be combined with the above two statistics λ s and λ c Use and set an upper limit value to limit the conditions for the end of calibration;

[0115] In the present invention, the total number of radar points λ in the spatiotemporal distribution diagram of radar data is s The lower threshold is set to θ s , the coordinate distribution variance λ of the radar point in the spatiotemporal distribution graph of radar data c The lower threshold is set to θ c , the number of center points λ of the spatiotemporal distribution graph of radar data n The upper threshold is set to θ n , when the conditions in the following formula are met, the calibration is completed, otherwise it goes to the next step.

[0116]

[0117] In summary, the present invention proposes a radar data calibration method based on video multi-frame adaptive optimization, which can calibrate radar data with high precision and has good robustness.

Claims

1. A radar data calibration method based on video multi-frame adaptive optimization, Features: The following steps are involved: (1) Initialization of the spatiotemporal distribution map of radar data; (2) Initialize the matching point pairs between the radar coordinate system and the image coordinate system; (3) Initialize the perspective transformation model; (4) The corresponding point pairs of the radar coordinate system that meet the conditions in multiple frames participate in iterative optimization; (5) Update of spatiotemporal distribution map of radar data; (6) Determine whether the spatiotemporal distribution diagram of the radar data meets the threshold condition. If so, the calibration of the radar data is completed. Otherwise, the iterative optimization of multiple frames is repeated continuously. In step (6), whether the calibration is completed is screened according to the threshold setting of the statistics of the radar data spatiotemporal distribution map. The statistics of the radar data spatiotemporal distribution map include the total number of radar points involved in the calculation, the number of center points of the radar data spatiotemporal distribution map, and the variance of the coordinate distribution: Assume that the spatiotemporal distribution diagram of radar data is CAM, where the value at the coordinate point is not 0, indicating that there is a radar point, and 0, indicating that there is no radar point. Then the total number of radar points in the spatiotemporal distribution diagram of radar data is as follows: The calculation process of the coordinate distribution variance of radar points in the spatiotemporal distribution diagram of radar data is as follows: The seed filling method can be used to solve the set of 24 adjacent CAM connected domains and the number of CAM center points: S cam ={φ 1 ,f 2 ,f 3 ,...,f n } λ n =Num(S cam ) The total number of radar points in the spatiotemporal distribution diagram of radar data λ s The lower threshold is set to θ s , the coordinate distribution variance λ of the radar point in the spatiotemporal distribution graph of radar data c The lower threshold is set to θ c , the number of center points λ of the spatiotemporal distribution graph of radar data n The upper threshold is set to θ n ; When the conditions in the above formula are met, the calibration is completed, otherwise it proceeds to the next step.

2. The radar data calibration method based on video multi-frame adaptive optimization according to claim 1, Features: In step (1), adaptive optimization of radar data calibration is performed based on target detection results of multiple frames of images.

3. The radar data calibration method based on video multi-frame adaptive optimization according to claim 1, Features: In step (2), based on the statistical results of the spatiotemporal distribution diagram of radar data and manual intervention, the lane lines in the video image and the lane lines in the radar coordinate system are drawn, and then according to the lane area statistics, several initial corresponding point pairs in the radar coordinate system and the video coordinate system are found.

4. The radar data calibration method based on video multi-frame adaptive optimization according to claim 1, Features: In step (3), the initial perspective transformation model from the radar coordinate system to the image coordinate system is calculated by the RANSAC algorithm, and the error of calculating the initial perspective transformation model is reduced by eliminating outliers.

5. The radar data calibration method based on video multi-frame adaptive optimization according to claim 1, Features: In step (4), multi-frame radar point pairs that meet the Euclidean distance participate in iterative optimization to find the corresponding points between the radar points and the image at each moment. If they meet the requirements, they are considered to be corresponding point pairs, and the LM algorithm is used to iteratively optimize the perspective transformation model.

6. The radar data calibration method based on video multi-frame adaptive optimization according to claim 1, Features: In step (5), the radar data points of the frame are mapped to the Cartesian coordinate system, the value at the corresponding CAM is increased by 1, and the attribute value of the radar data is stored. The spatiotemporal distribution map of the radar data is traversed, and the color of the point is assigned according to the color segmentation method, so that the construction personnel and developers can know the spatiotemporal density of the radar points.

7. The radar data calibration method based on video multi-frame adaptive optimization according to claim 1, Features: In step (6), if the spatiotemporal distribution graph of radar data meets the following three conditions: the cumulative radar data variance is greater than the threshold, the number of central points of the spatiotemporal distribution graph of radar data meets the requirements, and the cumulative radar data is greater than the total point threshold, then the calibration of radar data is completed.