[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN115128557B - A method and system for determining the installation angle of intersection radar based on error compensation - Google Patents

A method and system for determining the installation angle of intersection radar based on error compensation Download PDF

Info

Publication number
CN115128557B
CN115128557B CN202210734213.1A CN202210734213A CN115128557B CN 115128557 B CN115128557 B CN 115128557B CN 202210734213 A CN202210734213 A CN 202210734213A CN 115128557 B CN115128557 B CN 115128557B
Authority
CN
China
Prior art keywords
camera
target
coordinates
error compensation
tracking coordinates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210734213.1A
Other languages
Chinese (zh)
Other versions
CN115128557A (en
Inventor
闫军
陈芸
王伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Smart Intercommunication Technology Co ltd
Original Assignee
Smart Intercommunication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Smart Intercommunication Technology Co ltd filed Critical Smart Intercommunication Technology Co ltd
Priority to CN202210734213.1A priority Critical patent/CN115128557B/en
Publication of CN115128557A publication Critical patent/CN115128557A/en
Application granted granted Critical
Publication of CN115128557B publication Critical patent/CN115128557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/02Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
    • G01S7/40Means for monitoring or calibrating
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/66Radar-tracking systems; Analogous systems
    • G01S13/72Radar-tracking systems; Analogous systems for two-dimensional tracking, e.g. combination of angle and range tracking, track-while-scan radar
    • G01S13/723Radar-tracking systems; Analogous systems for two-dimensional tracking, e.g. combination of angle and range tracking, track-while-scan radar by using numerical data
    • G01S13/726Multiple target tracking
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S13/00Systems using the reflection or reradiation of radio waves, e.g. radar systems; Analogous systems using reflection or reradiation of waves whose nature or wavelength is irrelevant or unspecified
    • G01S13/86Combinations of radar systems with non-radar systems, e.g. sonar, direction finder
    • G01S13/867Combination of radar systems with cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/80Analysis of captured images to determine intrinsic or extrinsic camera parameters, i.e. camera calibration
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • G08G1/04Detecting movement of traffic to be counted or controlled using optical or ultrasonic detectors

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Radar Systems Or Details Thereof (AREA)

Abstract

The invention discloses an intersection radar installation angle determining method and system based on error compensation, which relate to the field of intersection intelligent vehicle management and comprise the following steps: the method for determining the radar installation angle based on the multi-dimensional compensation measures is realized by carrying out camera distance error compensation on the camera tracking coordinates of the target corresponding to different time frames and filtering the installation angles obtained according to the radar tracking coordinates and the camera tracking coordinates corresponding to the compensated different time frames, so that the determination accuracy of the installation angle can be improved; meanwhile, the method utilizes the advantage that the track of the tracked target of the camera is stable and normal and is not influenced by deflection of equipment, takes the camera coordinate as a standard quantity as a corrected coordinate, has higher precision and universality, and compensates the camera coordinate by using a least square method, so that the radar installation precision is further improved.

Description

一种基于误差补偿的路口雷达安装角确定方法及系统A method and system for determining the installation angle of intersection radar based on error compensation

技术领域Technical Field

本发明涉及路口智能车辆管理领域,特别涉及一种基于误差补偿的路口雷达安装角确定方法及系统。The present invention relates to the field of intelligent vehicle management at intersections, and in particular to a method and system for determining an installation angle of an intersection radar based on error compensation.

背景技术Background Art

随着城市汽车数量的不断增加,路况也越发复杂,尤其是在各种路口区域,车辆、非机动车、行人等汇聚在一起,因此通常通过雷达结合相机的方式对多个路口的车辆目标进行跟踪与检测。为了能够更好地将雷达采集的目标点的数据与相机采集到的目标点的数据相结合,需要对雷达的安装角度有着严格的要求。As the number of cars in cities continues to increase, road conditions are becoming more complex, especially at various intersections where vehicles, non-motor vehicles, pedestrians, etc. gather together. Therefore, radars are usually combined with cameras to track and detect vehicle targets at multiple intersections. In order to better combine the data of target points collected by the radar with the data of target points collected by the camera, strict requirements are placed on the installation angle of the radar.

目前在进行雷达安装角获取时,通常是在汽车左右两侧分别放置两个目标,并分开一定的距离,将这两个目标的连线与汽车的纵向轴线平行,然后利用雷达对一侧的两个目标测量的距离、角度进行输出,确定汽车纵向轴线与雷达法线方向的夹角,进而得到雷达的真实安装角。然而由于安装角的计算结果依赖于两个目标的连线与汽车的纵向轴线平行,如果两个目标的连线与车身纵向中轴线不是严格平行,就会导致计算结果存在误差,导致获取的雷达安装角的误差较大。At present, when obtaining the radar installation angle, two targets are usually placed on the left and right sides of the car, separated by a certain distance, and the line connecting the two targets is parallel to the longitudinal axis of the car. Then, the distance and angle measured by the radar on one side are output to determine the angle between the longitudinal axis of the car and the normal direction of the radar, and then the actual installation angle of the radar is obtained. However, since the calculation result of the installation angle depends on the line connecting the two targets being parallel to the longitudinal axis of the car, if the line connecting the two targets is not strictly parallel to the longitudinal center axis of the car body, it will lead to errors in the calculation results, resulting in large errors in the obtained radar installation angle.

发明内容Summary of the invention

为解决上述技术问题,本发明提供一种基于误差补偿的路口雷达安装角确定方法及系统,可以解决现有获取的雷达安装角的误差较大的问题。In order to solve the above technical problems, the present invention provides a method and system for determining the installation angle of an intersection radar based on error compensation, which can solve the problem of large errors in the existing radar installation angles.

为实现上述目的,一方面,本发明提供一种基于误差补偿的路口雷达安装角确定方法,所述方法包括:To achieve the above object, on the one hand, the present invention provides a method for determining the installation angle of a road intersection radar based on error compensation, the method comprising:

获取目标在不同时间帧分别对应的雷达跟踪坐标和相机跟踪坐标;Obtain the radar tracking coordinates and camera tracking coordinates corresponding to the target at different time frames;

对所述目标在不同时间帧分别对应的相机跟踪坐标进行筛选,得到真实相机跟踪坐标;Screening the camera tracking coordinates corresponding to the target in different time frames to obtain the real camera tracking coordinates;

根据所述真实相机跟踪坐标和前预置帧的相机跟踪坐标,获取筛选后的对应帧的相机跟踪坐标;According to the real camera tracking coordinates and the camera tracking coordinates of the previous preset frame, obtaining the camera tracking coordinates of the corresponding frame after filtering;

根据筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标,获取所述目标对应的筛选后的相机坐标误差;According to the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame, obtaining the filtered camera coordinate error corresponding to the target;

根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差,获取所述目标对应的相机距离误差补偿函数;Obtaining a camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the corresponding frame after filtering corresponding to the target and the camera coordinate error after filtering corresponding to the target;

根据所述目标对应的相机距离误差补偿函数和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标,并根据目标在不同时间帧分别对应的雷达跟踪坐标和所述目标对应的校正后的真实相机坐标,获取雷达安装倾斜角。According to the camera distance error compensation function corresponding to the target and the camera tracking coordinates corresponding to the target in different time frames, the corrected real camera coordinates corresponding to the target are obtained, and according to the radar tracking coordinates corresponding to the target in different time frames and the corrected real camera coordinates corresponding to the target, the radar installation inclination angle is obtained.

进一步地,所述根据筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标,获取所述目标对应的筛选后的相机坐标误差的步骤包括:Furthermore, the step of obtaining the filtered camera coordinate error corresponding to the target according to the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame includes:

将筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标的差值,作为所述目标对应的筛选后的相机坐标误差。The difference between the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame is used as the filtered camera coordinate error corresponding to the target.

进一步地,所述根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差,获取所述目标对应的相机距离误差补偿函数的步骤包括:Furthermore, the step of obtaining a camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the corresponding frame after filtering corresponding to the target and the camera coordinate error after filtering corresponding to the target comprises:

对所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差进行二次函数曲线拟合,获取所述目标对应的相机距离误差补偿函数。A quadratic function curve fitting is performed on the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target to obtain a camera distance error compensation function corresponding to the target.

进一步地,所述对所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差进行二次函数曲线拟合,获取所述目标对应的相机距离误差补偿函数的步骤包括:Furthermore, the step of performing quadratic function curve fitting on the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target to obtain the camera distance error compensation function corresponding to the target includes:

构建相机坐标误差随所述对应帧的相机跟踪坐标变化的误差补偿二次函数;Constructing an error compensation quadratic function of the camera coordinate error changing with the camera tracking coordinates of the corresponding frame;

根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差获取所述误差补偿二次函数的常数值;Obtaining a constant value of the error compensation quadratic function according to the camera tracking coordinates of the corresponding frame after filtering corresponding to the target and the camera coordinate error after filtering corresponding to the target;

根据所述误差补偿二次函数的常数值获取所述目标对应的相机距离误差补偿函数。A camera distance error compensation function corresponding to the target is obtained according to a constant value of the error compensation quadratic function.

进一步地,所述根据所述目标对应的相机距离误差补偿函数和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标的步骤包括:Furthermore, the step of obtaining the corrected real camera coordinates corresponding to the target according to the camera distance error compensation function corresponding to the target and the camera tracking coordinates corresponding to the target at different time frames includes:

根据所述相机距离误差补偿二次函数的常数值和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标。According to the constant value of the camera distance error compensation quadratic function and the camera tracking coordinates corresponding to the target in different time frames, the corrected real camera coordinates corresponding to the target are obtained.

另一方面,本发明提供一种基于误差补偿的路口雷达安装角确定系统,所述系统包括:On the other hand, the present invention provides a system for determining an intersection radar installation angle based on error compensation, the system comprising:

获取单元,用于获取目标在不同时间帧分别对应的雷达跟踪坐标和相机跟踪坐标;An acquisition unit, used for acquiring radar tracking coordinates and camera tracking coordinates corresponding to the target in different time frames;

筛选单元,用于对所述目标在不同时间帧分别对应的相机跟踪坐标进行筛选,得到真实相机跟踪坐标;A screening unit, used for screening the camera tracking coordinates corresponding to the target in different time frames to obtain real camera tracking coordinates;

所述获取单元,还用于根据所述真实相机跟踪坐标和前预置帧的相机跟踪坐标,获取筛选后的对应帧的相机跟踪坐标;The acquisition unit is further used to acquire the camera tracking coordinates of the filtered corresponding frame according to the real camera tracking coordinates and the camera tracking coordinates of the previous preset frame;

所述获取单元,还用于根据筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标,获取所述目标对应的筛选后的相机坐标误差;The acquisition unit is further used to acquire the filtered camera coordinate error corresponding to the target according to the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame;

所述获取单元,还用于根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差,获取所述目标对应的相机距离误差补偿函数;The acquisition unit is further used to acquire a camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target;

所述获取单元,还用于根据所述目标对应的相机距离误差补偿函数和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标,并根据目标在不同时间帧分别对应的雷达跟踪坐标和所述目标对应的校正后的真实相机坐标,获取雷达安装倾斜角。The acquisition unit is further used to acquire the corrected real camera coordinates corresponding to the target according to the camera distance error compensation function corresponding to the target and the camera tracking coordinates corresponding to the target in different time frames, and to acquire the radar installation inclination angle according to the radar tracking coordinates corresponding to the target in different time frames and the corrected real camera coordinates corresponding to the target.

进一步地,所述获取单元,具体用于将筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标的差值,作为所述目标对应的筛选后的相机坐标误差。Furthermore, the acquisition unit is specifically configured to use the difference between the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame as the filtered camera coordinate error corresponding to the target.

进一步地,所述获取单元,具体还用于对所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差进行二次函数曲线拟合,获取所述目标对应的相机距离误差补偿函数。Furthermore, the acquisition unit is specifically used to perform quadratic function curve fitting on the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target, so as to acquire the camera distance error compensation function corresponding to the target.

进一步地,所述获取单元,具体还用于构建相机坐标误差随所述对应帧的相机跟踪坐标变化的误差补偿二次函数;根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差获取所述误差补偿二次函数的常数值;根据所述误差补偿二次函数的常数值获取所述目标对应的相机距离误差补偿函数。Furthermore, the acquisition unit is specifically used to construct an error compensation quadratic function in which the camera coordinate error changes with the camera tracking coordinates of the corresponding frame; obtain a constant value of the error compensation quadratic function according to the camera tracking coordinates of the filtered corresponding frame corresponding to the target and the filtered camera coordinate error corresponding to the target; and obtain a camera distance error compensation function corresponding to the target according to the constant value of the error compensation quadratic function.

进一步地,所述获取单元,具体还用于根据所述相机距离误差补偿二次函数的常数值和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标。Furthermore, the acquisition unit is specifically used to acquire the corrected real camera coordinates corresponding to the target according to the constant value of the camera distance error compensation quadratic function and the camera tracking coordinates corresponding to the target in different time frames.

本发明提供的一种基于误差补偿的路口雷达安装角确定方法及系统,通过对目标在不同时间帧分别对应的相机跟踪坐标进行相机距离误差补偿,并且对根据补偿后的不同时间帧分别对应的雷达跟踪坐标和相机跟踪坐标得到的安装角进行滤波,实现了基于多维度补偿措施的雷达安装角确定方法,可以提升安装角的确定精度;同时本发明利用了相机的跟踪目标轨迹稳定正常,不受设备偏转影响的优势,以相机坐标为标准量作为校正后的坐标,精度和通用性更高,同时使用最小二乘法方式对相机坐标进行补偿,进一步提升雷达安装精度。The present invention provides a method and system for determining the installation angle of an intersection radar based on error compensation. The method and system perform camera distance error compensation on camera tracking coordinates corresponding to the target in different time frames, and filter the installation angles obtained according to the compensated radar tracking coordinates and camera tracking coordinates corresponding to the different time frames, thereby realizing a radar installation angle determination method based on multi-dimensional compensation measures, which can improve the accuracy of determining the installation angle. At the same time, the present invention utilizes the advantage that the tracking target trajectory of the camera is stable and normal and is not affected by the deflection of the equipment. The camera coordinates are used as the standard quantity as the corrected coordinates, which have higher accuracy and versatility. At the same time, the camera coordinates are compensated using the least squares method to further improve the radar installation accuracy.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1是本发明提供的一种基于误差补偿的路口雷达安装角确定方法的流程图;FIG1 is a flow chart of a method for determining an intersection radar installation angle based on error compensation provided by the present invention;

图2是本发明提供的一种基于误差补偿的路口雷达安装角确定系统的结构示意图;2 is a schematic structural diagram of a system for determining an intersection radar installation angle based on error compensation provided by the present invention;

图3为本发明提供的单路口坐标系示意图。FIG3 is a schematic diagram of a single intersection coordinate system provided by the present invention.

具体实施方式DETAILED DESCRIPTION

下面通过附图和实施例,对本发明的技术方案做进一步的详细描述。The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments.

如图1所示,本发明实施例提供的一种基于误差补偿的路口雷达安装角确定方法,包括如下步骤:As shown in FIG1 , a method for determining an intersection radar installation angle based on error compensation provided by an embodiment of the present invention includes the following steps:

101、获取目标在不同时间帧分别对应的雷达跟踪坐标和相机跟踪坐标。101. Obtain the radar tracking coordinates and camera tracking coordinates corresponding to the target in different time frames.

例如,以单路口为例,如图3所示,坐标系原点o是雷视一体机的位置, x1oy1是校正后的坐标系,实际场景在x1’oy1’的偏斜坐标系下。具体地,标定场景中道路车辆应较少;同时需在路边每隔3米放置一个具有明显的标志物,直至标定区域的最远处;标定目标选择一辆从近处直行至远处的车辆。假设目标从近处直行至远处经历了N帧的时间,则通过人工筛选雷达目标id、位置、个数和相机目标id、位置、个数可确定同一目标,由此可得到同一目标的雷达跟踪坐标rx、ry和相机跟踪坐标雷达跟踪x坐标: rx=[rx1,rx2,...,rxi,...,rxN],i代表第i帧,y坐标:ry=[ry1,ry2,...,ryi,...,ryN],相机跟踪x 坐标:y坐标: For example, taking a single intersection as an example, as shown in Figure 3, the origin o of the coordinate system is the position of the radar vision integrated device, x1oy1 is the corrected coordinate system, and the actual scene is in the skewed coordinate system of x1'oy1'. Specifically, there should be fewer road vehicles in the calibration scene; at the same time, an obvious marker should be placed every 3 meters on the roadside until the farthest point of the calibration area; the calibration target is a vehicle that goes straight from near to far. Assuming that it takes N frames for the target to go straight from near to far, the same target can be determined by manually screening the radar target id, position, number and camera target id, position, number, thereby obtaining the radar tracking coordinates r x , ry and camera tracking coordinates of the same target. Radar tracking x coordinate: rx = [ rx1 , rx2 , ..., rxi , ..., rxN ], i represents the i-th frame, y coordinate: ry = [ ry1 , ry2 , ..., ryi , ..., ryN ], camera tracking x coordinate: y coordinate:

102、对所述目标在不同时间帧分别对应的相机跟踪坐标进行筛选,得到真实相机跟踪坐标。102. Screen the camera tracking coordinates corresponding to the target in different time frames to obtain real camera tracking coordinates.

对于本发明实施例,步骤102具体可以如下所示但不限于此,包括:首先筛选出在标定区域内的坐标小于Ymax米,相机标定点的最远距离,由现场标定确定的帧数,假设符合筛选条件的总帧数为 n0,由此得到对应的测量相机x坐标再观察前n0帧相机在视频中的实际位置,筛选出目标分别到达标志物的时刻:如果某一帧目标到达第l个标志物,则该帧目标横纵向坐标为Cyl=3l,Cxl=cxl不变。其中,目标纵向坐标为C′y=[Cym,...,Cyl,...,Cyn],横向坐标为C′x=[Cxm,...,Cxl,...,Cxn]:其中CxmCym为目标到达第一个标志物时刻第m 帧的横坐标和纵坐标;CxlCyl为目标到达中间标志物时刻第L帧的横坐标和纵坐标;CxnCyn为目标到达最后一个标志物时刻第n帧的横坐标和纵坐标。For the embodiment of the present invention, step 102 may be specifically as follows but is not limited thereto, including: firstly, selecting the coordinates within the calibration area; Less than Ymax meters, the farthest distance of the camera calibration point, the number of frames determined by the on-site calibration, assuming that the total number of frames that meet the screening conditions is n0, the corresponding measurement camera x coordinate is obtained and Then observe the actual position of the camera in the first n0 frames of the video, and filter out the moments when the target reaches the markers: if the target reaches the lth marker in a certain frame, the horizontal and vertical coordinates of the target in this frame are C yl =3l, and C xl =c xl remain unchanged. Among them, the vertical coordinate of the target is C′ y = [C ym ,..., Cy l,...,C yn ], and the horizontal coordinate is C′ x = [C xm ,...,C xl ,...,C xn ]: Among them, C xm C ym is the horizontal and vertical coordinates of the mth frame when the target reaches the first marker; C xl C yl is the horizontal and vertical coordinates of the Lth frame when the target reaches the middle marker; C xn C yn is the horizontal and vertical coordinates of the nth frame when the target reaches the last marker.

103、根据所述真实相机跟踪坐标和前预置帧的相机跟踪坐标,获取筛选后的对应帧的相机跟踪坐标。103. Obtain the camera tracking coordinates of the filtered corresponding frame according to the real camera tracking coordinates and the camera tracking coordinates of the previous preset frame.

对于本发明实施例,步骤103具体可以包括:经过筛选的真实相机跟踪坐标C′x、C′y和前n0帧在标定区域内的坐标可知目标经过各标志物的对应帧序号,由此可得对应帧的测量相机跟踪坐标 c′x=[cxm,...,cxl,...,cxn]、c′y=[cym,...,cyl,...,cyn]。For the embodiment of the present invention, step 103 may specifically include: the filtered real camera tracking coordinates C'x , C'y and the coordinates of the first n0 frames in the calibration area It can be known that the target passes the corresponding frame number of each marker, thereby obtaining the measurement camera tracking coordinates of the corresponding frame c′ x = [c xm , ..., c xl , ..., c xn ], c′ y = [c ym , ..., c yl , ..., c yn ].

104、根据筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标,获取所述目标对应的筛选后的相机坐标误差。104. Obtain a filtered camera coordinate error corresponding to the target according to the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame.

对于本发明实施例,步骤104具体可以包括:将筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标的差值,作为所述目标对应的筛选后的相机坐标误差。For the embodiment of the present invention, step 104 may specifically include: taking the difference between the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame as the filtered camera coordinate error corresponding to the target.

具体地,例如,得到的经过筛选的测量相机跟踪坐标c’x、c’y和经过筛选的真实相机跟踪坐标C′x、C′y,计算出目标经过筛选的相机坐标误差Δcx=[Δcxm,...,Δcxl,...,Δcxn]和Δcy=[Δcym,...,Δcyl,...,Δcyn], Specifically, for example, the obtained filtered measurement camera tracking coordinates c'x , c'y and the filtered real camera tracking coordinates C'x , C'y are used to calculate the target filtered camera coordinate errors Δcx = [ Δcxm , ..., Δcxl , ..., Δcxn ] and Δcy = [ Δcym , ..., Δcyl , ..., Δcyn ],

105、根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差,获取所述目标对应的相机距离误差补偿函数口105. Obtain a camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the corresponding frame after filtering corresponding to the target and the camera coordinate error after filtering corresponding to the target.

对于本发明实施例,步骤105具体可以包括:对所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差进行二次函数曲线拟合,获取所述目标对应的相机距离误差补偿函数。所述对所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差进行二次函数曲线拟合,获取所述目标对应的相机距离误差补偿函数的步骤包括:构建相机坐标误差随所述对应帧的相机跟踪坐标变化的误差补偿二次函数;根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差获取所述误差补偿二次函数的常数值;根据所述误差补偿二次函数的常数值获取所述目标对应的相机距离误差补偿函数。For the embodiment of the present invention, step 105 may specifically include: performing quadratic function curve fitting on the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target, and obtaining the camera distance error compensation function corresponding to the target. The step of performing quadratic function curve fitting on the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target, and obtaining the camera distance error compensation function corresponding to the target includes: constructing an error compensation quadratic function in which the camera coordinate error changes with the camera tracking coordinates of the corresponding frame; obtaining a constant value of the error compensation quadratic function according to the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target; and obtaining the camera distance error compensation function corresponding to the target according to the constant value of the error compensation quadratic function.

具体地,例如,由经过筛选的测量相机跟踪坐标c’x、c’y和特定帧的相机坐标误差Δc′x、Δc′y,设特定帧数为ns,采用最小二乘法对距离进行补偿。首先计算Δc′x、Δc′y随测量值c’x、c’y的变化函数fx和fy,其中,fx是相机x坐标误差随测量x坐标的变化函数,fy是相机y坐标误差随测量y坐标的变化函数,均用二次函数曲线拟合。设f=a0+a1*x+a2*x2,计算fx时,对Δc′x取绝对值得到Δc′x_abs=[|Δcxm|,...,|Δcxl|,...,|Δcxn|],将Δc′x_abs作为f代入,将c′x=[cxm,...,cxl,...,cxn] 作为x代入,则左式可以写为:Specifically, for example, the coordinates c'x , c'y and the camera coordinate errors Δc'x , Δc'y of a specific frame are tracked by a screened measurement camera, and the specific frame number is set to n s , and the least square method is used to compensate the distance. First, the variation functions f x and f y of Δc'x, Δc'y with the measured values c'x , c'y are calculated, where f x is the variation function of the camera x coordinate error with the measured x coordinate, and f y is the variation function of the camera y coordinate error with the measured y coordinate, and both are fitted with a quadratic function curve. Assume f = a 0 + a 1 *x + a 2 *x 2 . When calculating f x , take the absolute value of Δc′ x to obtain Δc′ x_abs = [|Δc xm |, ..., |Δc xl |, ..., |Δc xn |]. Substitute Δc′ x_abs as f and c′ x = [c xm , ..., c xl , ..., c xn ] as x. The left-hand equation can be written as:

然后计算矩阵的行列式:Then calculate the determinant of the matrix:

即可得到f函数的表达式,将a0、a1、a2赋值给ax0、ax1、ax2: fx=ax0+ax1*x+ax2*x2。计算fy时,对Δc′y取绝对值得到Δc′y_abs=[|Δcym|,...,|Δcyl|,...,|Δcyn|],将Δc′y_abs作为f代入,将c′y=[cym,...,cyl,...,cyn]作为x代入,公式相同,计算出相应的a0、a1、a2,即可得到fy函数的表达式,将 a0、a1、a2赋值给ay0、ay1、ay2:fy=ay0+ay1*x+ay2*x2The expression of the function f can be obtained by assigning a0 , a1 , and a2 to ax0 , ax1 , and ax2 : fx = ax0 + ax1 *x+ ax2 * x2 . When calculating f y , take the absolute value of Δc′ y to obtain Δc′ y_abs = [|Δ cym |, ..., |Δc yl |, ..., |Δc yn |], substitute Δc′ y_abs as f, substitute c′ y = [c ym , ..., c yl , ..., c yn ] as x, the formula is the same, calculate the corresponding a 0 , a 1 , a 2 , and get the expression of the f y function. Assign a 0 , a 1 , a 2 to a y0 , a y1 , a y2 : f y = a y0 +a y1 *x+a y2 *x 2 .

106、根据所述目标对应的相机距离误差补偿函数和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标,并根据目标在不同时间帧分别对应的雷达跟踪坐标和所述目标对应的校正后的真实相机坐标,获取雷达安装倾斜角。106. Obtain the corrected real camera coordinates corresponding to the target according to the camera distance error compensation function corresponding to the target and the camera tracking coordinates corresponding to the target at different time frames, and obtain the radar installation inclination angle according to the radar tracking coordinates corresponding to the target at different time frames and the corrected real camera coordinates corresponding to the target.

对于本发明实施例,步骤106具体可以包括:根据所述相机距离误差补偿二次函数的常数值和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标。For the embodiment of the present invention, step 106 may specifically include: acquiring the corrected real camera coordinates corresponding to the target according to the constant value of the camera distance error compensation quadratic function and the camera tracking coordinates corresponding to the target in different time frames.

具体地,例如,由误差函数fx、fy和测量相机跟踪坐标计算校正后的真实相机坐标Cx=[Cx1,Cx2,...,Cxi,...,CxN]和Cy=[Cy1,Cy2,...,Cyi,...,CyN],然后由雷达跟踪坐标rx、ry,此时坐标为倾斜坐标下的测量值,以及校正相机坐标Cx、Cy,此时坐标为校正坐标下的值,计算安装雷达的倾斜角θ:设倾斜角矢量为θ’=[θ1,θ2,...,θi,θN],θi为第i帧的倾斜角计算值:再对倾斜角矢量进行均值滤波,得到最终的倾斜角, Specifically, for example, the error functions f x , f y and the measurement camera tracking coordinates Calculate the corrected real camera coordinates Cx = [ Cx1 , Cx2 , ..., Cxi , ..., CxN ] and Cy = [ Cy1 , Cy2 , ..., Cyi , ..., CyN ], Then the radar tracks the coordinates r x , ry , which are the measured values in the inclined coordinates, and calibrates the camera coordinates C x , Cy , which are the values in the calibrated coordinates, and calculates the inclination angle θ of the installed radar: Let the inclination angle vector be θ'=[θ 12 , ...,θ iN ], where θ i is the calculated inclination angle of the i-th frame: Then perform mean filtering on the tilt angle vector to obtain the final tilt angle.

本发明实施例提供的一种基于误差补偿的路口雷达安装角确定方法,通过对目标在不同时间帧分别对应的相机跟踪坐标进行相机距离误差补偿,并且对根据补偿后的不同时间帧分别对应的雷达跟踪坐标和相机跟踪坐标得到的安装角进行滤波,实现了基于多维度补偿措施的雷达安装角确定方法,可以提升安装角的确定精度;同时本发明利用了相机的跟踪目标轨迹稳定正常,不受设备偏转影响的优势,以相机坐标为标准量作为校正后的坐标,精度和通用性更高,同时使用最小二乘法方式对相机坐标进行补偿,进一步提升雷达安装精度。An embodiment of the present invention provides a method for determining the installation angle of an intersection radar based on error compensation. The method performs camera distance error compensation on the camera tracking coordinates corresponding to the target in different time frames, and filters the installation angles obtained according to the compensated radar tracking coordinates and camera tracking coordinates corresponding to the different time frames, thereby realizing a method for determining the radar installation angle based on multi-dimensional compensation measures, which can improve the accuracy of determining the installation angle. At the same time, the present invention utilizes the advantage that the tracking target trajectory of the camera is stable and normal and is not affected by the deflection of the equipment, and uses the camera coordinates as the standard quantity as the corrected coordinates, which has higher accuracy and versatility. At the same time, the camera coordinates are compensated using the least squares method to further improve the radar installation accuracy.

为实现本发明实施例提供的方法,本发明实施例提供一种基于误差补偿的路口雷达安装角确定系统,如图2所示,该系统包括:获取单元21、筛选单元22;To implement the method provided by the embodiment of the present invention, the embodiment of the present invention provides a system for determining the installation angle of a road intersection radar based on error compensation, as shown in FIG2 , the system includes: an acquisition unit 21, a screening unit 22;

获取单元21,用于获取目标在不同时间帧分别对应的雷达跟踪坐标和相机跟踪坐标。The acquisition unit 21 is used to acquire the radar tracking coordinates and the camera tracking coordinates corresponding to the target in different time frames.

筛选单元22,用于对所述目标在不同时间帧分别对应的相机跟踪坐标进行筛选,得到真实相机跟踪坐标。The screening unit 22 is used to screen the camera tracking coordinates corresponding to the target in different time frames to obtain real camera tracking coordinates.

所述获取单元21,还用于根据所述真实相机跟踪坐标和前预置帧的相机跟踪坐标,获取筛选后的对应帧的相机跟踪坐标。The acquisition unit 21 is further configured to acquire the camera tracking coordinates of the filtered corresponding frame according to the real camera tracking coordinates and the camera tracking coordinates of the previous preset frame.

所述获取单元21,还用于根据筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标,获取所述目标对应的筛选后的相机坐标误差。The acquisition unit 21 is further used to acquire the filtered camera coordinate error corresponding to the target according to the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame.

所述获取单元21,还用于根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差,获取所述目标对应的相机距离误差补偿函数。The acquisition unit 21 is further used to acquire a camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target.

所述获取单元21,还用于根据所述目标对应的相机距离误差补偿函数和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标,并根据目标在不同时间帧分别对应的雷达跟踪坐标和所述目标对应的校正后的真实相机坐标,获取雷达安装倾斜角。The acquisition unit 21 is further used to acquire the corrected real camera coordinates corresponding to the target according to the camera distance error compensation function corresponding to the target and the camera tracking coordinates corresponding to the target at different time frames, and to acquire the radar installation inclination angle according to the radar tracking coordinates corresponding to the target at different time frames and the corrected real camera coordinates corresponding to the target.

进一步地,所述获取单元21,具体用于将筛选后的真实相机跟踪坐标和筛选后的对应帧的相机跟踪坐标的差值,作为所述目标对应的筛选后的相机坐标误差。Furthermore, the acquisition unit 21 is specifically configured to use the difference between the filtered real camera tracking coordinates and the filtered camera tracking coordinates of the corresponding frame as the filtered camera coordinate error corresponding to the target.

进一步地,所述获取单元21,具体还用于对所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差进行二次函数曲线拟合,获取所述目标对应的相机距离误差补偿函数。Furthermore, the acquisition unit 21 is further specifically used to perform quadratic function curve fitting on the camera tracking coordinates of the corresponding frame after screening corresponding to the target and the camera coordinate error after screening corresponding to the target, so as to acquire the camera distance error compensation function corresponding to the target.

进一步地,所述获取单元21,具体还用于构建相机坐标误差随所述对应帧的相机跟踪坐标变化的误差补偿二次函数;根据所述目标对应的筛选后的对应帧的相机跟踪坐标和所述目标对应的筛选后的相机坐标误差获取所述误差补偿二次函数的常数值;根据所述误差补偿二次函数的常数值获取所述目标对应的相机距离误差补偿函数。Furthermore, the acquisition unit 21 is specifically used to construct an error compensation quadratic function in which the camera coordinate error changes with the camera tracking coordinates of the corresponding frame; obtain a constant value of the error compensation quadratic function according to the camera tracking coordinates of the filtered corresponding frame corresponding to the target and the filtered camera coordinate error corresponding to the target; and obtain a camera distance error compensation function corresponding to the target according to the constant value of the error compensation quadratic function.

进一步地,所述获取单元21,具体还用于根据所述相机距离误差补偿二次函数的常数值和所述目标在不同时间帧分别对应的相机跟踪坐标,获取所述目标对应的校正后的真实相机坐标。Furthermore, the acquisition unit 21 is further specifically configured to acquire the corrected real camera coordinates corresponding to the target according to the constant value of the camera distance error compensation quadratic function and the camera tracking coordinates corresponding to the target in different time frames.

本发明实施例提供的一种基于误差补偿的路口雷达安装角确定系统,通过对目标在不同时间帧分别对应的相机跟踪坐标进行相机距离误差补偿,并且对根据补偿后的不同时间帧分别对应的雷达跟踪坐标和相机跟踪坐标得到的安装角进行滤波,实现了基于多维度补偿措施的雷达安装角确定方法,可以提升安装角的确定精度;同时本发明利用了相机的跟踪目标轨迹稳定正常,不受设备偏转影响的优势,以相机坐标为标准量作为校正后的坐标,精度和通用性更高,同时使用最小二乘法方式对相机坐标进行补偿,进一步提升雷达安装精度。An embodiment of the present invention provides a system for determining the installation angle of an intersection radar based on error compensation. The system performs camera distance error compensation on the camera tracking coordinates corresponding to the target in different time frames, and filters the installation angles obtained according to the compensated radar tracking coordinates and camera tracking coordinates corresponding to the different time frames, thereby realizing a radar installation angle determination method based on multi-dimensional compensation measures, which can improve the accuracy of determining the installation angle. At the same time, the present invention utilizes the advantage that the camera's tracking target trajectory is stable and normal and is not affected by the deflection of the equipment, and uses the camera coordinates as the standard quantity as the corrected coordinates, which has higher accuracy and versatility. At the same time, the camera coordinates are compensated using the least squares method to further improve the radar installation accuracy.

应该明白,公开的过程中的步骤的特定顺序或层次是示例性方法的实例。基于设计偏好,应该理解,过程中的步骤的特定顺序或层次可以在不脱离本公开的保护范围的情况下得到重新安排。所附的方法权利要求以示例性的顺序给出了各种步骤的要素,并且不是要限于所述的特定顺序或层次。It should be understood that the specific order or hierarchy of steps in the disclosed process is an example of an exemplary method. Based on design preferences, it should be understood that the specific order or hierarchy of steps in the process can be rearranged without departing from the scope of protection of the present disclosure. The attached method claims present the elements of the various steps in an exemplary order and are not intended to be limited to the specific order or hierarchy described.

在上述的详细描述中,各种特征一起组合在单个的实施方案中,以简化本公开。不应该将这种公开方法解释为反映了这样的意图,即,所要求保护的主题的实施方案需要比清楚地在每个权利要求中所陈述的特征更多的特征。相反,如所附的权利要求书所反映的那样,本发明处于比所公开的单个实施方案的全部特征少的状态。因此,所附的权利要求书特此清楚地被并入详细描述中,其中每项权利要求独自作为本发明单独的优选实施方案。In the above detailed description, various features are grouped together in a single embodiment to simplify the disclosure. This method of disclosure should not be interpreted as reflecting an intention that the embodiments of the claimed subject matter require more features than are clearly stated in each claim. On the contrary, as reflected in the appended claims, the invention is in a state of having less than all the features of the disclosed individual embodiments. Therefore, the appended claims are hereby expressly incorporated into the detailed description, with each claim standing on its own as a separate preferred embodiment of the invention.

为使本领域内的任何技术人员能够实现或者使用本发明,上面对所公开实施例进行了描述。对于本领域技术人员来说;这些实施例的各种修改方式都是显而易见的,并且本文定义的一般原理也可以在不脱离本公开的精神和保护范围的基础上适用于其它实施例。因此,本公开并不限于本文给出的实施例,而是与本申请公开的原理和新颖性特征的最广范围相一致。The disclosed embodiments are described above to enable any person skilled in the art to implement or use the present invention. Various modifications of these embodiments are obvious to those skilled in the art, and the general principles defined herein may also be applied to other embodiments without departing from the spirit and scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments given herein, but is consistent with the broadest scope of the principles and novel features disclosed in this application.

上文的描述包括一个或多个实施例的举例。当然,为了描述上述实施例而描述部件或方法的所有可能的结合是不可能的,但是本领域普通技术人员应该认识到,各个实施例可以做进一步的组合和排列。因此,本文中描述的实施例旨在涵盖落入所附权利要求书的保护范围内的所有这样的改变、修改和变型。此外,就说明书或权利要求书中使用的术语“包含”,该词的涵盖方式类似于术语“包括”,就如同“包括,”在权利要求中用作衔接词所解释的那样。此外,使用在权利要求书的说明书中的任何一个术语“或者”是要表示“非排它性的或者”。The above description includes examples of one or more embodiments. Of course, it is impossible to describe all possible combinations of components or methods for the purpose of describing the above embodiments, but it should be recognized by those skilled in the art that the various embodiments may be further combined and arranged. Therefore, the embodiments described herein are intended to cover all such changes, modifications and variations that fall within the scope of protection of the appended claims. In addition, with respect to the term "comprising" used in the specification or claims, the word is covered in a manner similar to the term "including", just as "including," is explained as a transitional word in the claims. In addition, any term "or" used in the specification of the claims is intended to mean "non-exclusive or".

本领域技术人员还可以了解到本发明实施例列出的各种说明性逻辑块(illustrative logical block),单元,和步骤可以通过电子硬件、电脑软件,或两者的结合进行实现。为清楚展示硬件和软件的可替换性 (interchangeability),上述的各种说明性部件(illustrative components),单元和步骤已经通用地描述了它们的功能。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本发明实施例保护的范围。Those skilled in the art may also understand that the various illustrative logical blocks, units, and steps listed in the embodiments of the present invention may be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly demonstrate the interchangeability of hardware and software, the various illustrative components, units, and steps described above have generally described their functions. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present invention.

本发明实施例中所描述的各种说明性的逻辑块,或单元都可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列或其它可编程逻辑系统,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算系统的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。The various illustrative logic blocks or units described in the embodiments of the present invention can be implemented or operated by a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field programmable gate array or other programmable logic system, a discrete gate or transistor logic, a discrete hardware component, or any combination of the above. The general-purpose processor can be a microprocessor, and optionally, the general-purpose processor can also be any conventional processor, controller, microcontroller or state machine. The processor can also be implemented by a combination of computing systems, such as a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration.

本发明实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件模块、或者这两者的结合。软件模块可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于AS工C中,ASIC可以设置于用户终端中。可选地,处理器和存储媒介也可以设置于用户终端中的不同的部件中。The steps of the method or algorithm described in the embodiments of the present invention can be directly embedded in hardware, a software module executed by a processor, or a combination of the two. The software module can be stored in a RAM memory, a flash memory, a ROM memory, an EPROM memory, an EEPROM memory, a register, a hard disk, a removable disk, a CD-ROM or other storage media of any form in the art. Exemplarily, the storage medium can be connected to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Optionally, the storage medium can also be integrated into the processor. The processor and the storage medium can be arranged in an ASIC, and the ASIC can be arranged in a user terminal. Optionally, the processor and the storage medium can also be arranged in different components in the user terminal.

在一个或多个示例性的设计中,本发明实施例所描述的上述功能可以在硬件、软件、固件或这三者的任意组合来实现。如果在软件中实现,这些功能可以存储与电脑可读的媒介上,或以一个或多个指令或代码形式传输于电脑可读的媒介上。电脑可读媒介包括电脑存储媒介和便于使得让电脑程序从一个地方转移到其它地方的通信媒介。存储媒介可以是任何通用或特殊电脑可以接入访问的可用媒体。例如,这样的电脑可读媒体可以包括但不限于RAM、ROM、EEPROM、CD-ROM或其它光盘存储、磁盘存储或其它磁性存储系统,或其它任何可以用于承载或存储以指令或数据结构和其它可被通用或特殊电脑、或通用或特殊处理器读取形式的程序代码的媒介。此外,任何连接都可以被适当地定义为电脑可读媒介,例如,如果软件是从一个网站站点、服务器或其它远程资源通过一个同轴电缆、光纤电缆、双绞线、数字用户线(DSL)或以例如红外、无线和微波等无线方式传输的也被包含在所定义的电脑可读媒介中。所述的碟片(disk)和磁盘(disc) 包括压缩磁盘、镭射盘、光盘、DVD、软盘和蓝光光盘,磁盘通常以磁性复制数据,而碟片通常以激光进行光学复制数据。上述的组合也可以包含在电脑可读媒介中。In one or more exemplary designs, the above functions described in the embodiments of the present invention can be implemented in hardware, software, firmware or any combination of the three. If implemented in software, these functions can be stored on a computer-readable medium, or transmitted in the form of one or more instructions or codes on a computer-readable medium. Computer-readable media include computer storage media and communication media that facilitate the transfer of computer programs from one place to another. The storage medium can be any available medium that can be accessed by any general or special computer. For example, such computer-readable media can include but are not limited to RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage or other magnetic storage systems, or any other medium that can be used to carry or store program codes in the form of instructions or data structures and other forms that can be read by general or special computers, or general or special processors. In addition, any connection can be appropriately defined as a computer-readable medium, for example, if the software is transmitted from a website site, server or other remote resource through a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wirelessly, such as infrared, wireless and microwave, it is also included in the defined computer-readable medium. The disk and disc include compact disk, laser disk, optical disk, DVD, floppy disk and Blu-ray disk. Disks usually reproduce data magnetically, while discs usually reproduce data optically with lasers. Combinations of the above may also be included in computer readable media.

以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims (10)

1. An intersection radar installation angle determining method based on error compensation, which is characterized by comprising the following steps:
acquiring radar tracking coordinates and camera tracking coordinates respectively corresponding to the target in different time frames;
screening camera tracking coordinates of the target corresponding to different time frames respectively to obtain real camera tracking coordinates;
acquiring the camera tracking coordinates of the corresponding frames after screening according to the real camera tracking coordinates and the camera tracking coordinates of the front preset frames;
acquiring a screened camera coordinate error corresponding to the target according to the screened real camera tracking coordinate and the screened camera tracking coordinate of the corresponding frame;
acquiring a camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the screened corresponding frame corresponding to the target and the screened camera coordinate error corresponding to the target;
According to the camera distance error compensation function corresponding to the target and the camera tracking coordinates corresponding to the target in different time frames, the corrected real camera coordinates corresponding to the target are obtained, and according to the radar tracking coordinates corresponding to the target in different time frames and the corrected real camera coordinates corresponding to the target, the radar installation tilt angle is obtained.
2. The method for determining an intersection radar installation angle based on error compensation according to claim 1, wherein the step of obtaining the filtered camera coordinate error corresponding to the target according to the filtered real camera tracking coordinate and the filtered camera tracking coordinate of the corresponding frame comprises:
And taking the difference value of the screened real camera tracking coordinates and the screened camera tracking coordinates of the corresponding frame as the screened camera coordinate error corresponding to the target.
3. The method for determining an installation angle of an intersection radar based on error compensation according to claim 1, wherein the step of obtaining the camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the filtered corresponding frame corresponding to the target and the filtered camera coordinate error corresponding to the target comprises:
And performing quadratic function curve fitting on the camera tracking coordinates of the screened corresponding frames corresponding to the targets and the screened camera coordinate errors corresponding to the targets to obtain a camera distance error compensation function corresponding to the targets.
4. The method for determining an installation angle of an intersection radar based on error compensation according to claim 3, wherein the step of performing quadratic function curve fitting on the camera tracking coordinates of the filtered corresponding frame corresponding to the target and the filtered camera coordinate errors corresponding to the target, and obtaining the camera distance error compensation function corresponding to the target comprises:
constructing an error compensation quadratic function of the camera coordinate error along with the change of the camera tracking coordinates of the corresponding frame;
obtaining a constant value of the error compensation quadratic function according to the camera tracking coordinates of the screened corresponding frames corresponding to the target and the screened camera coordinate errors corresponding to the target;
and obtaining a camera distance error compensation function corresponding to the target according to the constant value of the error compensation quadratic function.
5. The method for determining an intersection radar installation angle based on error compensation according to claim 4, wherein the step of obtaining corrected real camera coordinates corresponding to the target according to the camera distance error compensation function corresponding to the target and the camera tracking coordinates corresponding to the target at different time frames respectively comprises:
and obtaining corrected real camera coordinates corresponding to the target according to the constant value of the camera distance error compensation quadratic function and the camera tracking coordinates respectively corresponding to the target in different time frames.
6. An error compensation-based intersection radar installation angle determination system, the system comprising:
The acquisition unit is used for acquiring radar tracking coordinates and camera tracking coordinates respectively corresponding to the targets in different time frames;
The screening unit is used for screening the camera tracking coordinates of the target corresponding to different time frames respectively to obtain real camera tracking coordinates;
the acquisition unit is further used for acquiring the camera tracking coordinates of the corresponding frames after screening according to the real camera tracking coordinates and the camera tracking coordinates of the front preset frames;
the acquisition unit is further used for acquiring the screened camera coordinate error corresponding to the target according to the screened real camera tracking coordinate and the screened camera tracking coordinate of the corresponding frame;
The acquisition unit is further used for acquiring a camera distance error compensation function corresponding to the target according to the camera tracking coordinates of the screened corresponding frame corresponding to the target and the screened camera coordinate error corresponding to the target;
The acquisition unit is further configured to acquire corrected real camera coordinates corresponding to the target according to the camera distance error compensation function corresponding to the target and camera tracking coordinates corresponding to the target in different time frames, and acquire a radar installation tilt angle according to the radar tracking coordinates corresponding to the target in different time frames and the corrected real camera coordinates corresponding to the target.
7. The intersection radar installation angle determining system based on the error compensation according to claim 6, wherein,
The acquiring unit is specifically configured to use a difference value between the filtered real camera tracking coordinate and the filtered camera tracking coordinate of the corresponding frame as the filtered camera coordinate error corresponding to the target.
8. The intersection radar installation angle determining system based on the error compensation according to claim 6, wherein,
The obtaining unit is specifically further configured to perform quadratic function curve fitting on the camera tracking coordinates of the filtered corresponding frame corresponding to the target and the filtered camera coordinate errors corresponding to the target, so as to obtain a camera distance error compensation function corresponding to the target.
9. The intersection radar installation angle determining system based on the error compensation according to claim 7, wherein,
The acquisition unit is specifically configured to construct an error compensation quadratic function of a camera coordinate error along with a camera tracking coordinate change of the corresponding frame; obtaining a constant value of the error compensation quadratic function according to the camera tracking coordinates of the screened corresponding frames corresponding to the target and the screened camera coordinate errors corresponding to the target; and obtaining a camera distance error compensation function corresponding to the target according to the constant value of the error compensation quadratic function.
10. The intersection radar installation angle determining system based on the error compensation according to claim 9, wherein,
The obtaining unit is specifically further configured to obtain corrected real camera coordinates corresponding to the target according to the constant value of the camera distance error compensation quadratic function and the camera tracking coordinates corresponding to the target in different time frames.
CN202210734213.1A 2022-06-27 2022-06-27 A method and system for determining the installation angle of intersection radar based on error compensation Active CN115128557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210734213.1A CN115128557B (en) 2022-06-27 2022-06-27 A method and system for determining the installation angle of intersection radar based on error compensation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210734213.1A CN115128557B (en) 2022-06-27 2022-06-27 A method and system for determining the installation angle of intersection radar based on error compensation

Publications (2)

Publication Number Publication Date
CN115128557A CN115128557A (en) 2022-09-30
CN115128557B true CN115128557B (en) 2024-11-05

Family

ID=83380360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210734213.1A Active CN115128557B (en) 2022-06-27 2022-06-27 A method and system for determining the installation angle of intersection radar based on error compensation

Country Status (1)

Country Link
CN (1) CN115128557B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679256A (en) * 2020-07-23 2020-09-18 杭州智波科技有限公司 Angle calibration method, device and system of automobile millimeter wave radar and storage medium
CN112255604A (en) * 2020-10-29 2021-01-22 南京慧尔视智能科技有限公司 Method and device for judging accuracy of radar data and computer equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3104189B1 (en) * 2015-06-11 2020-09-30 Veoneer Sweden AB Misalignment estimation for a vehicle radar system
KR102805459B1 (en) * 2019-11-06 2025-05-09 현대자동차주식회사 Apparatus for compensating error of radar in vehicle and method thereof
CN114488123B (en) * 2022-02-09 2025-02-11 超级视线科技有限公司 A radar data and camera data fusion method and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111679256A (en) * 2020-07-23 2020-09-18 杭州智波科技有限公司 Angle calibration method, device and system of automobile millimeter wave radar and storage medium
CN112255604A (en) * 2020-10-29 2021-01-22 南京慧尔视智能科技有限公司 Method and device for judging accuracy of radar data and computer equipment

Also Published As

Publication number Publication date
CN115128557A (en) 2022-09-30

Similar Documents

Publication Publication Date Title
CN109211298B (en) Sensor calibration method and device
CN110031829B (en) An accurate ranging method for targets based on monocular vision
KR20210116507A (en) Calibration method, positioning method, apparatus, electronic device and storage medium
CN110444044B (en) Vehicle pose detection system based on ultrasonic sensor, terminal and storage medium
CN112902863A (en) Tunnel surrounding rock large deformation monitoring method based on automatic target finding and ranging system
CN109410264A (en) A kind of front vehicles distance measurement method based on laser point cloud and image co-registration
CN109341668A (en) A Multi-Camera Measurement Method Based on Refraction Projection Model and Beam Tracing Method
CN115113194B (en) A method and system for determining the installation angle of intersection radar based on multi-dimensional coordinates
CN112990128A (en) Multi-vehicle speed measuring method based on video tracking
CN116704048A (en) Double-light registration method
CN115128557B (en) A method and system for determining the installation angle of intersection radar based on error compensation
CN116224255A (en) Camera detection data calibration method and system based on radar data
CN114167390B (en) A dynamic calibration method and system for vehicle-mounted millimeter-wave radar
CN115457488A (en) Roadside parking management method and system based on binocular stereo vision
CN103685936A (en) WIDE field of view camera image calibration and de-warping
CN115015909B (en) A radar data and video data fusion method and system based on perspective transformation
CN113744342B (en) Monocular camera external parameter calibration system and method
CN113436257B (en) A real-time vehicle position detection method based on road geometric information
CN112347935B (en) Binocular vision SLAM-based automatic driving vehicle positioning method and system
CN117686985A (en) A parameter calibration method, device and system
CN114460551A (en) A field automatic calibration method and device based on millimeter wave radar and vision
CN118351176B (en) A semi-automatic calibration method for camera and millimeter wave radar external parameters and related equipment
CN116934873B (en) Camera extrinsic calibration method, device, equipment and storage medium
US20230410353A1 (en) Information processing method and related device
US20250139829A1 (en) Dynamic autocalibration of a vehicle camera system behind a windshield

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant