WO2024159351A1 - Point cloud test method and apparatus - Google Patents
Point cloud test method and apparatus Download PDFInfo
- Publication number
- WO2024159351A1 WO2024159351A1 PCT/CN2023/073812 CN2023073812W WO2024159351A1 WO 2024159351 A1 WO2024159351 A1 WO 2024159351A1 CN 2023073812 W CN2023073812 W CN 2023073812W WO 2024159351 A1 WO2024159351 A1 WO 2024159351A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- point cloud
- point
- frame
- true value
- sampling
- Prior art date
Links
- 238000010998 test method Methods 0.000 title abstract description 3
- 238000012360 testing method Methods 0.000 claims abstract description 231
- 238000001514 detection method Methods 0.000 claims abstract description 171
- 238000011156 evaluation Methods 0.000 claims abstract description 20
- 238000005070 sampling Methods 0.000 claims description 473
- 238000000034 method Methods 0.000 claims description 76
- 238000004364 calculation method Methods 0.000 claims description 55
- 238000005259 measurement Methods 0.000 claims description 35
- 238000004891 communication Methods 0.000 claims description 26
- 238000003860 storage Methods 0.000 claims description 8
- 238000009434 installation Methods 0.000 abstract description 2
- 230000000875 corresponding effect Effects 0.000 description 44
- 238000010586 diagram Methods 0.000 description 38
- 238000007781 pre-processing Methods 0.000 description 18
- 238000004590 computer program Methods 0.000 description 17
- 230000008569 process Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 15
- 238000013461 design Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 10
- 239000011159 matrix material Substances 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 238000009826 distribution Methods 0.000 description 9
- 238000006243 chemical reaction Methods 0.000 description 8
- 230000007423 decrease Effects 0.000 description 6
- 230000002596 correlated effect Effects 0.000 description 5
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 4
- 238000013500 data storage Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 3
- 230000007613 environmental effect Effects 0.000 description 3
- 230000036541 health Effects 0.000 description 3
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 239000011358 absorbing material Substances 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000004927 fusion Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 238000012800 visualization Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013135 deep learning Methods 0.000 description 1
- 230000008030 elimination Effects 0.000 description 1
- 238000003379 elimination reaction Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000009897 systematic effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/02—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S13/00
- G01S7/40—Means for monitoring or calibrating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/56—Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
Definitions
- the present application relates to the field of detection technology, and in particular to a point cloud testing method and device.
- the advanced driving assistance system plays a very important role in smart cars. It uses the detection device installed on the car to detect the surrounding environment during the driving process of the vehicle, collect data, identify static and moving objects, etc., and combine with the map to perform systematic calculations and analysis, so that the driver can be aware of possible dangers in advance, effectively increasing the comfort and safety of car driving.
- the detection device can be regarded as the "eyes" of the device to perceive the environment. It can detect the surrounding environment and output point clouds.
- the quality of the point cloud represents the detection capability of the detection device. Therefore, the test of the point cloud output by the detection device (hereinafter referred to as point cloud test) has always been the key test item of the detection device in the industry.
- point targets are targets that exist in the form of "points".
- a point cloud testing method for point targets is as follows: the device under test (DUT) is placed in a darkroom (the darkroom is surrounded by absorbing materials), and point targets are set in the darkroom to test the point cloud output by the DUT when detecting the point targets in the darkroom.
- point targets are quite different from detection targets in actual installation environments (hereinafter referred to as actual targets).
- point targets usually only have characteristics such as position, distance, and orientation, but actual targets also have characteristics such as posture or size, and scattering characteristics also have various types.
- characteristics such as position, distance, and orientation
- actual targets also have characteristics such as posture or size, and scattering characteristics also have various types.
- some suppliers only use human eyes to estimate the quality of the point cloud output by the detection device when detecting actual targets.
- the current point cloud testing methods are difficult to accurately evaluate the quality of the point cloud output by the detection device.
- the embodiments of the present application provide a point cloud testing method and device, which can test the point cloud of a body target and can more accurately test the quality of the point cloud output by a detection device.
- an embodiment of the present application provides a point cloud testing method, comprising:
- the true value data is the true value of the volume target
- the point cloud is the detection result obtained by the DUT detecting the volume target.
- the point cloud and the true value data are matched to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the body target can be regarded as an object with at least two of the length, height and width, used as a target for testing the DUT.
- the body target includes but is not limited to one or more of a sphere, a cuboid, a plate, a dihedral, a trihedral, a cylinder, or a round top hat.
- the detection result of a body target includes multiple sampling points.
- the detection device can detect different surfaces of the body target at different viewing angles.
- the body target has characteristics such as posture and size.
- the embodiment of the present application is based on matching the true value of the volume target and the point cloud of the volume target to obtain the matching between the point cloud of the volume target and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device.
- the embodiments of the present application can significantly reduce the evaluation error and improve the test accuracy and test efficiency by automatically obtaining the matching result based on the true value of the volume target and the point cloud of the volume target.
- the number of volume targets may be one or more.
- the number of volume targets is described as at least one below.
- the above method can be implemented by a point cloud testing device.
- the following description is made by taking the point cloud testing device as an example, and the present application is also applicable to other forms of execution entities.
- matching the point cloud with the true value data to obtain a matching result set includes:
- the point cloud is matched with the three-dimensional matching box to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the point cloud testing device matches the point cloud with the three-dimensional matching box, and can accurately calculate the positional relationship between the point cloud and the volume target, obtain the matching result, and improve the test accuracy.
- matching the point cloud with the true value data to obtain a matching result set includes:
- the two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- both the true value data and the point cloud are processed into two-dimensional data for matching.
- matching in two dimensions can save the amount of calculation during matching and further improve the test efficiency.
- the evaluation of the detection device mainly focuses on its ranging ability, speed measurement ability and angle resolution ability. These capabilities are more related to the longitudinal and lateral data in the detection results. Therefore, two-dimensional projection of the data can test the point cloud quality output by the detection device without significantly losing accuracy.
- projecting the true value data to obtain two-dimensional true value data includes:
- Project the point cloud to obtain a two-dimensional point cloud including:
- the point cloud and the true value data can be projected onto a horizontal plane during projection.
- the projection onto the horizontal plane can largely retain the horizontal and vertical data of the volume target, which is beneficial to improving the test efficiency and saving the amount of calculation.
- the horizontal plane refers to a relatively horizontal plane, such as the XY plane.
- the point cloud contains multiple sampling points, each sampling point corresponds to a three-dimensional coordinate (taking the Cartesian coordinate system as an example).
- the vertical data can be discarded during projection (or the Z-axis value is set to 0, or the vertical data is ignored), thereby obtaining a two-dimensional sampling point.
- the time of the true value data and the point cloud is aligned. Further, when the true value data and the point cloud are projected as two-dimensional data, the time of the two-dimensional true value data and the two-dimensional point cloud is aligned.
- the true value data contains A frames from the first moment to the second moment, A is an integer and A>0; the point cloud contains B frames from the third moment to the fourth moment, B is an integer and B>0.
- the true value of the frame closest to it in timestamp can be found.
- the true value data and the point cloud are aligned in time, so that the point cloud at a certain moment can find a frame of true value that is closest in time, which can improve the accuracy of matching and further improve the accuracy of the point cloud test.
- the coordinates of the true value data and the point cloud are aligned.
- the true value data and the point cloud are obtained by a true value system and DUT detection installed on the vehicle, respectively, and the origin of the true value data and the point cloud can be converted to the rear axle center of the vehicle.
- the above implementation can improve the accuracy of matching, thereby improving the accuracy of point cloud testing.
- the two-dimensional truth data includes a plurality of truth frames
- the two-dimensional point cloud includes a plurality of point cloud frames
- Match the 2D point cloud with the 2D true value data to obtain a matching result set including:
- a matching result subset is obtained according to the range of at least one truth frame and the positions of multiple sampling points in the first point cloud frame.
- the first point cloud frame belongs to the plurality of point cloud frames, and the timestamps of the first point cloud frame and the first true value frame are the same.
- the matching result subset belongs to the matching result set.
- a matching method is introduced by taking the matching of the first point cloud frame as an example.
- the true value data is projected to obtain two-dimensional true value data, and a true value frame (or two-dimensional true value frame) is established.
- the two-dimensional true value data contains data at multiple moments. For a frame of two-dimensional true value data at a certain moment, matching is performed based on the position of the truth value frame and the position of the sampling point in the two-dimensional point cloud at the same moment. In this way, the true value and point cloud at the same moment can be matched, thereby improving the test accuracy.
- the following situations may occur during matching: for a certain sampling point, it may fall into one or more true value boxes, or may not fall into any true value box; and for a certain true value box, its range may contain one or more sampling points, or may not contain the sampling point.
- At least one truth box includes a first truth box corresponding to a first volume target, and the first volume target belongs to at least one volume target.
- the first sampling point belongs to the matching sampling point. Further, the first sampling point matches the true value of the first object.
- the second sampling point belongs to an unmatched sampling point
- the true value corresponding to the first true value frame is an unmatched true value.
- the classification of the matching results is explained by taking the first truth box, the first sampling point, and the second sampling point as examples.
- the matched sampling point is the sampling point that successfully matches the true value of the volume target.
- the unmatched sampling point is the point cloud that does not successfully match the true value of the volume target.
- the unmatched true value is the true value that does not successfully match any sampling point. It is not difficult to see that the number of matched point clouds is usually positively correlated with the quality of the point cloud, and the number of unmatched point clouds and the number of unmatched true values are negatively correlated with the quality of the point cloud. Therefore, the classification of the matching results preliminarily reflects the accuracy of the point cloud, which is conducive to the subsequent classification test of the matching results of different categories, and improves the richness and accuracy of the point cloud test.
- Matching the two-dimensional point cloud with the two-dimensional truth data to obtain a matching result set also includes:
- the true value of the volume target matching the third sampling point is determined according to the position between the third sampling point and the true values of the volume targets corresponding to the at least two true value frames.
- the above implementations illustrate how to determine the true value of the volume target matched by the sampling point when the sampling point falls into multiple true value boxes. In this way, the matching relationship between the point cloud and the true value can be clarified, and the accuracy of the point cloud test can be improved.
- the position between the third sampling point and at least two truth value frames is determined Determine the true value of the volume target that matches the third sampling point, including:
- a point pair is established between the true value of the volume target corresponding to at least two truth value frames and the third sampling point, a distance matrix is constructed according to the point pair, the distance between the true value and the third sampling point is obtained, and the true value with the closest distance is taken as the true value matching the third sampling point.
- the distance relationship between the sampling points and the true value can be determined more accurately, the true value of the volume target matching the sampling points can be determined, and the accuracy of the point cloud test can be improved.
- obtaining true value data and a point cloud includes:
- the initial truth value and the initial point cloud are preprocessed to obtain the truth value data and the point cloud.
- the preprocessing may include one or more of the following processes: time alignment (or timestamp alignment), coordinate conversion, and format conversion. Preprocessing can improve the correspondence between the truth value data and the point cloud, reduce the complexity of matching, and improve the efficiency of point cloud testing.
- test items such as accuracy, false alarms, and missed detections of the point cloud are evaluated through a set of matching results.
- the method further includes:
- the accuracy evaluation data about the DUT is obtained, wherein the accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy and height accuracy.
- obtaining accuracy evaluation data about the DUT according to the matching sampling points in the matching result set includes:
- the number of matching sampling points about the fourth body target is obtained.
- the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0.
- the distance measurement accuracy of the DUT when detecting the second target can be evaluated through N sampling points and M corner points.
- the N sampling points include the nearest sampling point
- the M corner points include the nearest corner point in the horizontal direction.
- “nearest” refers to the distance between the point and a reference point or a reference device.
- the reference point may be the point where the DUT is located.
- the nearest sampling point is the sampling point that is closest to the DUT among the N sampling points
- the nearest corner point in the horizontal direction is the corner point that is closest to the DUT in the horizontal direction among the M corner points.
- the ranging accuracy includes a lateral ranging accuracy with respect to the second object, and the lateral ranging accuracy with respect to the second object is related to a lateral distance between the nearest sampling point and the DUT, and a lateral distance between the nearest lateral corner point and the DUT.
- DUT can also be replaced by a vehicle, a rear axle center of a vehicle, or a true value system.
- the lateral ranging accuracy ⁇ x of the second body target satisfies the following formula:
- Xpi is the lateral distance between the nearest sampling point and the DUT
- Xcj is the lateral distance between the nearest lateral corner point and the DUT.
- the N sampling points include the nearest sampling point
- the M corner points include the radially nearest corner point.
- “nearest” refers to the distance between the point and a preset point.
- the preset vertex may be, for example, a DUT.
- the nearest sampling point is the sampling point that is closest to the DUT among the N sampling points
- the radially nearest corner point is the corner point that is closest to the DUT in radial distance among the M corner points.
- the ranging accuracy includes a longitudinal ranging accuracy with respect to the second object, and the longitudinal ranging accuracy with respect to the second object is related to a radial distance between a nearest sampling point and the DUT and a radial distance between a radial nearest corner point and the DUT.
- the longitudinal ranging accuracy ⁇ d of the second target satisfies the following formula:
- Dpi is the radial distance between the nearest sampling point and the DUT
- Dck is the radial distance between the radial nearest corner point and the DUT.
- the speed measurement accuracy includes speed measurement accuracy with respect to a third-body target
- the matching sampling points include K sampling points that match the true value of the third-body target, where K is an integer and K>0;
- the K sampling points include the strongest sampling point.
- the velocity measurement accuracy of the third-body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third-body target.
- the above embodiment describes a method for determining the speed measurement accuracy.
- the speed accuracy ⁇ v can be indicated by the absolute value of the radial speed error between the strongest point in the matching point and the reference true value.
- the speed accuracy ⁇ v satisfies the following formula:
- Vpi is the radial velocity of the strongest sampling point
- Vt is the radial velocity of the true value of the third body target.
- the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,..., R pK .
- the RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
- R pi max(R p1 ,R p2 ,R p3 ,...,R pK )
- the true radial velocity of the third body target may be replaced by the radial velocity of the third body target.
- unmatched sampling points can be used for false alarm judgment.
- a false alarm is a time when a target does not exist but the detection device judges that there is a target and outputs a point cloud under certain circumstances.
- a false alarm may correspond to a point cloud that does not match the true value.
- the unmatched sampling points in the point cloud frame can be tracked, and a multi-frame association method is used to determine whether there is a false alarm in the point cloud. In this way, the unmatched sampling points can be tracked in subsequent point cloud frames, which can reduce the false alarm judgment error caused by point cloud flickering, improve the accuracy of false alarm judgment, and improve the accuracy of point cloud testing.
- the two-dimensional point cloud includes a plurality of continuous point cloud frames
- the matching set includes unmatched sampling points
- the method further includes:
- the plurality of continuous point cloud frames include the second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;
- the false alarm targets in the point cloud are determined, including:
- point cloud clusters in the Q point cloud frames are determined
- False alarm targets in a plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
- Q can be a fixed number or a non-fixed number.
- the testing device clusters the unmatched point cloud to obtain multiple point cloud clusters, and each point cloud cluster is assigned an initial life value.
- the point cloud frame is matched with multiple subsequent point cloud frames. If there is a point cloud cluster matching it in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; repeat the matching of multiple point cloud frames. If the life value of the point cloud cluster reaches the first threshold, the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster reaches the second threshold or is lower than the third threshold, the point cloud cluster does not form a false alarm target, and the point cloud cluster can be discarded.
- the above implementation method clusters the unmatched sampling points and tracks the unmatched point clouds in the form of point cloud clusters, which not only reduces the complexity of matching, but also greatly improves the reliability and availability of false alarm judgment and improves the accuracy of point cloud testing.
- reaching the first threshold may be higher than or equal to the first threshold, which is subject to specific design. The same is true for the second threshold and the third threshold.
- the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the matching frame can enclose the point cloud in the cluster.
- the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish the association between the frames. If there is a point cloud cluster frame in the next point cloud frame that successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases.
- the unmatched point cloud may also be used to determine a false alarm rate.
- the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
- the false alarm rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the calculation of false alarm targets
- n false is the number of frames with false alarm targets.
- the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, a target exists but the radar judges that there is no target and does not output a point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
- the missed detection of the volume target when judging missed detection, it can be determined whether the volume target is blocked. If the volume target is blocked, the missed detection of the volume target does not constitute a valid missed detection. In this way, the missed detection judgment error caused by the occlusion of the volume target can be reduced, the accuracy of missed detection judgment can be improved, and the accuracy of point cloud testing can be improved.
- the two-dimensional point cloud includes a third point cloud frame
- the matching result set includes an unmatched true value corresponding to the third point cloud frame
- the method also includes:
- the occluded volume targets in the suspected missed targets in the third point cloud frame are filtered to determine the missed targets contained in the third point cloud frame.
- the testing device determines the suspected missed detection targets according to the unmatched true value, removes the obscured body targets from the suspected missed detection targets according to the occlusion relationship, and reduces the missed detection judgment error caused by the occlusion of the body targets.
- determining the obscured volume target according to a field of view relationship between at least one volume target and a radar includes:
- Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
- V is an integer and V>0, wherein the occluded corner points are corner points where the lines connecting the corner points intersect with the edges of other objects.
- the fifth object is an occluded object, it satisfies the following two conditions: 1 V corner points of the fifth object intersect with the DUT, V is an integer and V>0; 2
- the number of valid edges in the fifth object is greater than or equal to the fourth threshold.
- the four thresholds may be predefined or pre-set.
- the fourth threshold may be 4, or the fourth threshold may be 1.
- the valid edge may be determined in the following manner: for any corner point or any edge corner point (edge corner point refers to a corner point located on an edge) in the fifth body target, if the line connecting the corner point (or the edge corner point) and the DUT intersects on any edge of the fifth body target, the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner point on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, the first edge is a valid edge.
- the area corresponding to the unmatched true value can be tracked in the point cloud frame, and a multi-frame association method can be used to determine whether the volume target is missed.
- the unmatched true value can be tracked in subsequent point cloud frames, which can reduce the missed detection judgment error caused by point cloud flickering, improve the accuracy of false alarm judgment, and enhance the accuracy of point cloud testing.
- the volume target is determined to be a missed detection target.
- the unmatched true value may also be used to determine the missed detection rate.
- the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
- the missed detection rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the calculation of missed targets
- n_lose is the number of missed point cloud frames
- an embodiment of the present application provides a point cloud testing device, the point cloud testing device comprising a data acquisition module and a data matching module, wherein:
- the data acquisition module is used to obtain true value data and point cloud.
- the true value data is the true value of the volume target
- the point cloud is the detection result obtained by the DUT on the volume target.
- the detection result includes sampling points.
- the data matching module is used to match the point cloud and the true value data to obtain a matching result set, which includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the number of volume targets may be one or more.
- the number of volume targets is described as at least one below.
- the data matching module is used to:
- the point cloud is matched with the three-dimensional matching box to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the data matching module is used to:
- the two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the data matching module is used to:
- Project the point cloud to obtain a two-dimensional point cloud including:
- the time of the true value data and the point cloud is aligned. Further, when the true value data and the point cloud are projected as two-dimensional data, the time of the two-dimensional true value data and the two-dimensional point cloud is aligned.
- the coordinates of the true value data and the point cloud are aligned.
- the two-dimensional truth data includes a plurality of truth frames
- the two-dimensional point cloud includes a plurality of point cloud frames
- the data matching module is also used to:
- a matching result subset is obtained according to a range of at least one true value frame and positions of multiple sampling points in a first point cloud frame, wherein the first point cloud frame belongs to multiple point cloud frames, the first point cloud frame and the first true value frame have the same timestamp, and the matching result subset belongs to a matching result set.
- the at least one truth box includes a first truth box corresponding to a first volume target, and the first volume target belongs to the at least one volume target;
- the first point cloud frame includes the first sampling point and the first sampling point falls into the first true value frame, the first sampling point belongs to the matching sampling point, and the first sampling point matches the true value of the first volume target;
- the second sampling point belongs to an unmatched sampling point
- the true value corresponding to the first true value frame is an unmatched true value.
- the number of at least one truth box is greater than or equal to 2
- the data matching module is also used to:
- the true value of the volume target matching the third sampling point is determined according to the position between the third sampling point and the true values of the volume targets corresponding to the at least two true value frames.
- the data matching module is further configured to:
- a point pair is established between the true value of the volume target corresponding to at least two truth value frames and the third sampling point, a distance matrix is constructed according to the point pair, the distance between the true value and the third sampling point is obtained, and the true value with the closest distance is taken as the true value matching the third sampling point.
- the data acquisition module is further configured to:
- the initial truth value and the initial point cloud are preprocessed to obtain the truth value data and the point cloud.
- the preprocessing may include one or more of the following processes: time alignment, coordinate conversion, and format conversion. Preprocessing can improve the correspondence between the truth value data and the point cloud, reduce the complexity of matching, and improve the efficiency of point cloud testing.
- the point cloud testing device further includes a data calculation module, which is used to evaluate the accuracy, false alarms, and missed detections of the point cloud through a matching result set.
- the point cloud testing device further includes a data calculation module, which is used to obtain accuracy evaluation data about the DUT based on the matching sampling points in the matching result set.
- the accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy, and height accuracy.
- the data calculation module is further used to:
- the number of matching sampling points about the fourth body target is obtained.
- the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0.
- the data calculation module is also used to evaluate the ranging accuracy of the DUT when detecting the second body target based on the N sampling points and the M corner points.
- the N sampling points include the nearest sampling point
- the M corner points include Furthermore, the ranging accuracy includes the lateral ranging accuracy with respect to the second object, and the lateral ranging accuracy with respect to the second object is related to the lateral distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
- the lateral ranging accuracy ⁇ x of the second body target satisfies the following formula:
- Xpi is the lateral distance between the nearest sampling point and the DUT
- Xcj is the lateral distance between the nearest lateral corner point and the DUT.
- the N sampling points include the nearest sampling point
- the M corner points include the radial nearest corner point
- the ranging accuracy includes the longitudinal ranging accuracy with respect to the second body target
- the longitudinal ranging accuracy with respect to the second body target is related to the radial distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
- the longitudinal ranging accuracy ⁇ d of the fourth target satisfies the following formula:
- Dpi is the radial distance between the nearest sampling point and the DUT
- Dck is the radial distance between the radial nearest corner point and the DUT.
- the speed measurement accuracy includes speed measurement accuracy with respect to a third-body target
- the matching sampling points include K sampling points that match the true value of the third body target, where K is an integer and K>0;
- the K sampling points include the strongest sampling point.
- the velocity measurement accuracy of the third-body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third-body target.
- the above embodiment describes a method for determining the speed measurement accuracy.
- the speed accuracy ⁇ v can be indicated by the absolute value of the radial speed error between the strongest point in the matching point and the reference true value.
- the speed accuracy ⁇ v satisfies the following formula:
- Vpi is the radial velocity of the strongest sampling point
- Vt is the radial velocity of the true value of the third body target.
- the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,..., R pK .
- the RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
- R pi max(R p1 ,R p2 ,R p3 ,...,R pK )
- the true radial velocity of the third body target may be replaced by the radial velocity of the third body target.
- unmatched sampling points may be used for false alarm judgment.
- the point cloud testing device further includes a data calculation module, and the data calculation module is further used to:
- the plurality of continuous point cloud frames include the second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;
- the data calculation module is also used for:
- point cloud clusters in the Q point cloud frames are determined
- False alarm targets in a plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
- the testing device clusters the unmatched point cloud to obtain a plurality of point cloud clusters, and each point cloud cluster is assigned an initial life value.
- the point cloud frame is matched with a plurality of subsequent point cloud frames. If there is a point cloud cluster matching it in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; and the matching of multiple point cloud frames is repeated in this way. If the life value of the point cloud cluster reaches the first threshold, the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster reaches the second threshold or is lower than the third threshold, the point cloud cluster does not form a false alarm target, and the point cloud cluster can be optionally discarded.
- the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the matching frame can enclose the point cloud in the cluster.
- the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish the association between the frames. If there is a point cloud cluster frame in the next point cloud frame that successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases.
- the unmatched point cloud may also be used to determine a false alarm rate.
- the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
- the false alarm rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the calculation of false alarm targets
- n false is the number of frames with false alarm targets.
- the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, a target exists but the radar judges that there is no target and does not output a point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
- the two-dimensional point cloud includes a third point cloud frame
- the matching result set includes an unmatched true value corresponding to the third point cloud frame
- the data calculation module is also used for:
- the occluded volume targets in the suspected missed targets in the third point cloud frame are filtered to determine the missed targets contained in the third point cloud frame.
- the data calculation module is further used to calculate
- Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
- Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
- V is an integer and V>0, wherein the occluded corner points are corner points where the lines connecting the corner points intersect with the edges of other objects.
- the fifth body target is an occluding target, it satisfies the following two conditions: 1 The lines connecting the V corner points of the fifth body target and the DUT intersect with the edges of other body targets, V is an integer and V>0; 2 The number of valid edges in the fifth body target is greater than or equal to the fourth threshold.
- the fourth threshold may be predefined or pre-set. For example, the fourth threshold may be 4, or the fourth threshold may be 1.
- the valid edges may be determined as follows: for any corner point or any edge corner point (edge corner point refers to a corner point located on an edge) in the fifth body target, if the line connecting the corner point (or the edge corner point) and the DUT intersects with any edge of the fifth body target, the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner points on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, the first edge is a valid edge.
- the area corresponding to the unmatched true value can be tracked in the point cloud frame, and a multi-frame association method can be used to determine whether the volume target is missed.
- the volume target is determined to be a missed detection target.
- the unmatched true value may also be used to determine the missed detection rate.
- the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
- the missed detection rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the calculation of missed targets
- n_lose is the number of missed point cloud frames
- an embodiment of the present application provides a chip, the chip comprising a processor.
- the processor calls a computer program or instruction, the method described in any one of the first aspects is executed. That is, the processor is used to implement the method described in any one of the first aspects.
- the chip further includes a communication interface, where the communication interface is used to receive and/or send data, and/or the communication interface is used to provide input and/or output for the processor.
- the chip may also include a memory, which may be used to store computer programs or instructions.
- the memory may be located outside the processor, or may be integrated with the memory.
- an embodiment of the present application provides a computing device, which includes a processor; when the processor calls a computer program or instruction in a memory, the method described in any one of the first aspects above is executed.
- the computing device further includes a communication interface, where the communication interface is used to receive and/or send data, and/or the communication interface is used to provide input and/or output for the processor.
- the above embodiment is described by taking a processor (or general-purpose processor) that executes the method by calling a computer specification as an example.
- the processor can also be a dedicated processor, in which case the computer instructions have been pre-loaded in the processor.
- the processor can also include both a dedicated processor and a general-purpose processor.
- the computing device may further include a memory, which may be used to store computer programs or instructions.
- the memory may be located outside the processor, or may be integrated with the memory.
- an embodiment of the present application provides a point cloud testing system, which includes a data preprocessing module, a data matching module and a data calculation module.
- the point cloud test is used to implement any method described in the first aspect.
- the point cloud testing system also includes a data statistics module, which is used to count the matching results.
- the point cloud test system further includes a data storage module, which is used to store the initial true value data and the initial point cloud. Furthermore, it is also used to store the true value data, the point cloud, the matching result set, the test item results, etc.
- the point cloud test system also includes a test vehicle, on which a truth system and a DUT are installed, wherein the truth system is used to collect initial truth data, and the DUT is used to collect initial point clouds.
- the test vehicle can be replaced by a movable terminal, such as a drone, a robot or other transportation tool or an intelligent terminal.
- an embodiment of the present application provides a computer-readable storage medium, which is used to store instructions or computer programs. When the instructions or computer programs are executed, the method described in any one of the first aspects above is implemented.
- the present application provides a computer program product, the computer program product comprising computer instructions or a computer program,
- the computer program product may be a software installation package or an image package.
- the computer program product may be downloaded and executed on a computing device.
- beneficial effects of the technical solutions provided in the second to seventh aspects of the present application can refer to the beneficial effects of the technical solution of the first aspect, and will not be repeated here.
- FIG1 is a schematic diagram of a point cloud testing technology based on a point target
- FIG2 is a schematic diagram of a scene for collecting the true value of a volume target and a point cloud of a volume target provided by an embodiment of the present application;
- FIG3 is a schematic diagram of the architecture of a point cloud testing system provided in an embodiment of the present application.
- FIG4 is a schematic diagram of a flow chart of a point cloud testing method provided in an embodiment of the present application.
- FIG5 is a schematic diagram of true value data and point cloud provided in an embodiment of the present application.
- FIG6 is a schematic diagram of two-dimensional true value data provided by an embodiment of the present application.
- FIG7 is a schematic diagram of a two-dimensional point cloud provided in an embodiment of the present application.
- FIG8 is a schematic diagram of a point cloud frame and a true value frame provided in an embodiment of the present application.
- FIG9 is a schematic diagram of a truth value box provided in an embodiment of the present application.
- FIG10 is a schematic diagram of a matching result provided in an embodiment of the present application.
- FIG11 is a flow chart of another point cloud testing method provided in an embodiment of the present application.
- FIG12 is a schematic diagram of a three-dimensional truth value frame provided in an embodiment of the present application.
- FIG13 is a schematic diagram of a matching result provided in an embodiment of the present application.
- FIG14 is a schematic diagram of a possible number of matching sampling points provided in an embodiment of the present application.
- FIG15 is a schematic diagram of the distance between a sampling point and a DUT provided in an embodiment of the present application.
- FIG16 is a schematic diagram of the distance between another sampling point and the DUT provided in an embodiment of the present application.
- FIG17 is a schematic diagram of a possible unmatched point cloud provided by an embodiment of the present application.
- FIG18 is a flow chart of another false alarm determination method provided in an embodiment of the present application.
- FIG19 is a schematic diagram of the position of a body target provided in an embodiment of the present application.
- FIG20 is a schematic diagram of the structure of a point cloud testing device provided in an embodiment of the present application.
- FIG. 21 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application.
- the detection device can output point clouds, including but not limited to radar or laser radar, etc.
- the radar can be a millimeter wave radar, a centimeter wave radar, etc.
- fusion detection device a device that integrates radar and camera at the same time (fusion detection device) can also output point clouds, and this fusion detection device also falls within the scope of the detection device of this application.
- DUT Device under test
- True value refers to the true value of the measured target under certain time and space (or position, state) conditions.
- the true value is the true value of a variable itself, usually an ideal concept. In the embodiment of the present application, the true value can be a reference true value.
- Volume target can be regarded as an object with at least two of length, height and width, as the test DUT When the DUT detects a solid target, multiple sampling points can usually be obtained.
- the body target includes but is not limited to one or more of a sphere, a cuboid (including a cube), a plate, a cylinder, or a round top hat. It is not difficult to see that when the detection device detects the body target, it can detect different surfaces of the body target at different viewing angles. In some scenarios, when the detection device detects the body target, the body target has characteristics such as posture and size, so that it is closer to objects in production and living environments (including living organisms).
- the quality of the point cloud represents the detection capability of the detection device.
- the test of the point cloud output by the detection device (hereinafter referred to as point cloud test) has always been the key test item of the detection device in the industry.
- FIG. 1 it is a schematic diagram of a point cloud test technology based on point targets.
- the radar under test (exemplary DUT) is placed on a rotatable turntable and placed in a microwave darkroom (the ground, walls, and ceiling are all equipped with absorbing materials).
- a radar target simulator in the microwave darkroom, which can simulate point targets of different distances and speeds.
- the radar under test detects the point target (the double-headed arrows shown in Figure 1 represent the radar signal emission and its echo) to evaluate the long-range measurement and accuracy of the radar under test.
- point cloud testing technology based on point targets has become increasingly mature.
- point targets are quite different from actual targets.
- Actual targets can be represented by volume targets.
- the detection device detects a volume target, it will output multiple sampling points.
- volume target point clouds there is basically no automated testing solution for volume target point clouds. The industry urgently needs to test the point cloud output by the DUT for volume targets.
- an embodiment of the present application provides a point cloud testing method and device.
- the embodiment of the present application matches the true value of the volume target with the point cloud of the volume target to obtain the matching situation between the point cloud of the volume target output by the DUT and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device.
- a method of obtaining the true value of a volume target and a point cloud of the volume target is first introduced as an example below.
- FIG 2 is a schematic diagram of a scene for collecting the true value of a volume target and a point cloud of a volume target provided in an embodiment of the present application, and a device to be tested is loaded on a vehicle.
- the vehicle is placed in an environmental test field, and further, the vehicle can travel in the environmental test field.
- One or more volume targets are also set in the environmental test field, such as volume target T1, volume target T2, volume target T3 and volume target T4 shown in Figure 2.
- the device to be tested can collect an initial point cloud (or original point cloud), which includes a point cloud obtained by detecting the aforementioned volume target.
- the vehicle further includes a truth system, which can collect initial truth data, and the truth accuracy of the initial truth data meets the preset accuracy requirements.
- a truth system includes a laser radar, or a camera that can obtain depth data.
- the aforementioned vehicle is an exemplary device for carrying the detection device, which can be replaced by other mounting platforms, or moving devices, such as logistics robots, drones and other means of transportation.
- FIG. 3 is a schematic diagram of the architecture of a point cloud testing system provided by an embodiment of the present application.
- the point cloud testing system 30 includes a point cloud testing device 301.
- the point cloud testing device 301 has computing capabilities and can calculate the true value and volume target of the point cloud testing device 301.
- the target point cloud is matched to obtain the matching situation between the point cloud of the volume target output by the DUT and the true value of the volume target.
- the point cloud test device 301 includes a data matching module, and the above matching operation can be completed by the data matching module.
- the test device also includes one or more of a data calculation module, a data statistics module, and a visualization module.
- the data calculation module and the data statistics module are used to evaluate the detection capability of the device under test based on the matching results.
- the visualization module is used to output a test report, and the test report can indicate the detection capability of the device under test.
- the point cloud testing system 30 further comprises a data preprocessing module.
- the data preprocessing module can preprocess the data collected by the test vehicle.
- the data collected by the test vehicle includes an initial point cloud and optionally also includes true value data (as shown in FIG. 2 ).
- the test vehicle is loaded with a DUT, and the DUT can detect the target to be tested set in the test field, and the target to be tested is a body target.
- a data storage module is provided on the test vehicle, and the data collected by the test vehicle can be stored in the data storage module.
- the data preprocessing module can obtain the data collected by the test vehicle from the data storage module, for example, by communication, or by copying.
- the data preprocessing module may be included in the point cloud testing device 301.
- the data preprocessing module may also be located outside the point cloud testing device 301.
- the data preprocessing module can be located in a data center (DC), and the point cloud testing device 301 can obtain the preprocessed point cloud or the true value data from the DC.
- DC data center
- the names of the devices and modules in the embodiments of the present application are only examples. During the specific implementation process, the names of the devices, modules, etc. can be replaced arbitrarily.
- Figure 4 is a flow chart of a point cloud testing method provided by the embodiment of the present application.
- the method can be implemented based on the system shown in Figure 3.
- the point cloud testing method shown in FIG4 may include one or more steps from step S401 to step S404. It should be understood that for the convenience of description, the description is given in the order of S401 to S404, and it is not intended to limit the execution to the above order. The embodiment of the present application does not limit the execution order, execution time, execution number, etc. of the above one or more steps. S401 to step S404 are as follows:
- Step S401 The point cloud testing device obtains true value data and point cloud.
- the point cloud testing device is a device with computing capabilities, such as a server, a personal computer (PC), or an intelligent terminal.
- the point cloud testing device When the point cloud testing device is implemented by a server, the number of servers used to implement its functions may be one or more (such as a server cluster).
- the point cloud testing device may be implemented by a software functional unit.
- the point cloud testing device may be implemented by a virtual machine, a container, a cloud, etc.
- a virtual machine is a computer system with complete hardware system functions and running in an isolated environment simulated by software.
- a container is an isolated environment obtained by packaging applications and application dependency packages.
- the cloud is a software platform that uses application virtualization technology, which enables one or more software and applications to be developed and run in an independent virtualized environment.
- the true value data is the true value (or reference true value) of the volume target.
- the true value data can be obtained by detecting the volume target by a true value system.
- the true value data can also be annotated by a user or corrected by an artificial intelligence program to reduce the error between the true value data and the actual state of the volume target.
- a point cloud is a collection of points (i.e., sampling points), which contains one or more sampling points.
- a sampling point in the collection usually represents a set of data, which can indicate features such as coordinates, distance, intensity, speed, reflectivity, or color.
- the point cloud is the detection result obtained by the DUT detecting the volume target.
- the DUT can transmit a detection signal and receive an echo of the detection signal, which can be processed to obtain a point cloud.
- the aforementioned true value data and point cloud are both data about volume targets.
- the number of volume targets can be one or more.
- the number of volume targets is described as at least one. It should be understood that when the detection device detects the field of view, During the process, at certain moments, the field of view of the detection device may not cover or not completely cover the volume target due to the angle, movement route, etc. However, the above special circumstances do not affect the detection of the volume target by the detection device when its field of view covers the volume target.
- the coordinates of the truth data and the point cloud are aligned.
- the truth data and the point cloud are obtained by a truth system and a DUT detection installed on the vehicle, respectively, and the origin of the truth data and the point cloud can be converted to the rear axle center of the vehicle.
- Figure 5 is a schematic diagram of a true value data and a point cloud provided by an embodiment of the present application, wherein the true value data is shown in part (a) of Figure 5, and the point cloud is shown in part (b) of Figure 5, and the coordinate axes of the two are aligned, that is, they have the same origin. Furthermore, the directions of their coordinate axes are also aligned. Aligning the coordinate axes can reduce the complexity of calculation, improve the accuracy of matching, and thus improve the accuracy of point cloud testing.
- the true value data is the reference true value of the volume target, and the true value data can also contain multiple points.
- Figure 5 represents the points in the true value as solid black dots, and represents the points in the point cloud obtained by the DUT as hollow dots.
- the contour line of the volume target is represented by a dotted line in Figure 5.
- the contour line of the volume target may not necessarily exist in the true value and/or point cloud.
- the time of the true value data and the point cloud is aligned.
- the true value data includes A frames from the first moment to the second moment, A is an integer and A>0;
- the point cloud includes B frames from the third moment to the fourth moment, B is an integer and B>0.
- the frame rates of the true value data and the point cloud may be the same or different.
- the frame rate is usually used to describe the number of frames per unit time, and each frame may be data obtained when the detection device completes a detection of the field of view.
- the frame rate of the point cloud may be 120 frames per second, and similarly, the frame rate of the true value data may also be 120 frames per second.
- the frame rate of the point cloud may be not less than 100 frames per second.
- the true value data and the point cloud are preprocessed.
- the data preprocessing includes time alignment, coordinate conversion, or format conversion of the point cloud and the true value data, and the preprocessed data is provided to the point cloud testing device for point cloud testing.
- the preprocessing may be performed by a point cloud testing device.
- the point cloud testing device preprocesses the initial true value data and the initial point cloud to obtain the aforementioned true value data and point cloud.
- the preprocessing can be performed by other modules or devices.
- the preprocessing module provides the initial true value data and the initial point cloud to the point cloud testing device after preprocessing, and accordingly, the point cloud testing device can obtain the true value data and the point cloud.
- Step S402 The point cloud testing device projects the true value data to obtain two-dimensional true value data.
- projection refers to projecting the true value data onto a plane.
- FIG. 6 is a schematic diagram of two-dimensional true value data provided in an embodiment of the present application.
- the two-dimensional true value data shown in Figure 6 is obtained by projecting the true value data shown in part (a) of Figure 5.
- Point F1 is projected onto the XY plane to obtain point F1' ( x1 , y1 ).
- the data on its Z-axis dimension is discarded or set to a preset value (such as 0).
- the points after projection correspond to the points before projection one by one. That is, the projection process does not generate new points.
- F1' in a two-dimensional true value data the corresponding point F1 can be found in the true value data.
- the point cloud testing device projects the true value data onto a horizontal plane.
- a horizontal plane refers to a relatively horizontal plane.
- a three-dimensional Cartesian coordinate system is established based on the origin, and three mutually perpendicular axes are drawn through the origin, namely: the x-axis (horizontal axis), the y-axis (longitudinal axis), and the z-axis (vertical axis).
- the three-dimensional Cartesian coordinate system includes three planes, namely, the X-Y plane, the Y-Z plane, and the X-Z plane.
- the horizontal plane can be one of the planes, such as the X-Y plane.
- the origin, X-axis, Y-axis and Z-axis can be defined by the user or manufacturer.
- the truth value and the point cloud are obtained by the truth value system and DUT detection installed on the vehicle, respectively.
- the origin can be the center of the rear axle of the vehicle, the Y-axis can be the front direction of the vehicle, and the X-axis can be the side direction of the vehicle.
- the above parameters can be defined in other ways during the specific implementation process.
- Cartesian coordinate system is used to list the dimensions for ease of understanding.
- the coordinate system may also be a spherical coordinate system, a polar coordinate system, etc. This application does not strictly limit the coordinate system, projection plane, etc. used for projection.
- the two-dimensional true value data obtained by projection may include multiple frames.
- the frames included in the two-dimensional true value data are referred to as true value frames in each embodiment of the present application.
- the two-dimensional true value data is obtained by projecting the true value data, it also includes multiple frames at multiple moments, which are referred to as original true value frames for ease of distinction.
- Step S403 The point cloud testing device projects the point cloud to obtain a two-dimensional point cloud.
- FIG. 7 is a schematic diagram of a two-dimensional point cloud provided in an embodiment of the present application.
- the two-dimensional point cloud shown in FIG. 7 is obtained by projecting the point cloud shown in part (b) of FIG. 5 .
- L1 is projected onto the XY plane to obtain point L1' (x 2 , y 2 ).
- the data on its Z-axis dimension is discarded or set to a preset value (such as 0).
- the point cloud testing device projects the point cloud onto a horizontal plane to obtain a two-dimensional point cloud.
- the horizontal plane is, for example, an X-Y plane.
- the projected two-dimensional point cloud may include multiple frames.
- the embodiments of the present application refer to the frames included in the two-dimensional point cloud as point cloud frames.
- the two-dimensional point cloud is obtained by projecting the point cloud, it also includes multiple frames at multiple times, which are referred to as original point cloud frames for ease of distinction.
- the two-dimensional point cloud and the two-dimensional truth are time-aligned.
- Figure 8 is a schematic diagram of a possible point cloud frame and a truth frame provided in an embodiment of the present application
- the two-dimensional truth data includes truth frames such as truth frame #0, truth frame #1, truth frame #2, and truth frame #3 (the number is only an example)
- the two-dimensional point cloud includes point cloud frame #0, point cloud frame #1, point cloud frame #2, point cloud frame #3 and other point cloud frames (the number is only an example).
- the truth frame aligned with point cloud frame #0 in timestamp is truth frame #0
- the truth frame aligned with point cloud frame #1 in timestamp is truth frame #1, and so on for other cases.
- the above numbering is only an example and is not intended to be a limitation of the embodiments of the present application.
- the point cloud frame and the true value frame may not correspond one to one.
- the subsequent matching process can find the true value frame with the closest timestamp to the point cloud frame for matching.
- Step S404 The point cloud testing device matches the two-dimensional point cloud with the two-dimensional true value data to obtain a matching result set.
- Matching refers to the process of verifying whether the sampling point and the true value of the volume target can correspond (or be associated). For the sampling points in the two-dimensional point cloud, they are matched with the two-dimensional true value data to determine whether the sampling points can correspond (or be associated) to the true value of a certain volume target.
- the matching result set may include one or more of the following matching results: matched sampling points, unmatched sampling points, and unmatched true values, etc.
- the matched sampling points are sampling points that successfully match the true value of the volume target
- the unmatched sampling points are point clouds that do not successfully match the true value of the volume target
- the unmatched true value is the true value that does not successfully match any sampling point.
- the number of matched point clouds is usually positively correlated with the quality of the point clouds, and the number of unmatched point clouds is positively correlated with the quality of the point clouds.
- the number of unmatched true values is negatively correlated with the quality of the point cloud.
- the matching when matching the two-dimensional point cloud and the two-dimensional true value, the matching is performed sequentially by frame.
- the matching can be performed sequentially by true value frame, or sequentially by point cloud frame.
- the point cloud test device matches point cloud frame #0 with the true value frame at the same time (i.e., true value frame #0), and matches point cloud frame #1 with the true value frame at the same time (i.e., true value frame #1), and the rest of the point cloud frames are matched in the same way. It is understandable that if the frame rate of the two-dimensional point cloud is lower than the frame rate of the two-dimensional true value data, some true value frames may not be matched; if the frame rate of the two-dimensional point cloud is lower than the frame rate of the two-dimensional true value data, multiple point cloud frames may be matched to the same true value frame.
- the method of matching according to point cloud frames is mainly based on point cloud frames, which can avoid the occurrence of missing point cloud frames and facilitate the testing of the number of points and detection accuracy of the point cloud.
- the point cloud testing device matches the true value frame #0 with the point cloud frame at the same time (i.e., point cloud frame #0), and matches the true value frame #1 with the point cloud frame at the same time (i.e., point cloud frame #1), and the same goes for the remaining true value frames.
- Implementation method 1 when matching, use the two-dimensional true value of the volume target (that is, the true value of the volume target after projection) for matching.
- the sampling point in point cloud frame #0 for convenience of description, it is called sampling point P1
- the true value or a point in the true value
- the volume target or the distance is less than the preset matching distance threshold
- the sampling point P1 belongs to the matching sampling point.
- sampling point P2 If the sampling point in point cloud frame #0 (for convenience of description, it is called sampling point P2) does not coincide with the true value (or a point in the true value) of any volume target, or the distance with the true value (or a point in the true value) of any volume target is greater than the preset matching distance threshold, then the sampling point P2 belongs to the unmatched sampling point. If any of the sampling points in point cloud frame #0 does not successfully match a certain volume target (for convenience of distinction, it is called Target1), then Target1 belongs to the unmatched true value (or the unmatched true value under point cloud frame #0).
- Target1 for convenience of distinction, it is called Target1
- Implementation method 2 The point cloud testing device establishes a truth value frame according to the two-dimensional truth value data, and obtains a matching result according to the truth value frame and the sampling point.
- the matching result is obtained according to the position of the sampling point within the range of the truth value frame.
- the matching result is obtained according to the distance between the sampling point and the truth value frame.
- the size of the truth value frame can be designed according to requirements, for example, related to the size of the truth value of the volume target.
- the point cloud testing device determines the truth frame in the truth frame #0. According to the range of the truth frame and the position of the sampling point in the point cloud frame #0, a subset of matching results is obtained. Among them, the point cloud frame #0 and the truth frame #0 are timestamp aligned (or located at the same time), or the truth frame #0 is the closest truth frame to the point cloud frame #0, or the point cloud frame #0 is the closest point cloud frame to the truth frame #0.
- the number of truth frames is usually the same as the number of volume targets, and one truth frame corresponds to one volume target.
- Fig. 9 is a schematic diagram of a truth value frame provided by an embodiment of the present application, which is exemplified as a truth value frame in truth value frame #0.
- truth value frame C1 corresponds to body target T1
- truth value frame C2 corresponds to body target T2
- truth value frame C3 corresponds to body target T3
- truth value frame C4 corresponds to body target T4.
- the point cloud test device searches for sampling points in the corresponding point cloud frame that are in the true value frame, and the match is successful if the sampling points fall into the true value frame. Understandably, the following matching results may appear during matching: for a certain sampling point, it may fall into one or more true value frames, or it may not fall into any true value frame; and for a certain true value frame, its range may contain one or more sampling points, or it may not contain the sampling point.
- FIG. 10 is a schematic diagram of a matching result provided in an embodiment of the present application, which shows the matching result of point cloud frame #0, including the following three categories:
- Category 1 matching sampling points. For the first sampling point in point cloud frame #0, if the first sampling point falls into the first truth box (the first truth box corresponds to the first volume target), the first sampling point belongs to the matching sampling point, and the first sampling point matches the truth value of the first volume target (or matches the first volume target).
- the first sampling point is, for example, point P1, which falls into the truth box C1, that is, it matches the truth value of volume target T1 (or matches volume target T1); the first sampling point can also be point P3, which falls into the truth box C2, that is, it matches the truth value of volume target T2 (or matches volume target T2); the first sampling point can also be point P4, which falls into the truth box C3, that is, it matches the truth value of volume target T3 (or matches volume target T3).
- results shown in FIG10 above are only examples. In some scenarios, more or fewer categories of results may be obtained during matching, which will not be listed here one by one.
- the true value (or volume target) of the volume target matched by the third sampling point can be determined by the positional relationship between the third sampling point and the true value of the volume target.
- the positional relationship may be distance, inclusion, or overlap, etc.
- true values of the sampling points and volume targets used in determining the positional relationship may be projected (i.e., belonging to a two-dimensional point cloud and two-dimensional true value data, respectively), or may be unprojected (i.e., belonging to a point cloud and true value data).
- the point cloud testing device determines the true value of the volume target matching the third sampling point according to the position between the third sampling point and the true value of the volume target corresponding to the at least two truth value frames.
- the first point cloud frame and the third sampling point here are both for distinguishing and representing a certain quantity, and are not used as a limitation of order, importance, etc.
- the test device can determine the true value of the volume target matched by the sampling point in the following manner: establish a point pair (or corresponding point pair) with the true value of the volume target corresponding to at least two truth value frames and the third sampling point, construct a distance matrix based on the point pair, obtain the distance between the true value and the third sampling point, and use the true value with the closest distance as the true value matched with the third sampling point.
- the distance matrix By constructing the distance matrix, the distance relationship between the sampling point and the true value can be determined more accurately, the true value of the volume target matched with the sampling point can be determined, and the accuracy of the point cloud test can be improved.
- the point cloud test device can also evaluate the accuracy, false alarm, missed detection, etc. of the point cloud obtained by the DUT through the matching result set.
- the accuracy can include one or more of the number of point clouds, distance measurement accuracy, speed measurement accuracy, or height accuracy.
- the point cloud test device matches the true value of the volume target and the point cloud of the volume target to obtain a set of matching results between the point cloud of the volume target output by the DUT and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device. Moreover, by automatically comparing the true value of the volume target and the point cloud of the volume target to obtain the matching result, the evaluation error can be significantly reduced, and the test accuracy and test efficiency can be improved.
- both the true value data and the point cloud are processed into two-dimensional data, and the matching is performed based on the two-dimensional data.
- the amount of calculation during matching is saved, and the test efficiency is improved.
- the evaluation of the detection device mainly focuses on its distance measurement capability, speed measurement capability and angle resolution capability, which are related to the detection results.
- the data in the longitudinal and transverse directions are more relevant, so a 2D projection of the data can be used to test the quality of the point cloud output by the detection device without significant loss of accuracy.
- projecting the data onto the X-Y plane for matching can reduce the matching error caused by the low height accuracy and improve the accuracy of test items such as ranging and speed measurement.
- the above describes the point cloud test method for matching after projection.
- the matching can also be performed directly in three dimensions without projection.
- Figure 11 is a flow chart of another point cloud testing method provided in an embodiment of the present application.
- the method can be implemented based on the system shown in Figure 3.
- the point cloud testing method shown in FIG11 may include one or more steps from step S1101 to step S1103. It should be understood that for the convenience of description, the order from S1101 to S1103 is described here, and it is not intended to limit the execution to the above order. The embodiment of the present application does not limit the execution order, execution time, execution number, etc. of the above one or more steps. S1101 to step S1103 are as follows:
- Step S1101 The point cloud testing device obtains true value data and point cloud. See step S401 for details.
- the true value data may include multiple true value frames (or original true value frames), and the point cloud may include multiple point cloud frames (or original point cloud frames).
- the true value frame and the point cloud frame please refer to the above descriptions of the true value frame and the point cloud frame, but the point cloud frame and the true value frame in this embodiment are not projected.
- the true value frame #0 corresponds to the point cloud frame #0.
- FIG. 8 For details, please refer to the relevant description of FIG. 8.
- Step S1102 The point cloud testing device establishes a three-dimensional matching box based on the true value data.
- the number of 3D truth boxes is usually the same as the number of volume targets, and one 3D truth box corresponds to one volume target.
- Figure 12 is a schematic diagram of a three-dimensional truth box provided in an embodiment of the present application.
- the three-dimensional truth box is exemplified as a three-dimensional truth box in truth frame #0.
- truth box D1 truth box
- truth box D2 truth box
- truth box D3 truth box
- truth box D4 corresponding to body targets T1-T4 respectively.
- Step S1103 The point cloud testing device matches the point cloud with the three-dimensional matching box to obtain a matching result set.
- the matching result set includes at least one of the following three types of matching results: matching sampling points, unmatched sampling points, and unmatched true values.
- the point cloud testing device determines the three-dimensional true value frame in the true value frame #0. According to the range of the three-dimensional true value frame and the position of the sampling point in the point cloud frame #0, a matching result subset is obtained. Among them, the point cloud frame #0 and the true value frame #0 are time stamp aligned (or located at the same time), or the true value frame #0 is the closest true value frame to the point cloud frame #0, or the point cloud frame #0 is the closest point cloud frame to the true value frame #0.
- the point cloud test device searches for sampling points in the corresponding point cloud frame that are in the true value frame. If the sampling points fall into the true value frame, the match is successful. Understandably, the following matching results may appear during matching: for a certain sampling point, it may be included in one or more true value frames, or it may be included in any true value frame; and for a certain true value frame, its range may contain one or more sampling points, or it may not contain the sampling points.
- FIG. 13 is a schematic diagram of a matching result provided in an embodiment of the present application, which shows the matching result of point cloud frame #0, including the following three categories:
- the first sampling point For the first sampling point in point cloud frame #0, if the first sampling point is included in the first truth box (the first truth box corresponds to the first volume target), then the first sampling point belongs to the matching sampling point and the first sampling point matches the truth value of the first volume target (or matches the first volume target). As shown in FIG. 13 , the first sampling point, such as point P5, is included in the truth box D1, that is, it matches the truth value of volume target T1 (or matches volume target T1).
- results shown in FIG10 above are only examples. In some scenarios, more or fewer categories of results may be obtained during matching, which will not be listed here one by one.
- the point cloud testing device may also evaluate the accuracy, false alarms, missed detections, etc. of the point cloud obtained by the DUT through a matching result set.
- step S404 reference may also be made to the description in step S404 , but the point cloud frame and the true value frame in this embodiment are not projected.
- the point cloud test device matches the true value of the volume target and the point cloud of the volume target to obtain a set of matching results between the point cloud of the volume target output by the DUT and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device. Moreover, by automatically comparing the true value of the volume target and the point cloud of the volume target to obtain the matching result, the evaluation error can be significantly reduced, and the test accuracy and test efficiency can be improved.
- the point cloud is matched with the three-dimensional matching box, and the positional relationship between the point cloud and the volume target can be accurately calculated and the matching result can be obtained, and the accuracy of the point cloud test is high.
- the point cloud testing device can obtain a matching result set.
- the following describes a possible design for evaluating the point cloud of the DUT based on part or all of the matching results in the matching result set.
- matching sampling points can be used to perform accuracy testing on the DUT output point cloud.
- the point cloud test device obtains accuracy evaluation data about the DUT based on the matching sampling points in the matching result set.
- the accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy, and height accuracy. The following describes several test items separately:
- Test item 1 number of matching sampling points.
- the number of matching sampling points is the number of sampling points that match the true value of the volume target.
- the number of point clouds of the DUT can reflect the algorithm processing capability.
- the number of matching sampling points may be calculated in units of a single target. For example, taking the fourth target as an example, the point cloud testing device obtains the number of matching sampling points about the fourth target based on the number of sampling points in the matching sampling points that match the true value of the fourth target.
- calculation method 1 is: accumulating the number of sampling points that match the true value of the fourth body target in multiple point cloud frames.
- calculation method 2 is: listing the number of sampling points that match the true value of the fourth body target in each point cloud frame.
- calculation method 3 is: calculating the average value of the number of sampling points that match the true value of the fourth body target in multiple point cloud frames.
- Figure 14 is a schematic diagram of a possible number of matching sampling points provided by an embodiment of the present application.
- the truth box C1 (the truth box corresponding to the volume target T1) can match the sampling points in point cloud frame #0, point cloud frame #1, point cloud frame #2 and point cloud frame #3.
- the number of sampling points in the truth box C1 is 38; in point cloud frame #1, the number of sampling points in the truth box C1 is 39; in point cloud frame #2, the number of sampling points in the truth box C1 is 20; in point cloud frame #3, the number of sampling points in the truth box C1 is 15.
- the number of matching sampling points corresponding to the volume target T1 is 112.
- the number of matching sampling points corresponding to a volume target provided in an embodiment of the present application includes a sequence number, the ID of the volume target and the number of matching sampling points corresponding to it.
- the number of matching sampling points corresponding to volume target T1 is 112
- the number of matching sampling points corresponding to volume target T2 is 287.
- Table 1 the format, attributes, numbers, etc. of Table 1 are only examples.
- the number of matching sampling points can also be calculated based on multiple targets. For example, the number of matching sampling points of each volume target is accumulated to obtain the number of matching sampling points.
- the number of matching sampling points is described in a table form, and is not intended to limit the storage form, output form, and transmission form of the number of matching sampling points.
- the number of matching sampling points can also be indicated by other data formats, such as linked lists, heaps, stacks, database tables, objects, etc., which are not listed one by one here.
- other tables in this application are also exemplary data formats and are not used as strict limitations on the solution of this application.
- the ranging accuracy can include one or more of the lateral ranging accuracy, radial ranging accuracy, longitudinal ranging accuracy, etc.
- the ranging accuracy can reflect the accuracy of the DUT's position detection of the body target. The higher the accuracy, the more conducive it is to back-end function processing. For example, the higher the accuracy, the more conducive it is to improving the accuracy of the following functions: collision warning, identification of passable areas, etc.
- the ranging accuracy may be calculated on a single target basis. For example, taking the second target as an example, the point cloud testing device determines the ranging accuracy of the second target based on the sampling points that match the true value of the second target and the true value of the second target.
- the matching sampling points include N sampling points that match the true value of the second body target, where N is an integer and N>0.
- the true value of the second body target includes M corner points, where M is an integer and M>0.
- the corner point is a point with particularly prominent attributes in some aspect.
- the corner point can be a point located at the intersection of two edges of the body target (or a point close to the intersection), and/or the midpoint of the edge of the body target (or a point close to the midpoint).
- the conditions of the corner point can be defined by the user or manufacturer (for example, setting specific conditions for corner point detection).
- the corner point can be a point obtained by the Harris corner point detection algorithm.
- the point cloud test device can evaluate the ranging accuracy of the DUT when detecting a second body target through N sampling points and M corner points.
- Figure 15 is a schematic diagram of the distance between a sampling point and a DUT provided in an embodiment of the present application.
- the N sampling points include the nearest sampling point
- the M corner points include the lateral nearest corner point.
- the lateral ranging accuracy of the second body target is related to the lateral distance between the nearest sampling point and the DUT (i.e., Xpi shown in Figure 15) and the lateral distance between the lateral nearest corner point and the DUT (i.e., Xcj shown in Figure 15).
- the lateral ranging accuracy ⁇ x of the second target satisfies the following formula:
- Xpi is the lateral distance between the nearest sampling point and the DUT
- Xcj is the lateral distance between the nearest lateral corner point and the DUT.
- “nearest” refers to the distance between the point and a preset point.
- the above example takes the preset point as the DUT.
- it can be replaced by other points or other devices during the specific implementation process.
- the nearest sampling point is the sampling point that is closest to the DUT (shortest in radial distance) among the N sampling points.
- the distances between the N sampling points and the DUT can be expressed as D p1 , D p2 , D p3 , ..., D pN , respectively, where the distance D pi between the nearest sampling point and the DUT satisfies the following formula:
- D pi min(D p1 ,D p2 ,D p3 ,...,D pn )
- the lateral closest corner point is the corner point with the shortest lateral distance to the DUT among the M corner points.
- the lateral distances between the M corner points and the DUT can be expressed as X c1 , X c2 , X c3 , ..., X cm , respectively, where the lateral distance X cj between the lateral closest corner point and the DUT satisfies the following formula:
- X cj min(X c1 ,X c2 ,X c3 ,...,X cm )
- FIG 16 is a schematic diagram of the distance between another sampling point and the DUT provided in an embodiment of the present application.
- the N sampling points include the nearest sampling point
- the M corner points include the radial nearest corner point.
- the radial ranging accuracy of the second body target is related to the radial distance between the nearest sampling point and the DUT (i.e., Dpi shown in Figure 16) and the lateral distance between the lateral nearest corner point and the DUT (i.e., Dck shown in Figure 16).
- the longitudinal ranging accuracy ⁇ d of the second target satisfies the following formula:
- Dpi is the radial distance between the nearest sampling point and the DUT
- Dck is the radial distance between the nearest radial corner point and the DUT. It should be understood that “nearest” refers to the distance between the point and a preset point. The above example uses the preset point as the DUT as an example, which can be replaced by other points or other devices during the specific implementation process.
- the calculation method of the nearest sampling point can refer to the above.
- the lateral closest corner point is the corner point with the shortest radial distance to the DUT among the M corner points.
- the radial distances between the M corner points and the DUT can be expressed as D c1 , D c2 , D,..., D cm , respectively, where the radial distance D ck between the radially closest corner point and the DUT satisfies the following formula:
- the ranging accuracy corresponding to a body target includes a sequence number, an ID of the body target, a lateral ranging accuracy, or a longitudinal ranging accuracy, etc.
- the lateral ranging accuracy of the DUT with respect to the body target T1 is ⁇ x1
- the longitudinal ranging accuracy of the DUT with respect to the body target T1 is ⁇ d1 .
- the lateral ranging accuracy of the DUT with respect to the body target T2 is ⁇ x2
- the longitudinal ranging accuracy of the DUT with respect to the body target T2 is ⁇ d2 .
- Table 2 which will not be described one by one here.
- the format, attributes, numbers, etc. of Table 2 are only examples.
- the ranging accuracy can also be calculated based on multiple targets. For example, the ranging accuracy corresponding to each volume target is averaged, or weighted averaged, to obtain the average ranging accuracy.
- Speed measurement accuracy reflects the accuracy of DUT speed detection, and speed measurement accuracy may affect the decision-making accuracy of intelligent driving functions.
- Intelligent driving functions include but are not limited to autonomous emergency braking (AEB), lane keeping assist (LKA), adaptive cruise control (ACC), parking assistance (PA), or lane change assist (LCA).
- AEB autonomous emergency braking
- LKA lane keeping assist
- ACC adaptive cruise control
- PA parking assistance
- LCA lane change assist
- ACC can determine the driving state of the vehicle (such as acceleration or deceleration) based on the speed of the vehicle in front. If the speed measurement of the vehicle in front is inaccurate, it may lead to driving safety.
- the ranging accuracy may be calculated on a single target basis.
- the point cloud testing device determines the ranging accuracy of the second volume target based on the sampling points matching the true value of the third volume target and the true value of the third volume target.
- the matching sampling points include K sampling points that match the true value of the third body target, K is an integer and K>0.
- the K sampling points include the strongest sampling point.
- the strongest sampling point can be a sampling point with the strongest echo energy.
- the speed measurement accuracy of the third body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third body target. Since a body target may correspond to multiple points, this implementation uses the strongest sampling point to evaluate the speed measurement error, which can improve the test accuracy of the speed measurement accuracy.
- the velocity accuracy ⁇ v can be indicated by the absolute value of the radial velocity error between the strongest point radial velocity in the matching point and the reference true value.
- the velocity accuracy ⁇ v satisfies the following formula:
- Vpi is the radial velocity of the strongest sampling point
- Vt is the radial velocity of the true value of the third body target.
- the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,..., R pK .
- the RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
- R pi max(R p1 ,R p2 ,R p3 ,...,R pK )
- the true radial velocity of the aforementioned third body target may be replaced by the radial velocity of the third body target.
- Test item 4 height accuracy. Height accuracy can reflect the accuracy of the height measurement of the point cloud.
- the height accuracy may be indicated by the height distribution being a data distribution range and/or a normal value distribution range located in the middle 50% of the height values of the matching sampling points.
- the middle 50% of the data is obtained by arranging the height values corresponding to the matching sampling points from small to large and dividing them into four equal parts to obtain three quartiles (values at three split points), and the data between the first quartile and the third quartile is the middle 50% of the data.
- the distribution range of the middle 50% of the data is obtained.
- two normal values are obtained by expanding the first quartile and the third quartile by 1.5 times.
- the height value between these two normal values is the normal value data
- the distribution range of the normal value data is the normal value distribution range.
- the determination of the above data distribution range can be achieved through box plot statistics.
- Box plot statistics are suitable for data that do not strictly follow the normal distribution, and the quartiles are highly resistant to outliers and can identify outliers relatively objectively.
- the unmatched sampling points in the matching result set can be used for false alarm judgment.
- a false alarm is an event in which the target does not exist but the detection device judges that there is a target and outputs sampling points.
- a false alarm can correspond to a point cloud that does not match the true value.
- the unmatched sampling points in the point cloud frame can be tracked (or traced), and a multi-frame association method can be used to determine whether there is a false alarm in the point cloud.
- the two-dimensional point cloud includes multiple continuous point cloud frames
- the matching set includes unmatched sampling points.
- the point cloud testing device determines the false alarm targets in the multiple continuous point cloud frames based on the sampling points in the unmatched sampling points that are located in the multiple continuous point cloud frames.
- the point cloud testing device clusters the sampling points in the second point cloud frame among the unmatched sampling points to obtain point cloud clusters, where the number of point cloud clusters can be one or more.
- the point cloud testing device assigns an initial life value to the first point cloud cluster, and determines the point cloud clusters in Q point cloud frames based on the sampling points in Q (Q is an integer and Q>0) point cloud frames after the second point cloud frame.
- Q can be a fixed number or a non-fixed number.
- the point cloud frame is matched with one or more subsequent point cloud frames. If there is a matching point cloud cluster in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; repeat the matching of multiple point cloud frames. If the life value of the point cloud cluster meets the false alarm condition (for example, when it reaches the first threshold), the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster meets the condition for canceling the false alarm (for example, reaching the second threshold or being lower than the third threshold), the point cloud cluster does not form a false alarm target, and the point cloud cluster can be optionally discarded. It should be understood that reaching the first threshold may be higher than or higher than or equal to the first threshold, subject to the specific design. The same applies to the multiple thresholds and conditions below.
- FIG 17 is a schematic diagram of a possible unmatched point cloud provided by an embodiment of the present application.
- the unmatched sampling points in point cloud frame #0 (which can be regarded as the second point cloud frame) can be clustered to obtain point cloud cluster G1 and point cloud cluster G2, wherein the life value of point cloud cluster G1 and the life value of point cloud cluster G2 are both 60 (initial life value).
- the life value of the point cloud cluster is greater than or equal to 100, the false alarm condition is met, and when the life value of the point cloud cluster is less than 60, the false alarm elimination condition is met.
- point cloud frame #1 which is the next point cloud frame of point cloud frame #0
- the unmatched sampling points in the point cloud frame can be clustered to obtain point cloud cluster G3 and point cloud cluster G4.
- the point cloud testing device matches the point cloud clusters in point cloud frame #0 according to point cloud clusters G3 and G4.
- point cloud cluster G4 matches point cloud cluster G1
- the life value of point cloud cluster G4 i.e., G1
- the current life value is 80
- point cloud cluster G2 has no matching point cloud cluster in point cloud frame #1
- the life value of point cloud cluster G2 decreases by 20, and the life value of point cloud cluster G2 is 40.
- Point cloud cluster G3 is a newly discovered point cloud cluster in point cloud frame #0 and is assigned a life value of 60 (initial life value).
- point cloud frame #2 which is the next point cloud frame of point cloud frame #1
- the unmatched sampling points in the point cloud frame can be clustered to obtain point cloud cluster G5.
- the point cloud testing device matches the point cloud cluster G5 with the point cloud cluster in point cloud frame #1.
- point cloud cluster G5 matches point cloud cluster G4 (i.e., G1)
- the life value of point cloud cluster G5 increases by 20, and the current life value is 100.
- the first threshold is 100
- point cloud cluster G5 since the life value of point cloud cluster G5 (i.e., G1) reaches the first threshold, point cloud cluster G5 forms a false alarm target.
- the point cloud testing device matches the point cloud cluster 5 with the point cloud cluster in point cloud frame #1.
- point cloud cluster G3 has no matching point cloud cluster in point cloud frame #2, the life value of point cloud cluster G2 is reduced by 20, and the life value of point cloud cluster G3 is 40, which is already lower than 60, and does not form a false alarm target and is discarded.
- point cloud frame #3 it is the next point cloud frame after point cloud frame #2.
- the unmatched sampling points in the point cloud frame can be clustered to obtain point cloud cluster G6.
- the point cloud testing device matches the point cloud cluster G6 with the point cloud cluster in point cloud frame #2.
- point cloud cluster G5 matches point cloud cluster G5 (i.e., G1)
- the life value of point cloud cluster G6 increases by 20, and the current life value is 120, reaching the first threshold, then point cloud cluster G6 forms a false alarm target.
- the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the point cloud cluster frame can enclose the point cloud in the cluster.
- the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish an inter-frame association. If the point cloud cluster frame in the next point cloud frame successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases.
- the above embodiments are described by taking backward matching as an example, that is, the point cloud clusters in the current point cloud frame are matched with the point cloud clusters in the subsequent point cloud frame.
- the point cloud clusters in the current point cloud frame can also be matched forward, that is, the point cloud clusters in the current point cloud frame are matched with the point cloud clusters in the previous point cloud frame.
- the above is an introduction to false alarm judgment in a graphical manner.
- a flow chart of false alarm judgment is provided below.
- the false alarm judgment method can be executed by a point cloud testing device. Specifically, it can include steps S1801 to S1804, as shown in FIG. Down:
- Step S1801 point cloud clustering.
- the point cloud testing device clusters the unmatched point clouds in the current point cloud frame to obtain point cloud clusters.
- Step S1802 Allocate ID and initial life value.
- the point cloud testing device assigns an ID (optional) and an initial life value to the point cloud cluster.
- the ID is, for example, G1 or G2 as shown in FIG17 .
- point cloud clusters in different point clouds can be matched, they can share the same ID to facilitate false alarm judgment.
- the initial health value is 60, for example.
- Step S1803 Matching with the point cloud cluster in the next point cloud frame.
- point cloud frame #0 when the next frame of point cloud frame #0 is point cloud frame #1, the point cloud clusters in point cloud frame #0 are matched with the point cloud clusters in point cloud frame #1.
- Step S1804 If the match is successful, the health value is +20; if the match is unsuccessful, the health value is -20.
- point cloud cluster G4 successfully matches point cloud cluster G1, and the life value of point cloud cluster G4 (ie, G1) increases by 20.
- Point cloud cluster G2 fails to match in point cloud frame #1, and its life value decreases by 20.
- the point cloud cluster is discarded. For example, if the life value of point cloud cluster G2 is 40, the point cloud cluster G2 is discarded if the condition is met.
- the above implementation clusters the unmatched sampling points and tracks the unmatched point cloud in the form of point cloud clusters, which not only reduces the complexity of matching, but also greatly improves the reliability and availability of false alarm judgment, and improves the accuracy of point cloud testing.
- the unmatched point cloud may also be used to determine the false alarm rate.
- the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
- the false alarm rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the calculation of false alarm targets
- n false is the number of frames with false alarm targets.
- the number of point cloud frames involved in the calculation of false alarm targets is 4, among which the point cloud frames with false alarm targets are point cloud frames #3 and point cloud frames #4, so the false alarm rate is 50%.
- point cloud clusters that form false alarm targets also exist in point cloud frames #0 and point cloud frames #1, the false alarm targets have not been diagnosed at that time, so they are not involved in the calculation of false alarm rate.
- the point cloud frame where the point cloud cluster in the undetermined stage is located is also regarded as the point cloud frame with false alarm.
- point cloud frame #0 and point cloud frame #1 can also be regarded as false alarm point cloud frames, that is, the false alarm rate is 100%.
- the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, the target exists but the radar judges that there is no target and does not output the point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
- the missed detection of the volume object does not belong to a valid missed detection.
- the two-dimensional point cloud includes a third point cloud frame
- the matching result set includes an unmatched true value corresponding to the third point cloud frame.
- the point cloud testing device determines the suspected missed detection target in the third point cloud frame according to the unmatched true value corresponding to the third point cloud frame, and determines the obscured volume target according to the field of view relationship between at least one volume target and the radar.
- the point cloud testing device filters the obscured volume targets in the suspected missed detection targets in the third point cloud frame, and determines the third point cloud frame. In this way, the occluded volume targets in the suspected missed detection targets are removed according to the occlusion relationship, thus reducing the missed detection judgment error caused by the occlusion of the volume targets.
- determining the obscured volume target according to the field of view relationship between at least one volume target and the radar includes:
- Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
- Figure 19 is a schematic diagram of the position of a body target provided in an embodiment of the present application.
- the body targets shown in Figure 19 include body target T5, body target T6, body target T7 and body target T8, where the number and ID are only examples. If in a certain point cloud frame, the true values of body target T5, body target T7 and body target T7 are all unmatched true values, the occlusion relationship between the body targets needs to be determined. Among them, the occlusion relationship can be determined by the corner points in the true value of the body target.
- the fifth body target is occluded
- V is an integer and V>0
- the occluded corner point is a corner point where the line connecting the corner points intersects with the edges of other body targets.
- the eight corner points of body target T5 are respectively represented as A1 to A8 , wherein the lines connecting A3 , A5 , A7 and A8 with the DUT all intersect with the edges of body target T8, so the above four corner points are all occluded corner points, and therefore body target T5 belongs to the occluded target.
- the eight corner points are respectively represented as B1 to B8 , and only B6 is an occluded corner point, so body target T6 does not belong to the occluded target.
- the fifth object is an occlusion object, it satisfies the following two conditions: 1
- the lines connecting the V corner points of the fifth object and the DUT intersect with the edges of other objects, V is an integer and V>0; 2
- the number of valid edges (see explanation below) in the fifth object is greater than or equal to a fourth threshold.
- the fourth threshold may be predefined or pre-set.
- the fourth threshold may be 4, or the fourth threshold may be 1.
- the valid edge can be determined as follows: for any corner point or any edge corner point in the fifth body target (edge corner points refer to corner points located on the edge, such as A2, A4, A5, A7 shown in Figure 19), if the line connecting the corner point (or the edge corner point) and the DUT intersects on any edge of the fifth body target, then the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner point on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, then the first edge is a valid edge.
- the corner point A2 intersects with the DUT line at the edge where A5 is located, so the edge where the corner point A2 is located is an invalid edge of body target T5. Similarly, the edge where the corner point A4 is located is an invalid edge.
- the line connecting corner point A5 and DUT does not intersect with other edges in volume target T5, so the edge where corner point A5 is located is a valid edge of volume target T5. Similarly, the edge where corner point A7 is located is a valid edge.
- volume target T5 is an occluded target.
- the area corresponding to the unmatched true value can be tracked in the point cloud frame, and a multi-frame association method can be used to determine whether the volume target is missed.
- the unmatched true value can be tracked in subsequent point cloud frames, which can reduce the missed detection judgment error caused by point cloud flickering, improve the accuracy of false alarm judgment, and improve the accuracy of point cloud testing.
- the sixth object is determined to be a missed detection object.
- the unmatched true value may also be used to determine the missed detection rate.
- the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
- the missed detection rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the missed target calculation
- n_lose is the number of missed point cloud frames.
- the division of units in the device is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated.
- the units in the device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory.
- the processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of each unit of the device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device.
- CPU central processing unit
- microprocessor a microprocessor
- the units in the device may be implemented in the form of hardware circuits, and the functions of some or all of the units may be implemented by designing the hardware circuits, and the hardware circuits may be understood as one or more processors; for example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC), and the functions of some or all of the above units may be implemented by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit may be implemented by a programmable logic device (PLD), and a field programmable gate array (FPGA) may be used as an example, which may include a large number of logic gate circuits, and the connection relationship between the logic gate circuits may be configured by a configuration file, so as to implement the functions of some or all of the above units. All units of the above devices may be implemented in the form of a processor calling software, or in the form of hardware circuits, or in part by a processor calling software, and the rest by hardware circuits.
- ASIC application-specific integrated circuit
- FPGA field programm
- each unit in the device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
- processors or processing circuits
- the units in the above device can be fully or partially integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a system-on-a-chip (SOC).
- SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device.
- the type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
- the point cloud testing device 200 can be an independent device, such as a server.
- the point cloud testing device 200 can also be a device in an independent device (such as a node), such as a chip or an integrated circuit.
- the point cloud testing device 200 is used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in Figure 5, Figure 11, or Figure 18.
- the point cloud testing device 200 can replace the point cloud testing device 301 in the system shown in Figure 3.
- the point cloud testing device 200 shown in FIG. 20 includes a data acquisition module 2001 and a data matching module 2002, wherein:
- the data acquisition module 2001 is used to obtain true value data and point cloud, the true value data is the true value of the volume target, and the point cloud is the detection result obtained by the DUT detecting the volume target, and the detection result includes sampling points;
- the data matching module 2002 is used to match the point cloud with the true value data to obtain a matching result set, which includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the number of volume targets may be one or more.
- the number of volume targets is described as at least one below.
- the data matching module 2002 is used to:
- the point cloud is matched with the three-dimensional matching box to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the data matching module 2002 is used to:
- the two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- the data matching module 2002 is used to:
- Project the point cloud to obtain a two-dimensional point cloud including:
- the time of the true value data and the point cloud is aligned. Further, when the true value data and the point cloud are projected as two-dimensional data, the time of the two-dimensional true value data and the two-dimensional point cloud is aligned.
- the coordinates of the true value data and the point cloud are aligned.
- the two-dimensional truth data includes a plurality of truth frames
- the two-dimensional point cloud includes a plurality of point cloud frames
- the data matching module 2002 is further used for:
- a matching result subset is obtained according to a range of at least one true value frame and positions of multiple sampling points in a first point cloud frame, wherein the first point cloud frame belongs to multiple point cloud frames, the first point cloud frame and the first true value frame have the same timestamp, and the matching result subset belongs to a matching result set.
- the at least one truth box includes a first truth box corresponding to a first volume target, and the first volume target belongs to the at least one volume target;
- the first point cloud frame includes the first sampling point and the first sampling point falls into the first true value frame, the first sampling point belongs to the matching sampling point, and the first sampling point matches the true value of the first volume target;
- the second sampling point belongs to an unmatched sampling point
- the true value corresponding to the first true value frame is an unmatched true value.
- the number of at least one truth box is greater than or equal to 2.
- the data matching module 2002 is further used for:
- the true value of the volume target matching the third sampling point is determined according to the position between the third sampling point and the true values of the volume targets corresponding to the at least two true value frames.
- the data matching module 2002 is further configured to:
- a point pair is established between the true value of the volume target corresponding to at least two truth value frames and the third sampling point, a distance matrix is constructed according to the point pair, the distance between the true value and the third sampling point is obtained, and the true value with the closest distance is taken as the true value matching the third sampling point.
- the data acquisition module 2001 is further configured to:
- Preprocess the initial truth value and initial point cloud to obtain the truth value data and point cloud may include the following: One or more of the processing: time alignment, coordinate conversion, format conversion, etc. Preprocessing can improve the correspondence between the true value data and the point cloud, reduce the complexity of matching, and improve the efficiency of point cloud testing.
- the point cloud testing device 200 further includes a data calculation module 2003, which is used to evaluate the accuracy, false alarms, and missed detections of the point cloud through a set of matching results.
- the point cloud testing device further includes a data calculation module, which is used to obtain accuracy evaluation data about the DUT based on the matching sampling points in the matching result set.
- the accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy, and height accuracy.
- the data calculation module 2003 is further configured to:
- the number of matching sampling points about the fourth body target is obtained.
- the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0.
- the data calculation module is also used to evaluate the ranging accuracy of the DUT when detecting the second body target based on the N sampling points and the M corner points.
- the N sampling points include the nearest sampling point
- the M corner points include the lateral nearest corner point.
- the ranging accuracy includes the lateral ranging accuracy with respect to the second object
- the lateral ranging accuracy with respect to the second object is related to the lateral distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
- the lateral ranging accuracy ⁇ x of the second body target satisfies the following formula:
- Xpi is the lateral distance between the nearest sampling point and the DUT
- Xcj is the lateral distance between the nearest lateral corner point and the DUT.
- the N sampling points include the nearest sampling point
- the M corner points include the radial nearest corner point.
- the ranging accuracy includes the longitudinal ranging accuracy with respect to the second object
- the longitudinal ranging accuracy with respect to the second object is related to the radial distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
- the longitudinal distance measurement accuracy ⁇ d of the fourth target satisfies the following formula:
- Dpi is the radial distance between the nearest sampling point and the DUT
- Dck is the radial distance between the radial nearest corner point and the DUT.
- the velocity measurement accuracy includes velocity measurement accuracy with respect to a third-body target
- the matching sampling points include K sampling points that match the true value of the third-body target, where K is an integer and K>0;
- the K sampling points include the strongest sampling point.
- the velocity measurement accuracy of the third-body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third-body target.
- the above embodiment describes a method for determining the speed measurement accuracy.
- the speed accuracy ⁇ v can be indicated by the absolute value of the radial speed error between the strongest point in the matching point and the reference true value.
- the speed accuracy ⁇ v satisfies the following formula:
- Vpi is the radial velocity of the strongest sampling point
- Vt is the radial velocity of the true value of the third body target.
- the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,..., R pK .
- the RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
- R pi max(R p1 ,R p2 ,R p3 ,...,R pK )
- the true radial velocity of the third body target may be replaced by the radial velocity of the third body target.
- unmatched sampling points may be used for false alarm determination.
- the point cloud testing device further includes a data calculation module, and the data calculation module is further used to:
- the plurality of continuous point cloud frames include a second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;
- the data calculation module 2003 is also used for:
- point cloud clusters in the Q point cloud frames are determined
- False alarm targets in a plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
- the testing device clusters the unmatched point cloud to obtain a plurality of point cloud clusters, and each point cloud cluster is assigned an initial life value.
- the point cloud frame is matched with a plurality of subsequent point cloud frames. If there is a point cloud cluster matching it in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; and the matching of multiple point cloud frames is repeated in this way. If the life value of the point cloud cluster reaches the first threshold, the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster reaches the second threshold or is lower than the third threshold, the point cloud cluster does not form a false alarm target, and the point cloud cluster can be optionally discarded.
- the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the matching frame can enclose the point cloud in the cluster.
- the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish the association between the frames. If there is a point cloud cluster frame in the next point cloud frame that successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases.
- the unmatched point cloud may also be used to determine the false alarm rate.
- the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
- the false alarm rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the calculation of false alarm targets
- n false is the number of frames with false alarm targets.
- the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, a target exists but the radar judges that there is no target and does not output a point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
- the two-dimensional point cloud includes a third point cloud frame
- the matching result set includes an unmatched true value corresponding to the third point cloud frame
- the data calculation module 2003 is also used for:
- the occluded volume targets in the suspected missed targets in the third point cloud frame are filtered to determine the missed targets contained in the third point cloud frame.
- the data calculation module 2003 is further configured to:
- Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
- Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
- V is an integer and V>0, wherein the occluded corner points are corner points where the lines connecting the corner points intersect with the edges of other objects.
- the fifth body target is an occluding target, it satisfies the following two conditions: 1 The lines connecting the V corner points of the fifth body target and the DUT intersect with the edges of other body targets, V is an integer and V>0; 2 The number of valid edges in the fifth body target is greater than or equal to the fourth threshold.
- the fourth threshold may be predefined or pre-set. For example, the fourth threshold may be 4, or the fourth threshold may be 1.
- the valid edges may be determined as follows: for any corner point or any edge corner point (edge corner point refers to a corner point located on an edge) in the fifth body target, if the line connecting the corner point (or the edge corner point) and the DUT intersects with any edge of the fifth body target, the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner points on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, the first edge is a valid edge.
- the point cloud testing device 210 may track the area corresponding to the unmatched true value in the point cloud frame, and use a multi-frame association method to determine whether the volume target is missed.
- the volume target is determined to be a missed detection target.
- the unmatched true value may also be used to determine the missed detection rate.
- the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
- the missed detection rate ⁇ satisfies the following formula:
- n is the number of point cloud frames involved in the calculation of missed targets
- n_lose is the number of missed point cloud frames
- Figure 21 is a structural diagram of a computing device provided in an embodiment of the present application.
- the computing device 210 may be an independent device, such as a node, or a device included in an independent device, such as a chip, a software module, or an integrated circuit.
- the computing device 210 may include at least one processor 2101 and a communication interface 2102.
- it may also include at least one memory 2103.
- it may also include a connection line 2104, wherein the processor 2101, the communication interface 2102 and/or the memory 2103 are connected via the connection line 2104, and/or communicate with each other via the connection line 2104 to transmit control signals and/or data signals.
- the processor 2101 is a module for performing arithmetic operations and/or logical operations.
- the processor can be a circuit with the ability to read and run instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP); in another implementation, the processor can realize certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a processor that is a hardware circuit implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA.
- ASIC application-specific integrated circuit
- PLD programmable logic device
- it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.
- NPU neural network processing unit
- the communication interface 2102 may be used to provide information input or output for at least one processor, or to receive externally transmitted signals and/or to transmit externally transmitted signals.
- the communication interface 2102 may include an interface circuit.
- the communication interface 2102 may include a wired link interface such as an Ethernet cable, or a wireless link (Wi-Fi, Bluetooth, general wireless transmission, vehicle-mounted short-range communication technology, and other short-range wireless communication technologies, etc.) interface.
- a wired link interface such as an Ethernet cable
- a wireless link Wi-Fi, Bluetooth, general wireless transmission, vehicle-mounted short-range communication technology, and other short-range wireless communication technologies, etc.
- the communication interface 2102 may further include a radio frequency transmitter, an antenna, etc.
- the number of antennas may be one or more.
- the communication interface 2102 may include a receiver and a transmitter.
- the receiver and the transmitter may be the same component or different components.
- the component may be referred to as a transceiver.
- the communication interface 2102 may include an input interface and an output interface, and the input interface and the output interface may be the same interface, or may be different interfaces.
- the functions of the communication interface 2102 may be implemented by a transceiver circuit or a dedicated transceiver chip.
- the memory 2103 is used to provide a storage space in which data such as an operating system and a computer program can be stored.
- the memory 2103 can be a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), etc., or a combination of multiple thereof.
- Each functional unit in the computing device 210 may be used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in FIG. 5 , FIG. 11 , or FIG. 18 .
- the processor 2101 may be a processor specifically used to execute the aforementioned method (for convenience of distinction, referred to as a dedicated processor), or may be a processor that executes the aforementioned method by calling a computer program (for convenience of distinction, referred to as a dedicated processor).
- the at least one processor may include both a dedicated processor and a general-purpose processor.
- the computing device 210 includes at least one memory 2103 , if the processor 2101 implements the aforementioned point cloud testing method by calling a computer program, the computer program may be stored in the memory 2103 .
- the embodiment of the present application further provides a chip, which includes a logic circuit and a communication interface.
- the communication interface is used to receive a signal or send a signal; the logic circuit is used to receive a signal or send a signal through the communication interface.
- the chip is used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in FIG. 5, FIG. 11, or FIG. 18.
- An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored.
- the instructions are executed on at least one processor (or communication device), the aforementioned point cloud testing method is implemented, such as the point cloud testing method shown in Figure 5, Figure 11, or Figure 18.
- An embodiment of the present application also provides a computer program product, which includes computer instructions, and the computing instructions are used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in Figure 5, Figure 11, or Figure 18.
- At least one refers to one or more, and “more” refers to two or more. “At least one of the following” or similar expressions refers to any combination of these items, including any combination of single or plural items.
- At least one of a, b, or c can be represented by: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, and c can be single or multiple.
- "And/or” describes the association relationship of the associated objects, indicating that there can be three relationships.
- a and/or B can be represented by: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
- the character "/" generally indicates the previous and next associated objects. It is an "or" relationship.
- first and second used in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects.
- first point cloud frame, the second point cloud frame, and the third point cloud frame are only for the convenience of describing the point cloud frames in different implementations, and do not indicate the difference in order, importance, data content, etc. between the two.
- the first point cloud frame and the second point cloud frame can be the same point cloud frame.
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Radar Systems Or Details Thereof (AREA)
Abstract
A point cloud test method and apparatus, which are applied to the technical field of detection and can test a point cloud of a body target that is output by a detection apparatus to be tested, wherein the detection apparatus may specifically be a millimeter-wave radar. During a test, the point cloud test apparatus matches a true value of a body target with a point cloud of the body target, so as to obtain a matching situation between the point cloud of the body target and the true value of the body target. Since the body target is closer to a detection target in the actual installation environment of a detection apparatus to be tested, the quality of a point cloud which is output by the detection apparatus can be tested more accurately, thereby facilitating the evaluation of the detection capability of the detection apparatus. In addition, by means of automated matching between a true value of a body target and a point cloud of the body target, an evaluation error can be significantly reduced, and the test precision and the test efficiency are improved.
Description
本申请涉及探测技术领域,尤其涉及一种点云测试方法及装置。The present application relates to the field of detection technology, and in particular to a point cloud testing method and device.
随着信息技术的发展,探测技术取得了飞速发展,各式各样的探测装置给人们的生活、出行带来了极大的便利。例如,高级驾驶辅助系统(advanced driving assistance system,ADAS)在智能汽车中发挥着十分重要的作用,它是利用安装在车上的探测装置,在车辆行驶过程中探测周围的环境,收集数据,进行静止、移动物体的辨识等,并结合地图,进行系统的运算与分析,从而预先让驾驶者察觉到可能发生的危险,有效增加汽车驾驶的舒适性和安全性。探测装置可以看作是设备感知环境的“眼睛”,能够对周围环境进行探测,输出点云。而点云的质量则代表了探测装置的探测能力。因此,行业内对探测装置输出的点云的测试(以下简称点云测试)一直以来都是探测装置的重点测试项。With the development of information technology, detection technology has achieved rapid development, and various detection devices have brought great convenience to people's lives and travel. For example, the advanced driving assistance system (ADAS) plays a very important role in smart cars. It uses the detection device installed on the car to detect the surrounding environment during the driving process of the vehicle, collect data, identify static and moving objects, etc., and combine with the map to perform systematic calculations and analysis, so that the driver can be aware of possible dangers in advance, effectively increasing the comfort and safety of car driving. The detection device can be regarded as the "eyes" of the device to perceive the environment. It can detect the surrounding environment and output point clouds. The quality of the point cloud represents the detection capability of the detection device. Therefore, the test of the point cloud output by the detection device (hereinafter referred to as point cloud test) has always been the key test item of the detection device in the industry.
使用点目标对探测装置进行点云测试的技术已经非常成熟。其中,点目标即以“点”的形式存在的目标。示例性的,一种针对点目标的点云测试方法如下,将待测装置(device under test,DUT)置于暗室(暗室四周装有吸波材料)内,暗室内设置点目标以测试DUT对暗室内的点目标进行探测时输出的点云。The technology of using point targets to perform point cloud testing on detection devices is already very mature. Among them, point targets are targets that exist in the form of "points". Exemplarily, a point cloud testing method for point targets is as follows: the device under test (DUT) is placed in a darkroom (the darkroom is surrounded by absorbing materials), and point targets are set in the darkroom to test the point cloud output by the DUT when detecting the point targets in the darkroom.
但是,点目标与实装环境下的探测目标(以下称为实际目标)具有较大差别。例如,点目标通常只具有位置、距离、方位等特征,但实际目标还具有位姿、或尺寸等特征,散射特征也具有多种类型。目前,一些供应商仅用人眼来估计探测装置对实际目标进行探测时输出的点云的质量。总之,当前的点云测试方法难以准确地评估探测装置输出的点云质量。However, point targets are quite different from detection targets in actual installation environments (hereinafter referred to as actual targets). For example, point targets usually only have characteristics such as position, distance, and orientation, but actual targets also have characteristics such as posture or size, and scattering characteristics also have various types. Currently, some suppliers only use human eyes to estimate the quality of the point cloud output by the detection device when detecting actual targets. In short, the current point cloud testing methods are difficult to accurately evaluate the quality of the point cloud output by the detection device.
发明内容Summary of the invention
本申请实施例提供一种点云测试方法及装置,能够对体目标的点云进行测试,可以更准确地测试探测装置输出的点云质量。The embodiments of the present application provide a point cloud testing method and device, which can test the point cloud of a body target and can more accurately test the quality of the point cloud output by a detection device.
第一方面,本申请实施例提供一种点云测试方法,包括:In a first aspect, an embodiment of the present application provides a point cloud testing method, comprising:
获取真值数据和点云,真值数据为体目标的真值,点云为DUT对体目标进行探测得到的探测结果;Obtain true value data and point cloud. The true value data is the true value of the volume target, and the point cloud is the detection result obtained by the DUT detecting the volume target.
将点云和真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The point cloud and the true value data are matched to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
其中,体目标可以看作是具有长度、高度和宽度中至少两项的物体,用于作为测试DUT的目标。体目标包含但不限于是球体、长方体、平板、二面角、三面角、圆柱、或圆形顶帽中的一项或者多项。探测装置对体目标进行探测时,一个体目标的探测结果中包含多个采样点。可选的,探测装置在探测体目标时,在不同的视角下能够探测到体目标的不同表面。一些场景中,在探测装置对体目标进行探测的过程中,体目标具有位姿、尺寸等特征。Among them, the body target can be regarded as an object with at least two of the length, height and width, used as a target for testing the DUT. The body target includes but is not limited to one or more of a sphere, a cuboid, a plate, a dihedral, a trihedral, a cylinder, or a round top hat. When the detection device detects the body target, the detection result of a body target includes multiple sampling points. Optionally, when detecting the body target, the detection device can detect different surfaces of the body target at different viewing angles. In some scenarios, during the process of the detection device detecting the body target, the body target has characteristics such as posture and size.
本申请实施例基于体目标的真值和体目标的点云进行匹配,得到体目标的点云与体目标真值之间的匹配情况。由于体目标更接近实际目标,因此通过本申请实施例可以更准确地测试探测装置输出的点云质量,有利于对探测装置的探测能力进行评估。
The embodiment of the present application is based on matching the true value of the volume target and the point cloud of the volume target to obtain the matching between the point cloud of the volume target and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device.
另外,本申请实施例通过自动化地根据体目标的真值和体目标的点云来得到匹配结果,能够显著缩小评估误差,提升测试精度和测试效率。In addition, the embodiments of the present application can significantly reduce the evaluation error and improve the test accuracy and test efficiency by automatically obtaining the matching result based on the true value of the volume target and the point cloud of the volume target.
可选的,体目标的数量可以是一个或者多个。为了便于描述本申请的方案,以下将体目标的数量描述为至少一个。Optionally, the number of volume targets may be one or more. In order to facilitate the description of the solution of the present application, the number of volume targets is described as at least one below.
可选的,上述方法可以由点云测试装置实现。以下以方法的执行主体为点云测试装置为例进行描述,对于其他形式的执行主体本申请同样适用。Optionally, the above method can be implemented by a point cloud testing device. The following description is made by taking the point cloud testing device as an example, and the present application is also applicable to other forms of execution entities.
在第一方面的又一种可能的实施方式中,将点云和真值数据进行匹配,得到匹配结果集合,包括:In another possible implementation of the first aspect, matching the point cloud with the true value data to obtain a matching result set includes:
根据真值数据建立三维匹配框;Establish a three-dimensional matching box based on the true value data;
将点云与三维匹配框进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The point cloud is matched with the three-dimensional matching box to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
在上述实施方式中,点云测试装置将点云与三维匹配框进行匹配,可以准确地计算出点云与体目标之间的位置关系,得到匹配结果,提升测试精度。In the above implementation, the point cloud testing device matches the point cloud with the three-dimensional matching box, and can accurately calculate the positional relationship between the point cloud and the volume target, obtain the matching result, and improve the test accuracy.
在第一方面的一种可能的实施方式中,将点云和真值数据进行匹配,得到匹配结果集合,包括:In a possible implementation of the first aspect, matching the point cloud with the true value data to obtain a matching result set includes:
将真值数据投影得到二维真值数据;Project the true value data to obtain two-dimensional true value data;
将点云投影得到二维点云;Project the point cloud to obtain a two-dimensional point cloud;
将二维点云与二维真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
在上述实施方式中,真值数据和点云都分别被处理为二维的数据,以进行匹配。首先,在二维上进行匹配,可以节省匹配时的计算量,进一步提升测试效率。其次,一些场景中,对探测装置的评估主要关注其测距能力、测速能力和角度分辨能力,这几种能力与探测结果中对纵向和横向的数据更相关,因此对数据进行二维投影可以在不显著丧失准确性的情况下测试探测装置输出的点云质量。In the above implementation, both the true value data and the point cloud are processed into two-dimensional data for matching. First, matching in two dimensions can save the amount of calculation during matching and further improve the test efficiency. Secondly, in some scenarios, the evaluation of the detection device mainly focuses on its ranging ability, speed measurement ability and angle resolution ability. These capabilities are more related to the longitudinal and lateral data in the detection results. Therefore, two-dimensional projection of the data can test the point cloud quality output by the detection device without significantly losing accuracy.
在第一方面的一种可能的实施方式中,将真值数据投影得到二维真值数据,包括:In a possible implementation of the first aspect, projecting the true value data to obtain two-dimensional true value data includes:
将真值数据投影到水平平面,得到二维真值数据;Project the true value data onto the horizontal plane to obtain two-dimensional true value data;
将点云投影得到二维点云,包括:Project the point cloud to obtain a two-dimensional point cloud, including:
将点云投影到水平平面,得到二维点云。Project the point cloud onto a horizontal plane to obtain a two-dimensional point cloud.
在上述实施方式中,投影时可以将点云和真值数据投影到水平平面。水平平面的投影可以较大程度地保留体目标的横向的数据和纵向的数据,有利于提升测试效率,节省计算量。In the above implementation, the point cloud and the true value data can be projected onto a horizontal plane during projection. The projection onto the horizontal plane can largely retain the horizontal and vertical data of the volume target, which is beneficial to improving the test efficiency and saving the amount of calculation.
其中,水平平面是指相对水平的水平平面。例如为XY平面。The horizontal plane refers to a relatively horizontal plane, such as the XY plane.
以点云的投影为例,例如,点云中包含多个采样点,每个采样点对应了三维的坐标(以笛卡尔坐标系为例),对于其中任一个采样点,在投影时可以舍弃竖向的数据(或者将Z轴地值置0、或者忽视竖向的数据),从而得到一个二维采样点。Take the projection of a point cloud as an example. For example, the point cloud contains multiple sampling points, each sampling point corresponds to a three-dimensional coordinate (taking the Cartesian coordinate system as an example). For any of the sampling points, the vertical data can be discarded during projection (or the Z-axis value is set to 0, or the vertical data is ignored), thereby obtaining a two-dimensional sampling point.
在第一方面的又一种可能的实施方式中,真值数据和点云的时间对齐。进一步的,在真值数据和点云被投影为二维数据时,二维真值数据和二维点云的时间对齐。In another possible implementation of the first aspect, the time of the true value data and the point cloud is aligned. Further, when the true value data and the point cloud are projected as two-dimensional data, the time of the two-dimensional true value data and the two-dimensional point cloud is aligned.
例如,真值数据包含从第一时刻至第二时刻的A个帧,A为整数且A>0;点云包含从第三时刻到第四时刻的B个帧,B为整数且B>0。在二者时间对齐的情况下,对于B帧中的任一帧,可以找到在时间戳上与其最接近的一帧真值。For example, the true value data contains A frames from the first moment to the second moment, A is an integer and A>0; the point cloud contains B frames from the third moment to the fourth moment, B is an integer and B>0. When the two are aligned in time, for any frame in the B frames, the true value of the frame closest to it in timestamp can be found.
上述实施方式中,真值数据和点云在时间上对齐,使得某个时刻的点云可以找到时间上最接近的一帧真值,可以提高匹配时的准确度,进而提升点云测试的准确性。
In the above implementation, the true value data and the point cloud are aligned in time, so that the point cloud at a certain moment can find a frame of true value that is closest in time, which can improve the accuracy of matching and further improve the accuracy of the point cloud test.
在第一方面的又一种可能的实施方式中,真值数据和点云的坐标对齐。示例性地,真值数据和点云分别通过安装在车辆上的真值系统和DUT探测得到,真值数据和点云的原点可以被转换为车辆的后轴中心。上述实施方式可以提高匹配时的准确度,进而提升点云测试的准确性。In another possible implementation of the first aspect, the coordinates of the true value data and the point cloud are aligned. Exemplarily, the true value data and the point cloud are obtained by a true value system and DUT detection installed on the vehicle, respectively, and the origin of the true value data and the point cloud can be converted to the rear axle center of the vehicle. The above implementation can improve the accuracy of matching, thereby improving the accuracy of point cloud testing.
在第一方面的又一种可能的实施方式中,二维真值数据包含多个真值帧,二维点云包含多个点云帧;In yet another possible implementation of the first aspect, the two-dimensional truth data includes a plurality of truth frames, and the two-dimensional point cloud includes a plurality of point cloud frames;
将二维点云与二维真值数据进行匹配,得到匹配结果集合,包括:Match the 2D point cloud with the 2D true value data to obtain a matching result set, including:
确定第一真值帧中的至少一个真值框,其中,一个真值框对应一个体目标,第一真值帧属于多个真值帧;Determine at least one truth frame in a first truth frame, wherein one truth frame corresponds to one volume target, and the first truth frame belongs to multiple truth frames;
根据至少一个真值框的范围和第一点云帧中的多个采样点的位置,得到匹配结果子集。A matching result subset is obtained according to the range of at least one truth frame and the positions of multiple sampling points in the first point cloud frame.
其中,第一点云帧属于多个点云帧,第一点云帧和第一真值帧的时间戳相同。匹配结果子集属于匹配结果集合。The first point cloud frame belongs to the plurality of point cloud frames, and the timestamps of the first point cloud frame and the first true value frame are the same. The matching result subset belongs to the matching result set.
在上述实施方式以第一点云帧的匹配为例介绍了一种匹配方式。在匹配时,将真值数据投影得到二维真值数据,并建立真值框(或称二维真值框)。二维真值数据包含多个时刻的数据,对于某一时刻的一帧二维真值数据,根据真值框的位置以及同一时刻的二维点云中的采样点的位置进行匹配,如此可以匹配同一时刻的真值与点云,提升测试准确性。In the above implementation, a matching method is introduced by taking the matching of the first point cloud frame as an example. During matching, the true value data is projected to obtain two-dimensional true value data, and a true value frame (or two-dimensional true value frame) is established. The two-dimensional true value data contains data at multiple moments. For a frame of two-dimensional true value data at a certain moment, matching is performed based on the position of the truth value frame and the position of the sampling point in the two-dimensional point cloud at the same moment. In this way, the true value and point cloud at the same moment can be matched, thereby improving the test accuracy.
可理解的,匹配时可能会出现如下情况:对于某一个采样点,其可能落入一个或者多个真值框,也可能未落入任何一个真值框;而对于某一个真值框,其范围内可能包含一个或者多个采样点,也可能未包含采样点。Understandably, the following situations may occur during matching: for a certain sampling point, it may fall into one or more true value boxes, or may not fall into any true value box; and for a certain true value box, its range may contain one or more sampling points, or may not contain the sampling point.
在第一方面的又一种可能的实施方式中,至少一个真值框包含第一体目标对应的第一真值框,第一体目标属于至少一个体目标。In yet another possible implementation of the first aspect, at least one truth box includes a first truth box corresponding to a first volume target, and the first volume target belongs to at least one volume target.
示例性的,在第一点云帧包含第一采样点且第一采样点落入第一真值框的情况下,第一采样点属于匹配采样点。进一步的,第一采样点与第一体目标的真值匹配Exemplarily, when the first point cloud frame includes the first sampling point and the first sampling point falls into the first true value frame, the first sampling point belongs to the matching sampling point. Further, the first sampling point matches the true value of the first object.
示例性的,在第一点云帧包含第二采样点且第二采样点未落入至少一个真值框中的任意一个真值框的情况下,第二采样点属于未匹配采样点;Exemplarily, when the first point cloud frame includes the second sampling point and the second sampling point does not fall into any truth frame of at least one truth frame, the second sampling point belongs to an unmatched sampling point;
示例性的,在第一点云帧中任意一个采样点均未落入第一真值框的情况下,则第一真值框对应的真值属于未匹配真值。Exemplarily, when any sampling point in the first point cloud frame does not fall into the first true value frame, the true value corresponding to the first true value frame is an unmatched true value.
上述实施方式中,以第一真值框、第一采样点、第二采样点为例对匹配结果的分类进行了说明。其中,匹配采样点为与体目标的真值成功匹配的采样点。未匹配采样点为未与体目标的真值成功匹配的点云。未匹配真值为未与任一采样点成功匹配的真值。不难看出,匹配点云的数量通常与点云质量正相关,未匹配点云的数量和未匹配真值的数量与点云质量负相关。因此,匹配结果的分类初步反映了点云的准确度,有利于后续对于不同类别的匹配结果进行分类测试,提高点云测试的丰富度和准确度。In the above implementation, the classification of the matching results is explained by taking the first truth box, the first sampling point, and the second sampling point as examples. Among them, the matched sampling point is the sampling point that successfully matches the true value of the volume target. The unmatched sampling point is the point cloud that does not successfully match the true value of the volume target. The unmatched true value is the true value that does not successfully match any sampling point. It is not difficult to see that the number of matched point clouds is usually positively correlated with the quality of the point cloud, and the number of unmatched point clouds and the number of unmatched true values are negatively correlated with the quality of the point cloud. Therefore, the classification of the matching results preliminarily reflects the accuracy of the point cloud, which is conducive to the subsequent classification test of the matching results of different categories, and improves the richness and accuracy of the point cloud test.
在第一方面的又一种可能的实施方式中,真值框的数量大于或大于等于2。将二维点云与二维真值数据进行匹配,得到匹配结果集合,还包括:In another possible implementation of the first aspect, the number of truth boxes is greater than or equal to 2. Matching the two-dimensional point cloud with the two-dimensional truth data to obtain a matching result set also includes:
在第一点云帧包含第三采样点且第三采样点落入至少两个真值框的情况下,根据第三采样点与至少两个真值框对应的体目标的真值之间的位置,确定与第三采样点匹配的体目标的真值。When the first point cloud frame includes the third sampling point and the third sampling point falls into at least two true value frames, the true value of the volume target matching the third sampling point is determined according to the position between the third sampling point and the true values of the volume targets corresponding to the at least two true value frames.
上述实施方式说明了当采样点落入多个真值框的情况下,如何确定该采样点所匹配的体目标的真值。如此可以明确点云与真值之间的匹配关系,提升点云测试的准确性。The above implementations illustrate how to determine the true value of the volume target matched by the sampling point when the sampling point falls into multiple true value boxes. In this way, the matching relationship between the point cloud and the true value can be clarified, and the accuracy of the point cloud test can be improved.
在第一方面的又一种可能的实施方式中,第三采样点与至少两个真值框之间的位置,确
定与第三采样点匹配的体目标的真值,包括:In another possible implementation manner of the first aspect, the position between the third sampling point and at least two truth value frames is determined Determine the true value of the volume target that matches the third sampling point, including:
将至少两个真值框对应的体目标的真值与第三采样点建立点对,根据点对构造距离矩阵,得到真值与第三采样点之间的距离,将距离最近的真值作为与第三采样点匹配的真值。A point pair is established between the true value of the volume target corresponding to at least two truth value frames and the third sampling point, a distance matrix is constructed according to the point pair, the distance between the true value and the third sampling point is obtained, and the true value with the closest distance is taken as the true value matching the third sampling point.
通过构建距离矩阵,能够更加准确地确定采样点与真值之间的距离关系,确定与采样点匹配的体目标的真值,提升点云测试的准确性。By constructing a distance matrix, the distance relationship between the sampling points and the true value can be determined more accurately, the true value of the volume target matching the sampling points can be determined, and the accuracy of the point cloud test can be improved.
在第一方面的又一种可能的实施方式中,获取真值数据和点云,包括:In yet another possible implementation of the first aspect, obtaining true value data and a point cloud includes:
对初始真值和初始点云进行预处理,得到真值数据和点云。其中,预处理可以包含以下处理中的一项或者多项:时间对齐(或时间戳对齐)、坐标转换和格式转换等。预处理能够提升真值数据和点云之间的对应性,降低匹配时的复杂度,提升点云测试效率。The initial truth value and the initial point cloud are preprocessed to obtain the truth value data and the point cloud. The preprocessing may include one or more of the following processes: time alignment (or timestamp alignment), coordinate conversion, and format conversion. Preprocessing can improve the correspondence between the truth value data and the point cloud, reduce the complexity of matching, and improve the efficiency of point cloud testing.
在第一方面的又一种可能的实施方式中,通过匹配结果集合,对点云的精度、虚警、漏检等测试项进行评估。In another possible implementation of the first aspect, test items such as accuracy, false alarms, and missed detections of the point cloud are evaluated through a set of matching results.
在第一方面的又一种可能的实施方式中,方法还包括:In another possible implementation manner of the first aspect, the method further includes:
根据匹配结果集合中的匹配采样点,得到关于DUT的精度评估数据。其中,精度评估数据包含匹配采样点数量、测距精度、速度精度和高度精度中的一项或者多项。According to the matching sampling points in the matching result set, the accuracy evaluation data about the DUT is obtained, wherein the accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy and height accuracy.
在第一方面的又一种可能的实施方式中,根据匹配结果集合中的匹配采样点,得到关于DUT的精度评估数据,包括:In another possible implementation of the first aspect, obtaining accuracy evaluation data about the DUT according to the matching sampling points in the matching result set includes:
根据匹配采样点中与第四体目标的真值匹配的采样点的数量,得到关于第四体目标的匹配采样点数量。According to the number of sampling points in the matching sampling points that match the true value of the fourth body target, the number of matching sampling points about the fourth body target is obtained.
在第一方面的又一种可能的实施方式中,匹配采样点中包含与第二体目标的真值匹配的N个采样点,第二体目标的真值包含M个角点,M为整数且M>0,N为整数且N>0。In another possible implementation of the first aspect, the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0.
通过N个采样点和M个角点可以评估DUT在探测第二体目标时的测距精度。The distance measurement accuracy of the DUT when detecting the second target can be evaluated through N sampling points and M corner points.
在第一方面的又一种可能的实施方式中,N个采样点中包含最近采样点,M个角点中包含横向最近角点。其中,“最近”是指该点与参考点或参考设备之间的距离。例如,参考点可以为DUT所在的点,此时,最近采样点为N个采样点中与DUT相距最近的采样点,横向最近角点为M个角点中与DUT之间的横向距离最近的角点。In another possible implementation of the first aspect, the N sampling points include the nearest sampling point, and the M corner points include the nearest corner point in the horizontal direction. Here, "nearest" refers to the distance between the point and a reference point or a reference device. For example, the reference point may be the point where the DUT is located. In this case, the nearest sampling point is the sampling point that is closest to the DUT among the N sampling points, and the nearest corner point in the horizontal direction is the corner point that is closest to the DUT in the horizontal direction among the M corner points.
进一步的,测距精度包含关于第二体目标的横向测距精度,关于第二体目标的横向测距精度与,最近采样点和DUT之间的横向距离,以及横向最近角点与DUT之间的横向距离相关。Furthermore, the ranging accuracy includes a lateral ranging accuracy with respect to the second object, and the lateral ranging accuracy with respect to the second object is related to a lateral distance between the nearest sampling point and the DUT, and a lateral distance between the nearest lateral corner point and the DUT.
可理解的,前述以DUT为参考点为例进行说明。具体实施过程中,DUT也可以替换为车辆、车辆后轴中心、或真值系统等。It is understandable that the above description is made by taking DUT as a reference point as an example. In the specific implementation process, DUT can also be replaced by a vehicle, a rear axle center of a vehicle, or a true value system.
在第一方面的又一种可能的实施方式中,关于第二体目标的横向测距精度σx满足如下公式:In yet another possible implementation of the first aspect, the lateral ranging accuracy σ x of the second body target satisfies the following formula:
σx=|Xpi-Xcj|σ x = |X pi -X cj |
其中,Xpi是最近采样点和DUT之间的横向距离,Xcj为横向最近角点和DUT之间的横向距离。Where Xpi is the lateral distance between the nearest sampling point and the DUT, and Xcj is the lateral distance between the nearest lateral corner point and the DUT.
在第一方面的又一种可能的实施方式中,N个采样点中包含最近采样点,M个角点中包含径向最近角点。其中,“最近”是指该点与预设定点之间的距离。预设顶点例如可以为DUT,此时,最近采样点为N个采样点中与DUT相距最近的采样点,径向最近角点为M个角点中与DUT之间的径向距离最近的角点。In another possible implementation of the first aspect, the N sampling points include the nearest sampling point, and the M corner points include the radially nearest corner point. Here, "nearest" refers to the distance between the point and a preset point. The preset vertex may be, for example, a DUT. In this case, the nearest sampling point is the sampling point that is closest to the DUT among the N sampling points, and the radially nearest corner point is the corner point that is closest to the DUT in radial distance among the M corner points.
进一步的,测距精度包含关于第二体目标的纵向测距精度,关于第二体目标的纵向测距精度与最近采样点与DUT之间的径向距离以及径向最近角点与DUT之间的径向距离相关。
Furthermore, the ranging accuracy includes a longitudinal ranging accuracy with respect to the second object, and the longitudinal ranging accuracy with respect to the second object is related to a radial distance between a nearest sampling point and the DUT and a radial distance between a radial nearest corner point and the DUT.
在第一方面的又一种可能的实施方式中,关于第二体目标的纵向测距精度σd满足如下式子:In another possible implementation of the first aspect, the longitudinal ranging accuracy σd of the second target satisfies the following formula:
σd=|Dpi-Dck|σ d =|D pi −D ck |
其中,Dpi是最近采样点与DUT之间的径向距离,Dck为径向最近角点与DUT之间的径向距离。Where Dpi is the radial distance between the nearest sampling point and the DUT, and Dck is the radial distance between the radial nearest corner point and the DUT.
在第一方面的又一种可能的实施方式中,测速精度包含关于第三体目标的测速精度;In yet another possible implementation of the first aspect, the speed measurement accuracy includes speed measurement accuracy with respect to a third-body target;
匹配采样点中包含与第三体目标的真值匹配的K个采样点,K为整数且K>0;The matching sampling points include K sampling points that match the true value of the third-body target, where K is an integer and K>0;
K个采样点中包含最强采样点,关于第三体目标的测速精度与最强采样点的径向速度和第三体目标的真值的径向速度相关。The K sampling points include the strongest sampling point. The velocity measurement accuracy of the third-body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third-body target.
上述实施方式中说明了一种确定测速精度的方式。速度精度σv可以通过匹配点中的最强点径向速度与参考真值的径向速度误差绝对值大小来指示。例如,速度精度σv满足如下式子:The above embodiment describes a method for determining the speed measurement accuracy. The speed accuracy σ v can be indicated by the absolute value of the radial speed error between the strongest point in the matching point and the reference true value. For example, the speed accuracy σ v satisfies the following formula:
σv=|Vpi-Vt|σ v =|V pi −V t |
其中,Vpi为最强采样点的径向速度,Vt为第三体目标的真值的径向速度。Among them, Vpi is the radial velocity of the strongest sampling point, and Vt is the radial velocity of the true value of the third body target.
作为一种可能的实施方式,最强采样点为K个采样点中雷达散射截面(radar cross section,RCS)最强的采样点,与真值匹配的采样点为K个,K个采样点的RCS分别表示为Rp1,Rp2,Rp3,…,RpK。最强采样点的RCS可以表示Rpi,其可以满足如下式子:As a possible implementation, the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,…, R pK . The RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
Rpi=max(Rp1,Rp2,Rp3,…,RpK)R pi =max(R p1 ,R p2 ,R p3 ,…,R pK )
可选的,第三体目标的真值的径向速度可以替换为第三体目标的径向速度。Optionally, the true radial velocity of the third body target may be replaced by the radial velocity of the third body target.
在第一方面的又一种可能的实施方式,未匹配采样点可以用于虚警判断。虚警即某些情况下,目标不存在而探测装置判断为有目标并输出点云的时间。虚警可以对应未与真值匹配的点云。在虚警判断时,可以对点云帧中的未匹配采样点进行跟踪,采用多帧关联的方式确定点云中是否存在虚警。如此,可以在之后的点云帧中对未匹配采样点实现追踪,可以减少由于点云闪烁而带来的虚警判断误差,提高虚警判断的准确性,提升点云测试的准确性。In another possible implementation of the first aspect, unmatched sampling points can be used for false alarm judgment. A false alarm is a time when a target does not exist but the detection device judges that there is a target and outputs a point cloud under certain circumstances. A false alarm may correspond to a point cloud that does not match the true value. When judging a false alarm, the unmatched sampling points in the point cloud frame can be tracked, and a multi-frame association method is used to determine whether there is a false alarm in the point cloud. In this way, the unmatched sampling points can be tracked in subsequent point cloud frames, which can reduce the false alarm judgment error caused by point cloud flickering, improve the accuracy of false alarm judgment, and improve the accuracy of point cloud testing.
在第一方面的又一种可能的实施方式中,二维点云包含多个连续的点云帧,匹配集合包含未匹配采样点,方法还包括:In another possible implementation of the first aspect, the two-dimensional point cloud includes a plurality of continuous point cloud frames, the matching set includes unmatched sampling points, and the method further includes:
根据未匹配采样点中位于多个连续的点云帧中的采样点,确定多个连续的点云帧中的虚警目标。According to sampling points in the multiple continuous point cloud frames that are among the unmatched sampling points, false alarm targets in the multiple continuous point cloud frames are determined.
在第一方面的又一种可能的实施方式中,多个连续的点云帧包含第二点云帧和第二点云帧之后的Q个点云帧,Q为整数且Q>0;In another possible implementation manner of the first aspect, the plurality of continuous point cloud frames include the second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;
根据未匹配采样点中位于多个连续的点云帧中的采样点,确定点云中的虚警目标,包括:According to the sampling points in the unmatched sampling points located in multiple continuous point cloud frames, the false alarm targets in the point cloud are determined, including:
将未匹配采样点中位于第二点云帧中的采样点聚类,得到至少一个点云簇;Clustering the sampling points in the second point cloud frame among the unmatched sampling points to obtain at least one point cloud cluster;
为至少一个点云簇中的第一点云簇分配初始生命值;assigning an initial life value to a first point cloud cluster in the at least one point cloud cluster;
根据未匹配采样点中位于Q个点云帧中的采样点,确定Q个点云帧中的点云簇;According to the sampling points in the Q point cloud frames among the unmatched sampling points, point cloud clusters in the Q point cloud frames are determined;
根据第一点云簇的位置和Q个点云帧中的点云簇的位置,确定多个连续的点云帧中的虚警目标。False alarm targets in a plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
其中,Q可以是固定的数字,也可以是非固定的数字。Here, Q can be a fixed number or a non-fixed number.
在上述实施方式中,测试装置将未匹配点云聚类得到多个点云簇,每个点云簇被赋予初始生命值。对于在某一点云帧中存在的一个点云簇,将该点云帧与后续的多个点云帧进行匹配。若之后的点云帧中存在与其匹配的点云簇,则将该点云簇的生命值增加,反之则降低该点云簇的生命值;如此重复匹配多个点云帧。若点云簇的生命值到达第一阈值时,该点云簇形成虚警目标。若点云簇的生命值达到第二阈值或者低于第三阈值,则该点云簇则不形成虚警目标,可选可以丢弃该点云簇。由于单个采样点容易产生闪烁、匹配复杂度高且结果可靠
性低,上述实施方式将未匹配采样点进行聚类,以点云簇的方式来实现对未匹配点云的追踪,不仅降低了匹配的复杂度,还大大提升了虚警判断的可靠性和可用性,提升了点云测试的准确性。In the above embodiment, the testing device clusters the unmatched point cloud to obtain multiple point cloud clusters, and each point cloud cluster is assigned an initial life value. For a point cloud cluster existing in a certain point cloud frame, the point cloud frame is matched with multiple subsequent point cloud frames. If there is a point cloud cluster matching it in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; repeat the matching of multiple point cloud frames. If the life value of the point cloud cluster reaches the first threshold, the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster reaches the second threshold or is lower than the third threshold, the point cloud cluster does not form a false alarm target, and the point cloud cluster can be discarded. Because a single sampling point is prone to flickering, the matching complexity is high and the results are unreliable The above implementation method clusters the unmatched sampling points and tracks the unmatched point clouds in the form of point cloud clusters, which not only reduces the complexity of matching, but also greatly improves the reliability and availability of false alarm judgment and improves the accuracy of point cloud testing.
应理解,达到第一阈值可以是高于或者高于等于第一阈值,以具体设计为准。对于第二阈值、第三阈值同理。It should be understood that reaching the first threshold may be higher than or equal to the first threshold, which is subject to specific design. The same is true for the second threshold and the third threshold.
一些场景中,在匹配点云簇时,根据点云帧中的点云簇的大小确定点云簇框,该匹配框可以包住簇内的点云。对于当前点云帧,若下一点云帧中存在点云簇框与当前帧的点云簇框有重合部分,计算点云簇框与点云簇框之间的重合度矩阵,建立框间关联。若下一点云帧中存在点云簇框与当前帧的点云簇框匹配成功,则此点云簇生命值增加;反之则点云簇生命值降低。In some scenarios, when matching point cloud clusters, the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the matching frame can enclose the point cloud in the cluster. For the current point cloud frame, if there is a point cloud cluster frame in the next point cloud frame that overlaps with the point cloud cluster frame of the current frame, the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish the association between the frames. If there is a point cloud cluster frame in the next point cloud frame that successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases.
通过匹配框建立框间关联,可以进一步降低计算复杂度,提升点云测试效率。By establishing associations between frames through matching frames, the computational complexity can be further reduced and the efficiency of point cloud testing can be improved.
在第一方面的又一种可能的实施方式中,未匹配点云还可以用于确定虚警率。In yet another possible implementation of the first aspect, the unmatched point cloud may also be used to determine a false alarm rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和虚警点云帧的数量,确定虚警率。其中,虚警点云帧为存在虚警目标的点云帧,或者,虚警点云帧为包含至少一个生命值达到第一阈值的点云簇的点云帧。Exemplarily, the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
示例性的,虚警率ρ满足如下式子:Exemplarily, the false alarm rate ρ satisfies the following formula:
其中,n为参与虚警目标计算的点云帧的帧数,nfalse为存在虚警目标的帧数。Among them, n is the number of point cloud frames involved in the calculation of false alarm targets, and n false is the number of frames with false alarm targets.
在第一方面的又一种可能的实施方式,未匹配真值可以用于漏检判断。漏检即某些情况下,目标存在而雷达判断为无目标没有输出点云这一事件。点云的漏检可以对应未匹配点云的真值。In another possible implementation of the first aspect, the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, a target exists but the radar judges that there is no target and does not output a point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
可选的,在漏检判断时,可以确定体目标是否被遮挡。当体目标被遮挡时,则对该体目标的漏检不属于有效漏检。如此,可以减少由于体目标遮挡而带来的漏检判断误差,提高漏检判断的准确性,提升点云测试的准确性。Optionally, when judging missed detection, it can be determined whether the volume target is blocked. If the volume target is blocked, the missed detection of the volume target does not constitute a valid missed detection. In this way, the missed detection judgment error caused by the occlusion of the volume target can be reduced, the accuracy of missed detection judgment can be improved, and the accuracy of point cloud testing can be improved.
在第一方面的又一种可能的实施方式中,二维点云包含第三点云帧,匹配结果集合包含第三点云帧对应的未匹配真值;In another possible implementation of the first aspect, the two-dimensional point cloud includes a third point cloud frame, and the matching result set includes an unmatched true value corresponding to the third point cloud frame;
方法还包括:The method also includes:
根据第三点云帧对应的未匹配真值,确定第三点云帧中的疑似漏检目标;Determine the suspected missed detection target in the third point cloud frame according to the unmatched true value corresponding to the third point cloud frame;
根据至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标;Determining the obscured volume target according to a field of view relationship between at least one volume target and the radar;
过滤第三点云帧中的疑似漏检目标中被遮挡的体目标,确定第三点云帧包含的漏检目标。The occluded volume targets in the suspected missed targets in the third point cloud frame are filtered to determine the missed targets contained in the third point cloud frame.
在上述实施方式中,测试装置根据未匹配真值确定疑似漏检目标,根据遮挡关系,去除疑似漏检目标中被遮挡的体目标,减少由于体目标遮挡而带来的漏检判断误差。In the above embodiment, the testing device determines the suspected missed detection targets according to the unmatched true value, removes the obscured body targets from the suspected missed detection targets according to the occlusion relationship, and reduces the missed detection judgment error caused by the occlusion of the body targets.
在第一方面的又一种可能的实施方式中,根据至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标,包括:In another possible implementation of the first aspect, determining the obscured volume target according to a field of view relationship between at least one volume target and a radar includes:
根据至少一个体目标中的第五体目标与DUT之间的连线与其他体目标的边的相交情况,确定第五体目标是否被遮挡。Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
例如,若第五体目标的多个角点中存在V个被遮挡角点,则第五体目标被遮挡,V为整数且V>0,其中被遮挡角点为角点连线与其它体目标的边相交的角点。For example, if there are V occluded corner points among the multiple corner points of the fifth object, the fifth object is occluded, V is an integer and V>0, wherein the occluded corner points are corner points where the lines connecting the corner points intersect with the edges of other objects.
再如,若第五体目标为遮挡目标,则其满足如下两个条件:①第五体目标的V个角点与DUT的连交,V为整数且V>0;②第五体目标中有效边的数量大于等于第四阈值。其中第
四阈值可以是预先定义或者预先设置的。例如,第四阈值可以为4,或者第四阈值为1。其中,有效边可以通过如下方式确定:对于第五体目标中的任一角点或任一边角点(边角点指位于边上的角点),若该角点(或该边角点)与DUT的连线相交于第五体目标任一边,则该角点(或该边角点)所在的边无效。若第五体目标中的第一边上的角点与DUT的连线均与第五体目标中的其它边不相交,则该第一边为有效边。For example, if the fifth object is an occluded object, it satisfies the following two conditions: ① V corner points of the fifth object intersect with the DUT, V is an integer and V>0; ② The number of valid edges in the fifth object is greater than or equal to the fourth threshold. The four thresholds may be predefined or pre-set. For example, the fourth threshold may be 4, or the fourth threshold may be 1. The valid edge may be determined in the following manner: for any corner point or any edge corner point (edge corner point refers to a corner point located on an edge) in the fifth body target, if the line connecting the corner point (or the edge corner point) and the DUT intersects on any edge of the fifth body target, the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner point on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, the first edge is a valid edge.
在第一方面的又一种可能的实施方式中,在漏检判断时,可以在点云帧中对未匹配真值对应的区域进行跟踪,采用多帧关联的方式确定体目标是否被漏检。如此,可以在之后的点云帧中对未匹配真值实现追踪,可以减少由于点云闪烁而带来的漏检判断误差,提高虚警判断的准确性,提升点云测试的准确性。In another possible implementation of the first aspect, when judging missed detection, the area corresponding to the unmatched true value can be tracked in the point cloud frame, and a multi-frame association method can be used to determine whether the volume target is missed. In this way, the unmatched true value can be tracked in subsequent point cloud frames, which can reduce the missed detection judgment error caused by point cloud flickering, improve the accuracy of false alarm judgment, and enhance the accuracy of point cloud testing.
示例性的,当连续三点云帧存在对于某一体目标的漏检时,该体目标为确定漏检目标。Exemplarily, when there is a missed detection of a certain volume target in three consecutive point cloud frames, the volume target is determined to be a missed detection target.
在第一方面的又一种可能的实施方式中,未匹配真值还可以用于确定漏检率。In yet another possible implementation of the first aspect, the unmatched true value may also be used to determine the missed detection rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和漏检点云帧的数量,确定漏检率。其中,漏检点云帧为存在漏检目标(或确定漏检目标)的点云帧。Exemplarily, the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
示例性的,漏检率γ满足如下式子:Exemplarily, the missed detection rate γ satisfies the following formula:
其中,n为参与漏检目标计算的点云帧的帧数,n_lose为漏检点云帧的帧数。Among them, n is the number of point cloud frames involved in the calculation of missed targets, and n_lose is the number of missed point cloud frames.
第二方面,本申请实施例提供一种点云测试装置,点云测试装置包含数据获取模块和数据匹配模块,其中:In a second aspect, an embodiment of the present application provides a point cloud testing device, the point cloud testing device comprising a data acquisition module and a data matching module, wherein:
数据获取模块用于获取真值数据和点云,真值数据为体目标的真值,点云为DUT对体目标进行探测得到的探测结果,探测结果包含采样点;The data acquisition module is used to obtain true value data and point cloud. The true value data is the true value of the volume target, and the point cloud is the detection result obtained by the DUT on the volume target. The detection result includes sampling points.
数据匹配模块用于将点云和真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The data matching module is used to match the point cloud and the true value data to obtain a matching result set, which includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
可选的,体目标的数量可以是一个或者多个。为了便于描述本申请的方案,以下将体目标的数量描述为至少一个。Optionally, the number of volume targets may be one or more. In order to facilitate the description of the solution of the present application, the number of volume targets is described as at least one below.
在第二方面的又一种可能的实施方式中,数据匹配模块用于:In yet another possible implementation manner of the second aspect, the data matching module is used to:
根据真值数据建立三维匹配框;Establish a three-dimensional matching box based on the true value data;
将点云与三维匹配框进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The point cloud is matched with the three-dimensional matching box to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
在第二方面的一种可能的实施方式中,数据匹配模块用于:In a possible implementation manner of the second aspect, the data matching module is used to:
将真值数据投影得到二维真值数据;Project the true value data to obtain two-dimensional true value data;
将点云投影得到二维点云;Project the point cloud to obtain a two-dimensional point cloud;
将二维点云与二维真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
在第二方面的一种可能的实施方式中,数据匹配模块用于:In a possible implementation manner of the second aspect, the data matching module is used to:
将真值数据投影到水平平面,得到二维真值数据;Project the true value data onto the horizontal plane to obtain two-dimensional true value data;
将点云投影得到二维点云,包括:Project the point cloud to obtain a two-dimensional point cloud, including:
将点云投影到水平平面,得到二维点云。Project the point cloud onto a horizontal plane to obtain a two-dimensional point cloud.
在第二方面的又一种可能的实施方式中,真值数据和点云的时间对齐。进一步的,在真值数据和点云被投影为二维数据时,二维真值数据和二维点云的时间对齐。In another possible implementation of the second aspect, the time of the true value data and the point cloud is aligned. Further, when the true value data and the point cloud are projected as two-dimensional data, the time of the two-dimensional true value data and the two-dimensional point cloud is aligned.
在第二方面的又一种可能的实施方式中,真值数据和点云的坐标对齐。
In yet another possible implementation of the second aspect, the coordinates of the true value data and the point cloud are aligned.
在第二方面的又一种可能的实施方式中,二维真值数据包含多个真值帧,二维点云包含多个点云帧;In yet another possible implementation of the second aspect, the two-dimensional truth data includes a plurality of truth frames, and the two-dimensional point cloud includes a plurality of point cloud frames;
数据匹配模块,还用于:The data matching module is also used to:
确定第一真值帧中的至少一个真值框,其中,一个真值框对应一个体目标,第一真值帧属于多个真值帧;Determine at least one truth frame in a first truth frame, wherein one truth frame corresponds to one volume target, and the first truth frame belongs to multiple truth frames;
根据至少一个真值框的范围和第一点云帧中的多个采样点的位置,得到匹配结果子集,其中,第一点云帧属于多个点云帧,第一点云帧和第一真值帧的时间戳相同,匹配结果子集属于匹配结果集合。A matching result subset is obtained according to a range of at least one true value frame and positions of multiple sampling points in a first point cloud frame, wherein the first point cloud frame belongs to multiple point cloud frames, the first point cloud frame and the first true value frame have the same timestamp, and the matching result subset belongs to a matching result set.
在第二方面的又一种可能的实施方式中,至少一个真值框包含第一体目标对应的第一真值框,第一体目标属于至少一个体目标;In yet another possible implementation of the second aspect, the at least one truth box includes a first truth box corresponding to a first volume target, and the first volume target belongs to the at least one volume target;
在第一点云帧包含第一采样点且第一采样点落入第一真值框的情况下,第一采样点属于匹配采样点,且第一采样点与第一体目标的真值匹配;When the first point cloud frame includes the first sampling point and the first sampling point falls into the first true value frame, the first sampling point belongs to the matching sampling point, and the first sampling point matches the true value of the first volume target;
在第一点云帧包含第二采样点且第二采样点未落入至少一个真值框中的任意一个真值框的情况下,第二采样点属于未匹配采样点;In the case where the first point cloud frame includes the second sampling point and the second sampling point does not fall into any truth frame of the at least one truth frame, the second sampling point belongs to an unmatched sampling point;
在第一点云帧中任意一个采样点均未落入第一真值框的情况下,则第一真值框对应的真值属于未匹配真值。When any sampling point in the first point cloud frame does not fall into the first true value frame, the true value corresponding to the first true value frame is an unmatched true value.
在第二方面的又一种可能的实施方式中,至少一个真值框的数量大于或大于等于2,In yet another possible implementation of the second aspect, the number of at least one truth box is greater than or equal to 2,
数据匹配模块,还用于:The data matching module is also used to:
在第一点云帧包含第三采样点且第三采样点落入至少两个真值框的情况下,根据第三采样点与至少两个真值框对应的体目标的真值之间的位置,确定与第三采样点匹配的体目标的真值。When the first point cloud frame includes the third sampling point and the third sampling point falls into at least two true value frames, the true value of the volume target matching the third sampling point is determined according to the position between the third sampling point and the true values of the volume targets corresponding to the at least two true value frames.
在第二方面的又一种可能的实施方式中,数据匹配模块,还用于:In yet another possible implementation manner of the second aspect, the data matching module is further configured to:
将至少两个真值框对应的体目标的真值与第三采样点建立点对,根据点对构造距离矩阵,得到真值与第三采样点之间的距离,将距离最近的真值作为与第三采样点匹配的真值。A point pair is established between the true value of the volume target corresponding to at least two truth value frames and the third sampling point, a distance matrix is constructed according to the point pair, the distance between the true value and the third sampling point is obtained, and the true value with the closest distance is taken as the true value matching the third sampling point.
在第二方面的又一种可能的实施方式中,数据获取模块,还用于:In yet another possible implementation manner of the second aspect, the data acquisition module is further configured to:
对初始真值和初始点云进行预处理,得到真值数据和点云。其中,预处理可以包含以下处理中的一项或者多项:时间对齐、坐标转换和格式转换等。预处理能够提升真值数据和点云之间的对应性,降低匹配时的复杂度,提升点云测试效率。The initial truth value and the initial point cloud are preprocessed to obtain the truth value data and the point cloud. The preprocessing may include one or more of the following processes: time alignment, coordinate conversion, and format conversion. Preprocessing can improve the correspondence between the truth value data and the point cloud, reduce the complexity of matching, and improve the efficiency of point cloud testing.
在第二方面的又一种可能的实施方式中,点云测试装置还包含数据计算模块,数据计算模块用于通过匹配结果集合,对点云的精度、虚警、漏检进行评估。In another possible implementation of the second aspect, the point cloud testing device further includes a data calculation module, which is used to evaluate the accuracy, false alarms, and missed detections of the point cloud through a matching result set.
在第二方面的又一种可能的实施方式中,点云测试装置还包含数据计算模块,数据计算模块用于根据匹配结果集合中的匹配采样点,得到关于DUT的精度评估数据。其中,精度评估数据包含匹配采样点数量、测距精度、速度精度和高度精度中的一项或者多项。In another possible implementation of the second aspect, the point cloud testing device further includes a data calculation module, which is used to obtain accuracy evaluation data about the DUT based on the matching sampling points in the matching result set. The accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy, and height accuracy.
在第二方面的又一种可能的实施方式中,数据计算模块还用于:In yet another possible implementation manner of the second aspect, the data calculation module is further used to:
根据匹配采样点中与第四体目标的真值匹配的采样点的数量,得到关于第四体目标的匹配采样点数量。According to the number of sampling points in the matching sampling points that match the true value of the fourth body target, the number of matching sampling points about the fourth body target is obtained.
在第二方面的又一种可能的实施方式中,匹配采样点中包含与第二体目标的真值匹配的N个采样点,第二体目标的真值包含M个角点,M为整数且M>0,N为整数且N>0。In another possible implementation of the second aspect, the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0.
数据计算模块还用于根据N个采样点和M个角点评估DUT在探测第二体目标时的测距精度。The data calculation module is also used to evaluate the ranging accuracy of the DUT when detecting the second body target based on the N sampling points and the M corner points.
在第二方面的又一种可能的实施方式中,N个采样点中包含最近采样点,M个角点中包
含横向最近角点。进一步的,测距精度包含关于第二体目标的横向测距精度,关于第二体目标的横向测距精度与最近采样点和DUT之间的横向距离以及径向最近角点与DUT之间的径向距离相关。In another possible implementation manner of the second aspect, the N sampling points include the nearest sampling point, and the M corner points include Furthermore, the ranging accuracy includes the lateral ranging accuracy with respect to the second object, and the lateral ranging accuracy with respect to the second object is related to the lateral distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
在第二方面的又一种可能的实施方式中,关于第二体目标的横向测距精度σx满足如下公式:In yet another possible implementation of the second aspect, the lateral ranging accuracy σ x of the second body target satisfies the following formula:
σx=|Xpi-Xcj|σ x = |X pi -X cj |
其中,Xpi是最近采样点和DUT之间的横向距离,Xcj为横向最近角点和DUT之间的横向距离。Where Xpi is the lateral distance between the nearest sampling point and the DUT, and Xcj is the lateral distance between the nearest lateral corner point and the DUT.
在第二方面的又一种可能的实施方式中,N个采样点中包含最近采样点,M个角点中包含径向最近角点。进一步的,测距精度包含关于第二体目标的纵向测距精度,关于第二体目标的纵向测距精度与最近采样点与DUT之间的径向距离以及径向最近角点与DUT之间的径向距离相关。In another possible implementation manner of the second aspect, the N sampling points include the nearest sampling point, and the M corner points include the radial nearest corner point. Further, the ranging accuracy includes the longitudinal ranging accuracy with respect to the second body target, and the longitudinal ranging accuracy with respect to the second body target is related to the radial distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
在第二方面的又一种可能的实施方式中,关于第四体目标的纵向测距精度σd满足如下式子:In yet another possible implementation of the second aspect, the longitudinal ranging accuracy σd of the fourth target satisfies the following formula:
σd=|Dpi-Dck|σ d =|D pi −D ck |
其中,Dpi是最近采样点与DUT之间的径向距离,Dck为径向最近角点与DUT之间的径向距离。Where Dpi is the radial distance between the nearest sampling point and the DUT, and Dck is the radial distance between the radial nearest corner point and the DUT.
在第二方面的又一种可能的实施方式中,测速精度包含关于第三体目标的测速精度;In yet another possible implementation of the second aspect, the speed measurement accuracy includes speed measurement accuracy with respect to a third-body target;
匹配采样点中包含与第三体目标的真值匹配的K个采样点,K为整数且K>0;The matching sampling points include K sampling points that match the true value of the third body target, where K is an integer and K>0;
K个采样点中包含最强采样点,关于第三体目标的测速精度与最强采样点的径向速度和第三体目标的真值的径向速度相关。The K sampling points include the strongest sampling point. The velocity measurement accuracy of the third-body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third-body target.
上述实施方式中说明了一种确定测速精度的方式。速度精度σv可以通过匹配点中的最强点径向速度与参考真值的径向速度误差绝对值大小来指示。例如,速度精度σv满足如下式子:The above embodiment describes a method for determining the speed measurement accuracy. The speed accuracy σ v can be indicated by the absolute value of the radial speed error between the strongest point in the matching point and the reference true value. For example, the speed accuracy σ v satisfies the following formula:
σv=|Vpi-Vt|σ v =|V pi −V t |
其中,Vpi为最强采样点的径向速度,Vt为第三体目标的真值的径向速度。Among them, Vpi is the radial velocity of the strongest sampling point, and Vt is the radial velocity of the true value of the third body target.
作为一种可能的实施方式,最强采样点为K个采样点中雷达散射截面(radar cross section,RCS)最强的采样点,与真值匹配的采样点为K个,K个采样点的RCS分别表示为Rp1,Rp2,Rp3,…,RpK。最强采样点的RCS可以表示Rpi,其可以满足如下式子:As a possible implementation, the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,…, R pK . The RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
Rpi=max(Rp1,Rp2,Rp3,…,RpK)R pi =max(R p1 ,R p2 ,R p3 ,…,R pK )
可选的,第三体目标的真值的径向速度可以替换为第三体目标的径向速度。Optionally, the true radial velocity of the third body target may be replaced by the radial velocity of the third body target.
在第二方面的又一种可能的实施方式,未匹配采样点可以用于虚警判断。In yet another possible implementation manner of the second aspect, unmatched sampling points may be used for false alarm judgment.
在第二方面的又一种可能的实施方式中,点云测试装置还包含数据计算模块,数据计算模块还用于:In yet another possible implementation manner of the second aspect, the point cloud testing device further includes a data calculation module, and the data calculation module is further used to:
根据未匹配采样点中位于多个连续的点云帧中的采样点,确定多个连续的点云帧中的虚警目标。According to sampling points in the multiple continuous point cloud frames that are among the unmatched sampling points, false alarm targets in the multiple continuous point cloud frames are determined.
在第二方面的又一种可能的实施方式中,多个连续的点云帧包含第二点云帧和第二点云帧之后的Q个点云帧,Q为整数且Q>0;In another possible implementation of the second aspect, the plurality of continuous point cloud frames include the second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;
数据计算模块,还用于:The data calculation module is also used for:
将未匹配采样点中位于第二点云帧中的采样点聚类,得到至少一个点云簇;Clustering the sampling points in the second point cloud frame among the unmatched sampling points to obtain at least one point cloud cluster;
为至少一个点云簇中的第一点云簇分配初始生命值;assigning an initial life value to a first point cloud cluster in the at least one point cloud cluster;
根据未匹配采样点中位于Q个点云帧中的采样点,确定Q个点云帧中的点云簇;According to the sampling points in the Q point cloud frames among the unmatched sampling points, point cloud clusters in the Q point cloud frames are determined;
根据第一点云簇的位置和Q个点云帧中的点云簇的位置,确定多个连续的点云帧中的虚警目标。
False alarm targets in a plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
在上述实施方式中,测试装置将未匹配点云聚类得到多个点云簇,每个点云簇被赋予初始生命值。对于在某一点云帧中存在的一个点云簇,将该点云帧与后续的多个点云帧进行匹配。若之后的点云帧中存在与其匹配的点云簇,则将该点云簇的生命值增加,反之则降低该点云簇的生命值;如此重复匹配多个点云帧。若点云簇的生命值到达第一阈值时,该点云簇形成虚警目标。若点云簇的生命值达到第二阈值或者低于第三阈值,则该点云簇则不形成虚警目标,可选可以丢弃该点云簇。In the above embodiment, the testing device clusters the unmatched point cloud to obtain a plurality of point cloud clusters, and each point cloud cluster is assigned an initial life value. For a point cloud cluster existing in a certain point cloud frame, the point cloud frame is matched with a plurality of subsequent point cloud frames. If there is a point cloud cluster matching it in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; and the matching of multiple point cloud frames is repeated in this way. If the life value of the point cloud cluster reaches the first threshold, the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster reaches the second threshold or is lower than the third threshold, the point cloud cluster does not form a false alarm target, and the point cloud cluster can be optionally discarded.
一些场景中,在匹配点云簇时,根据点云帧中的点云簇的大小确定点云簇框,该匹配框可以包住簇内的点云。对于当前点云帧,若下一点云帧中存在点云簇框与当前帧的点云簇框有重合部分,计算点云簇框与点云簇框之间的重合度矩阵,建立框间关联。若下一点云帧中存在点云簇框与当前帧的点云簇框匹配成功,则此点云簇生命值增加;反之则点云簇生命值降低。In some scenarios, when matching point cloud clusters, the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the matching frame can enclose the point cloud in the cluster. For the current point cloud frame, if there is a point cloud cluster frame in the next point cloud frame that overlaps with the point cloud cluster frame of the current frame, the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish the association between the frames. If there is a point cloud cluster frame in the next point cloud frame that successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases.
在第二方面的又一种可能的实施方式中,未匹配点云还可以用于确定虚警率。In yet another possible implementation of the second aspect, the unmatched point cloud may also be used to determine a false alarm rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和虚警点云帧的数量,确定虚警率。其中,虚警点云帧为存在虚警目标的点云帧,或者,虚警点云帧为包含至少一个生命值达到第一阈值的点云簇的点云帧。Exemplarily, the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
示例性的,虚警率ρ满足如下式子:Exemplarily, the false alarm rate ρ satisfies the following formula:
其中,n为参与虚警目标计算的点云帧的帧数,nfalse为存在虚警目标的帧数。Among them, n is the number of point cloud frames involved in the calculation of false alarm targets, and n false is the number of frames with false alarm targets.
在第二方面的又一种可能的实施方式,未匹配真值可以用于漏检判断。漏检即某些情况下,目标存在而雷达判断为无目标没有输出点云这一事件。点云的漏检可以对应未匹配点云的真值。In another possible implementation of the second aspect, the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, a target exists but the radar judges that there is no target and does not output a point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
在第二方面的又一种可能的实施方式中,二维点云包含第三点云帧,匹配结果集合包含第三点云帧对应的未匹配真值;In yet another possible implementation of the second aspect, the two-dimensional point cloud includes a third point cloud frame, and the matching result set includes an unmatched true value corresponding to the third point cloud frame;
数据计算模块,还用于:The data calculation module is also used for:
根据第三点云帧对应的未匹配真值,确定第三点云帧中的疑似漏检目标;Determine the suspected missed detection target in the third point cloud frame according to the unmatched true value corresponding to the third point cloud frame;
根据至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标;Determining the obscured volume target according to a field of view relationship between at least one volume target and the radar;
过滤第三点云帧中的疑似漏检目标中被遮挡的体目标,确定第三点云帧包含的漏检目标。The occluded volume targets in the suspected missed targets in the third point cloud frame are filtered to determine the missed targets contained in the third point cloud frame.
在第二方面的又一种可能的实施方式中,数据计算模块,还用于In another possible implementation of the second aspect, the data calculation module is further used to
根据至少一个体目标中的第五体目标与DUT之间的连线与其他体目标的边的相交情况,确定第五体目标是否被遮挡。Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
根据至少一个体目标中的第五体目标与DUT之间的连线与其他体目标的边的相交情况,确定第五体目标是否被遮挡。Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
例如,若第五体目标的多个角点中存在V个被遮挡角点,则第五体目标被遮挡,V为整数且V>0,其中被遮挡角点为角点连线与其它体目标的边相交的角点。For example, if there are V occluded corner points among the multiple corner points of the fifth object, the fifth object is occluded, V is an integer and V>0, wherein the occluded corner points are corner points where the lines connecting the corner points intersect with the edges of other objects.
再如,若第五体目标为遮挡目标,则其满足如下两个条件:①第五体目标的V个角点与DUT的连线与其它体目标的边相交,V为整数且V>0;②第五体目标中有效边的数量大于等于第四阈值。其中第四阈值可以是预先定义或者预先设置的。例如,第四阈值可以为4,或者第四阈值为1。其中,有效边可以通过如下方式确定:对于第五体目标中的任一角点或任一边角点(边角点指位于边上的角点),若该角点(或该边角点)与DUT的连线相交于第五体目标任一边,则该角点(或该边角点)所在的边无效。若第五体目标中的第一边上的角点与DUT的连线均与第五体目标中的其它边不相交,则该第一边为有效边。
For another example, if the fifth body target is an occluding target, it satisfies the following two conditions: ① The lines connecting the V corner points of the fifth body target and the DUT intersect with the edges of other body targets, V is an integer and V>0; ② The number of valid edges in the fifth body target is greater than or equal to the fourth threshold. The fourth threshold may be predefined or pre-set. For example, the fourth threshold may be 4, or the fourth threshold may be 1. The valid edges may be determined as follows: for any corner point or any edge corner point (edge corner point refers to a corner point located on an edge) in the fifth body target, if the line connecting the corner point (or the edge corner point) and the DUT intersects with any edge of the fifth body target, the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner points on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, the first edge is a valid edge.
在第二方面的又一种可能的实施方式中,在漏检判断时,可以在点云帧中对未匹配真值对应的区域进行跟踪,采用多帧关联的方式确定体目标是否被漏检。In another possible implementation of the second aspect, when judging missed detection, the area corresponding to the unmatched true value can be tracked in the point cloud frame, and a multi-frame association method can be used to determine whether the volume target is missed.
示例性的,当连续三点云帧存在对于某一体目标的漏检时,该体目标为确定漏检目标。Exemplarily, when there is a missed detection of a certain volume target in three consecutive point cloud frames, the volume target is determined to be a missed detection target.
在第二方面的又一种可能的实施方式中,未匹配真值还可以用于确定漏检率。In yet another possible implementation of the second aspect, the unmatched true value may also be used to determine the missed detection rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和漏检点云帧的数量,确定漏检率。其中,漏检点云帧为存在漏检目标(或确定漏检目标)的点云帧。Exemplarily, the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
示例性的,漏检率γ满足如下式子:Exemplarily, the missed detection rate γ satisfies the following formula:
其中,n为参与漏检目标计算的点云帧的帧数,n_lose为漏检点云帧的帧数。Among them, n is the number of point cloud frames involved in the calculation of missed targets, and n_lose is the number of missed point cloud frames.
第三方面,本申请实施例提供一种芯片,该芯片包括处理器。当处理器调用计算机程序或指令时,使前述第一方面任一项所描述的方法被执行。也即,处理器用于实现第一方面任一项的描述的方法。In a third aspect, an embodiment of the present application provides a chip, the chip comprising a processor. When the processor calls a computer program or instruction, the method described in any one of the first aspects is executed. That is, the processor is used to implement the method described in any one of the first aspects.
可选的,芯片还包括通信接口,通信接口用于接收和/或发送数据,和/或,通信接口用于为处理器提供输入和/或输出。Optionally, the chip further includes a communication interface, where the communication interface is used to receive and/or send data, and/or the communication interface is used to provide input and/or output for the processor.
可选的,芯片还可以包含存储器,存储器可以用于存储计算机程序或指令。进一步的,存储器可以位于处理器之外,或者,与存储器集成在一起。Optionally, the chip may also include a memory, which may be used to store computer programs or instructions. Furthermore, the memory may be located outside the processor, or may be integrated with the memory.
第四方面,本申请实施例提供一种计算设备,该计算设备包括处理器;当处理器调用存储器中的计算机程序或指令时,使前述第一方面任一项所描述的方法被执行。In a fourth aspect, an embodiment of the present application provides a computing device, which includes a processor; when the processor calls a computer program or instruction in a memory, the method described in any one of the first aspects above is executed.
可选的,计算设备还包括通信接口,通信接口用于接收和/或发送数据,和/或,通信接口用于为处理器提供输入和/或输出。Optionally, the computing device further includes a communication interface, where the communication interface is used to receive and/or send data, and/or the communication interface is used to provide input and/or output for the processor.
需要说明的是,上述实施例是以通过调用计算机指定来执行方法的处理器(或称通用处理器)为例进行说明。具体实施过程中,处理器还可以是专用处理器,此时计算机指令已经预先加载在处理器中。可选的,处理器还可以既包括专用处理器也包括通用处理器。It should be noted that the above embodiment is described by taking a processor (or general-purpose processor) that executes the method by calling a computer specification as an example. In the specific implementation process, the processor can also be a dedicated processor, in which case the computer instructions have been pre-loaded in the processor. Optionally, the processor can also include both a dedicated processor and a general-purpose processor.
可选的,计算设备还可以包含存储器,存储器可以用于存储计算机程序或指令。进一步的,存储器可以位于处理器之外,或者,与存储器集成在一起。Optionally, the computing device may further include a memory, which may be used to store computer programs or instructions. Furthermore, the memory may be located outside the processor, or may be integrated with the memory.
第五方面,本申请实施例提供一种点云测试系统,点云测试系统包含数据预处理模块、数据匹配模块和数据计算模块,点云测试用于实现第一方面任一项所描述的方法。In a fifth aspect, an embodiment of the present application provides a point cloud testing system, which includes a data preprocessing module, a data matching module and a data calculation module. The point cloud test is used to implement any method described in the first aspect.
进一步的,点云测试系统还包含数据统计模块,数据统计模块用于统计匹配结果。Furthermore, the point cloud testing system also includes a data statistics module, which is used to count the matching results.
进一步的,点云测试系统还包含数据存储模块,存储模块用于保存初始真值数据和初始点云。进一步,还用于保存真值数据、点云、匹配结果集合、测试项结果等。Furthermore, the point cloud test system further includes a data storage module, which is used to store the initial true value data and the initial point cloud. Furthermore, it is also used to store the true value data, the point cloud, the matching result set, the test item results, etc.
进一步的,点云测试系统还包含测试车,测试车上安装真值系统和DUT,真值系统用于采集初始真值数据,DUT用于采集初始点云。可替换的,测试车可以替换为可行进的终端,例如无人机、或机器人等交通工具或者智能终端。Furthermore, the point cloud test system also includes a test vehicle, on which a truth system and a DUT are installed, wherein the truth system is used to collect initial truth data, and the DUT is used to collect initial point clouds. Alternatively, the test vehicle can be replaced by a movable terminal, such as a drone, a robot or other transportation tool or an intelligent terminal.
第六方面,本申请实施例提供一种计算机可读存储介质,计算机可读存储介质用于存储指令或计算机程序,当指令或计算机程序被执行时,实现前述第一方面任一项所描述的方法。In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, which is used to store instructions or computer programs. When the instructions or computer programs are executed, the method described in any one of the first aspects above is implemented.
第七方面,本申请提供了一种计算机程序产品,计算机程序产品包括计算机指令或计算机程序,In a seventh aspect, the present application provides a computer program product, the computer program product comprising computer instructions or a computer program,
指令或计算机程序被执行时,实现前述第一方面任一项所描述的方法。When the instruction or computer program is executed, the method described in any one of the first aspects above is implemented.
可选的,该计算机程序产品可以为一个软件安装包或镜像包,在需要使用前述方法的情况下,可以下载该计算机程序产品并在计算设备上执行该计算机程序产品。
Optionally, the computer program product may be a software installation package or an image package. When the aforementioned method is required, the computer program product may be downloaded and executed on a computing device.
本申请第二至第七方面所提供的技术方案,其有益效果可以参考第一方面的技术方案的有益效果,此处不再赘述。The beneficial effects of the technical solutions provided in the second to seventh aspects of the present application can refer to the beneficial effects of the technical solution of the first aspect, and will not be repeated here.
下面将对实施例描述中所需要使用的附图作简单的介绍。The following is a brief introduction to the drawings required for describing the embodiments.
图1是一种基于点目标的点云测试技术的示意图;FIG1 is a schematic diagram of a point cloud testing technology based on a point target;
图2是本申请实施例提供的一种体目标的真值和体目标的点云的采集场景示意图;FIG2 is a schematic diagram of a scene for collecting the true value of a volume target and a point cloud of a volume target provided by an embodiment of the present application;
图3是本申请实施例提供的一种点云测试系统的架构示意图;FIG3 is a schematic diagram of the architecture of a point cloud testing system provided in an embodiment of the present application;
图4是本申请实施例提供的一种点云测试方法的流程示意图;FIG4 is a schematic diagram of a flow chart of a point cloud testing method provided in an embodiment of the present application;
图5是本申请实施例提供的一种真值数据和点云的示意图;FIG5 is a schematic diagram of true value data and point cloud provided in an embodiment of the present application;
图6是本申请实施例提供的一种二维真值数据的示意图;FIG6 is a schematic diagram of two-dimensional true value data provided by an embodiment of the present application;
图7是本申请实施例提供的一种二维点云的示意图;FIG7 is a schematic diagram of a two-dimensional point cloud provided in an embodiment of the present application;
图8是本申请实施例提供的一种点云帧和真值帧的示意图;FIG8 is a schematic diagram of a point cloud frame and a true value frame provided in an embodiment of the present application;
图9是本申请实施例提供的一种真值框的示意图;FIG9 is a schematic diagram of a truth value box provided in an embodiment of the present application;
图10是本申请实施例提供的一种匹配结果的示意图;FIG10 is a schematic diagram of a matching result provided in an embodiment of the present application;
图11是本申请实施例提供的又一种点云测试方法的流程示意图;FIG11 is a flow chart of another point cloud testing method provided in an embodiment of the present application;
图12是本申请实施例提供的一种三维真值框的示意图;FIG12 is a schematic diagram of a three-dimensional truth value frame provided in an embodiment of the present application;
图13是本申请实施例提供的一种匹配结果的示意图;FIG13 is a schematic diagram of a matching result provided in an embodiment of the present application;
图14是本申请实施例提供的一种可能的匹配采样点数量的示意图;FIG14 is a schematic diagram of a possible number of matching sampling points provided in an embodiment of the present application;
图15是本申请实施例提供的一种采样点与DUT的距离示意图;FIG15 is a schematic diagram of the distance between a sampling point and a DUT provided in an embodiment of the present application;
图16是本申请实施例提供的又一种采样点与DUT的距离示意图;FIG16 is a schematic diagram of the distance between another sampling point and the DUT provided in an embodiment of the present application;
图17是本申请实施例提供的一种可能的未匹配点云的示意图;FIG17 is a schematic diagram of a possible unmatched point cloud provided by an embodiment of the present application;
图18是本申请实施例提供的又一种虚警判断方法的流程示意图;FIG18 is a flow chart of another false alarm determination method provided in an embodiment of the present application;
图19是本申请实施例提供的一种体目标的位置示意图;FIG19 is a schematic diagram of the position of a body target provided in an embodiment of the present application;
图20是本申请实施例提供的一种点云测试装置的结构示意图;FIG20 is a schematic diagram of the structure of a point cloud testing device provided in an embodiment of the present application;
图21是本申请实施例提供的一种计算设备的结构示意图。FIG. 21 is a schematic diagram of the structure of a computing device provided in an embodiment of the present application.
下面将结合附图对本申请实施例作进一步地详细描述。The embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings.
为了便于理解,以下示例地给出了部分与本申请实施例相关概念的说明以供参考。如下:For ease of understanding, the following examples provide some explanations of concepts related to the embodiments of the present application for reference.
1.探测装置:探测装置能够输出点云,包含但不限于是雷达或激光雷达等。其中,雷达可以为毫米波雷达、厘米波雷达等。一些场景中,同时集成雷达和相机的装置(融合探测装置)也可以输出点云,该融合探测装置也落入本申请探测装置的范围。1. Detection device: The detection device can output point clouds, including but not limited to radar or laser radar, etc. Among them, the radar can be a millimeter wave radar, a centimeter wave radar, etc. In some scenarios, a device that integrates radar and camera at the same time (fusion detection device) can also output point clouds, and this fusion detection device also falls within the scope of the detection device of this application.
2.视场:探测装置的发射端与目标之间,和/或,探测装置的接收端与目标之间,需要具有信号(例如无线电波、激光)传输不中断的视线区域(line of sight,LOS)。该视线区域即可以理解为视野。2. Field of view: There needs to be a line of sight (LOS) between the transmitter of the detection device and the target, and/or between the receiver of the detection device and the target, where the signal (e.g., radio wave, laser) transmission is uninterrupted. This line of sight can be understood as the field of view.
3.待测装置(deviceundertest,DUT):被测试的探测装置。3. Device under test (DUT): The detection device being tested.
4.真值:真值是指在一定的时间及空间(或位置、状态)条件下,被测的目标所展现的真实值。真值是一个变量本身所具有的真实值,通常是一个理想的概念。本申请实施例中,真值可以为参考真值。4. True value: The true value refers to the true value of the measured target under certain time and space (or position, state) conditions. The true value is the true value of a variable itself, usually an ideal concept. In the embodiment of the present application, the true value can be a reference true value.
5.体目标:体目标可以看作是具有长度、高度和宽度中至少两项的物体,作为测试DUT
的目标。DUT对一个体目标进行探测时,通常可以得到多个采样点。5. Volume Target: Volume target can be regarded as an object with at least two of length, height and width, as the test DUT When the DUT detects a solid target, multiple sampling points can usually be obtained.
示例性的,体目标包含但不限于是球体、长方体(包含正方体)、平板、圆柱、或圆形顶帽中的一项或者多项。不难看出,探测装置在探测体目标时,在不同的视角下能够探测到体目标的不同表面。一些场景中,在探测装置对体目标进行探测的过程中,体目标具有位姿、尺寸等特征,从而更接近于生产、生活环境中的物体(包括有生命的生物)。Exemplarily, the body target includes but is not limited to one or more of a sphere, a cuboid (including a cube), a plate, a cylinder, or a round top hat. It is not difficult to see that when the detection device detects the body target, it can detect different surfaces of the body target at different viewing angles. In some scenarios, when the detection device detects the body target, the body target has characteristics such as posture and size, so that it is closer to objects in production and living environments (including living organisms).
以上对于技术术语的说明可选使用在下文的实施例中。The above description of technical terms may be optionally used in the following embodiments.
点云的质量代表了探测装置的探测能力。目前,行业内对探测装置输出的点云的测试(以下简称点云测试)一直以来都是探测装置的重点测试项。The quality of the point cloud represents the detection capability of the detection device. At present, the test of the point cloud output by the detection device (hereinafter referred to as point cloud test) has always been the key test item of the detection device in the industry.
如图1所示是一种基于点目标的点云测试技术的示意图。被测雷达(示例性的DUT)被至于可旋转转台上,并放置在微波暗室(地面、墙壁、顶面全部都装有吸波材料)场地进行。微波暗室中还存在雷达目标模拟器,雷达目标模拟器可模拟不同距离和速度的点目标。被测雷达对点目标进行探测(图1所示的双向箭头表示雷达信号发射的及其回波),以评估被测雷达的测远距离及精度。As shown in Figure 1, it is a schematic diagram of a point cloud test technology based on point targets. The radar under test (exemplary DUT) is placed on a rotatable turntable and placed in a microwave darkroom (the ground, walls, and ceiling are all equipped with absorbing materials). There is also a radar target simulator in the microwave darkroom, which can simulate point targets of different distances and speeds. The radar under test detects the point target (the double-headed arrows shown in Figure 1 represent the radar signal emission and its echo) to evaluate the long-range measurement and accuracy of the radar under test.
如图1所示,基于点目标的点云测试技术已经日趋成熟。但是,点目标与实际目标具有较大的差别。而实际目标可以通过体目标来表示,探测装置对体目标进行探测时会输出多个采样点,目前针对体目标点云的自动化测试方案基本处于空白阶段。业内亟需对DUT针对体目标输出的点云进行测试。As shown in Figure 1, point cloud testing technology based on point targets has become increasingly mature. However, point targets are quite different from actual targets. Actual targets can be represented by volume targets. When the detection device detects a volume target, it will output multiple sampling points. Currently, there is basically no automated testing solution for volume target point clouds. The industry urgently needs to test the point cloud output by the DUT for volume targets.
有鉴于此,本申请实施例提供的一种点云测试方法及装置。本申请实施例将体目标的真值和体目标的点云进行匹配,得到DUT输出的体目标的点云与体目标真值之间的匹配情况。由于体目标更接近实际目标,因此通过本申请实施例可以更准确地测试探测装置输出的点云质量,有利于对探测装置的探测能力进行评估。In view of this, an embodiment of the present application provides a point cloud testing method and device. The embodiment of the present application matches the true value of the volume target with the point cloud of the volume target to obtain the matching situation between the point cloud of the volume target output by the DUT and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device.
下面先示例性地介绍一种获取体目标的真值和体目标的点云的方式。A method of obtaining the true value of a volume target and a point cloud of the volume target is first introduced as an example below.
请参见图2,图2是本申请实施例提供的一种体目标的真值和体目标的点云的采集场景示意图,在车辆上装载待测装置。将车辆置于环境试验场中,进一步的,车辆可以在环境试验场中行进。环境试验场中还设置了一个或者多个体目标,如图2所示的体目标T1、体目标T2、体目标T3和体目标T4。待测装置能够采集初始点云(或称原始点云),其中包含了对前述的体目标进行探测得到的点云。Please refer to Figure 2, which is a schematic diagram of a scene for collecting the true value of a volume target and a point cloud of a volume target provided in an embodiment of the present application, and a device to be tested is loaded on a vehicle. The vehicle is placed in an environmental test field, and further, the vehicle can travel in the environmental test field. One or more volume targets are also set in the environmental test field, such as volume target T1, volume target T2, volume target T3 and volume target T4 shown in Figure 2. The device to be tested can collect an initial point cloud (or original point cloud), which includes a point cloud obtained by detecting the aforementioned volume target.
一种实施方式中,车辆中还包含真值系统,真值系统能够采集初始真值数据,初始真值数据的真值精度满足预设的精度要求。示例性地,真值系统例如包含激光雷达、或能够得到深度数据的相机等。In one embodiment, the vehicle further includes a truth system, which can collect initial truth data, and the truth accuracy of the initial truth data meets the preset accuracy requirements. Exemplarily, the truth system includes a laser radar, or a camera that can obtain depth data.
当然,前述的车辆是一种装载探测装置的示例性设备,可替换为其他安装台、或行进装置等,例如物流机器人、无人机等交通工具。Of course, the aforementioned vehicle is an exemplary device for carrying the detection device, which can be replaced by other mounting platforms, or moving devices, such as logistics robots, drones and other means of transportation.
下面介绍一种本申请的点云测试系统的架构示意图。需要说明的是,本申请描述的系统架构及业务场景是为了更加清楚的说明本申请的技术方案,并不构成对于本申请提供的技术方案的限定。随着系统架构的演变和新业务场景的出现,本申请提供的技术方案对于类似的技术问题,同样适用。The following is an architectural diagram of the point cloud testing system of the present application. It should be noted that the system architecture and business scenarios described in this application are intended to more clearly illustrate the technical solution of the present application and do not constitute a limitation on the technical solution provided by the present application. With the evolution of the system architecture and the emergence of new business scenarios, the technical solution provided by this application is also applicable to similar technical problems.
请参见图3,图3是本申请实施例提供的一种点云测试系统的架构示意图,点云测试系统30包含点云测试装置301。点云测试装置301具有计算能力,能够对体目标的真值和体目
标的点云进行匹配,得到DUT输出的体目标的点云与体目标真值之间的匹配情况。Please refer to FIG. 3, which is a schematic diagram of the architecture of a point cloud testing system provided by an embodiment of the present application. The point cloud testing system 30 includes a point cloud testing device 301. The point cloud testing device 301 has computing capabilities and can calculate the true value and volume target of the point cloud testing device 301. The target point cloud is matched to obtain the matching situation between the point cloud of the volume target output by the DUT and the true value of the volume target.
如图3所示,点云测试装置301包含数据匹配模块,上述匹配操作可以由数据匹配模块来完成。可选的,测试装置还包含数据计算模块、数据统计模块和可视化模块中的一项或者多项。数据计算模块和数据统计模块用于根据匹配结果评估待测装置的探测能力。可视化模块用于输出测试报告,测试报告可以指示待测装置的探测能力。As shown in FIG3 , the point cloud test device 301 includes a data matching module, and the above matching operation can be completed by the data matching module. Optionally, the test device also includes one or more of a data calculation module, a data statistics module, and a visualization module. The data calculation module and the data statistics module are used to evaluate the detection capability of the device under test based on the matching results. The visualization module is used to output a test report, and the test report can indicate the detection capability of the device under test.
可选的,点云测试系统30进一步包含数据预处理模块。数据预处理模块能够对测试车采集的数据进行预处理。测试车采集的数据包含初始点云,可选还包含真值数据(如图2所示)。Optionally, the point cloud testing system 30 further comprises a data preprocessing module. The data preprocessing module can preprocess the data collected by the test vehicle. The data collected by the test vehicle includes an initial point cloud and optionally also includes true value data (as shown in FIG. 2 ).
结合图3和图2,测试车上装载有DUT,DUT能够对测试场中设置的待测目标进行探测,待测目标为体目标。可选的,测试车上设置了数据存储模块,测试车采集的数据可以存储于该数据存储模块中。数据预处理模块能够从数据存储模块获取测试车采集的数据,例如通过通信方式获取、或者通过拷贝的方式获取等。In conjunction with FIG3 and FIG2 , the test vehicle is loaded with a DUT, and the DUT can detect the target to be tested set in the test field, and the target to be tested is a body target. Optionally, a data storage module is provided on the test vehicle, and the data collected by the test vehicle can be stored in the data storage module. The data preprocessing module can obtain the data collected by the test vehicle from the data storage module, for example, by communication, or by copying.
一些场景中,数据预处理模块可以包含于点云测试装置301内。或者,数据与处理模块也可以位于点云测试装置301外。In some scenarios, the data preprocessing module may be included in the point cloud testing device 301. Alternatively, the data preprocessing module may also be located outside the point cloud testing device 301.
一种可能的实现中,数据预处理模块可以位于数据中心(Data Center,DC)中,点云测试装置301可以从DC获取经过预处理的点云,或者以及真值数据。In one possible implementation, the data preprocessing module can be located in a data center (DC), and the point cloud testing device 301 can obtain the preprocessed point cloud or the true value data from the DC.
另外,本申请实施例中装置、模块的名称仅为示例,具体实施过程中,装置、模块等的名称可以任意替换。In addition, the names of the devices and modules in the embodiments of the present application are only examples. During the specific implementation process, the names of the devices, modules, etc. can be replaced arbitrarily.
下面对本申请实施例的方法进行介绍。请参见图4,图4是本申请实施例提供的一种点云测试方法的流程示意图。可选的,该方法可以基于图3所示的系统来实现。The method of the embodiment of the present application is introduced below. Please refer to Figure 4, which is a flow chart of a point cloud testing method provided by the embodiment of the present application. Optionally, the method can be implemented based on the system shown in Figure 3.
如图4所示的点云测试方法可以包括步骤S401至步骤S404中的一个或多个步骤。应理解,此处为了方便描述,故通过S401至S404这一顺序进行描述,并不旨在限定一定通过上述顺序进行执行。本申请实施例对于上述一个或多个步骤的执行的先后顺序、执行的时间、执行的次数等不做限定。S401至步骤S404具体如下:The point cloud testing method shown in FIG4 may include one or more steps from step S401 to step S404. It should be understood that for the convenience of description, the description is given in the order of S401 to S404, and it is not intended to limit the execution to the above order. The embodiment of the present application does not limit the execution order, execution time, execution number, etc. of the above one or more steps. S401 to step S404 are as follows:
步骤S401:点云测试装置获取真值数据和点云。Step S401: The point cloud testing device obtains true value data and point cloud.
其中,点云测试装置是具有计算能力的装置,例如服务器、个人计算机(personalcomputer,PC)、或智能终端等。当点云测试装置通过服务器来实现时,用于实现其功能的服务器的数量也可以是一个,也可以是多个(如服务器集群)。一些可能的方案中,点云测试装置可以通过软件功能单元来实现。示例性地,点云测试装置可以通过虚拟机、容器、云端等来实现。其中,虚拟机是通过软件模拟的具有完整硬件系统功能的、运行在隔离环境中的计算机系统。容器是将应用和应用依赖包进行打包得到的隔离环境。云端是采用应用程序虚拟化技术的软件平台,能够让一个或者多个软件、应用在独立的虚拟化环境中开发、运行。Among them, the point cloud testing device is a device with computing capabilities, such as a server, a personal computer (PC), or an intelligent terminal. When the point cloud testing device is implemented by a server, the number of servers used to implement its functions may be one or more (such as a server cluster). In some possible schemes, the point cloud testing device may be implemented by a software functional unit. Exemplarily, the point cloud testing device may be implemented by a virtual machine, a container, a cloud, etc. Among them, a virtual machine is a computer system with complete hardware system functions and running in an isolated environment simulated by software. A container is an isolated environment obtained by packaging applications and application dependency packages. The cloud is a software platform that uses application virtualization technology, which enables one or more software and applications to be developed and run in an independent virtualized environment.
真值数据为体目标的真值(或参考真值)。例如,真值数据可以为真值系统对体目标进行探测得到的。再如,真值数据还可以经过用户标注或者人工智能程序修正,以降低真值数据与体目标的真实状态之间的误差。The true value data is the true value (or reference true value) of the volume target. For example, the true value data can be obtained by detecting the volume target by a true value system. For another example, the true value data can also be annotated by a user or corrected by an artificial intelligence program to reduce the error between the true value data and the actual state of the volume target.
点云即点(即采样点)的集合,集合中包含了一个或者多个采样点。集合中的一个采样点通常代表了一组数据,该数据可以指示坐标、距离、强度、速度、反射率、或颜色等特征。A point cloud is a collection of points (i.e., sampling points), which contains one or more sampling points. A sampling point in the collection usually represents a set of data, which can indicate features such as coordinates, distance, intensity, speed, reflectivity, or color.
在对DUT进行点云测试的场景下,点云为DUT对体目标进行探测得到的探测结果。示例性的,DUT可以发射探测信号,并接收探测信号的回波,该回波可以处理得到点云。In the scenario of performing point cloud testing on the DUT, the point cloud is the detection result obtained by the DUT detecting the volume target. Exemplarily, the DUT can transmit a detection signal and receive an echo of the detection signal, which can be processed to obtain a point cloud.
前述真值数据和点云均为关于体目标的数据。可选的,体目标的数量可以是一个或者多个。部分实施例中将体目标的数量描述为至少一个。应理解,在探测装置对视野进行探测的
过程中,某些时刻,由于探测装置的角度、运动路线等原因,其视野可能没有覆盖或者没有完全覆盖体目标。但上述特殊情况不影响在探测装置在其视野覆盖体目标的情况下对体目标的探测。The aforementioned true value data and point cloud are both data about volume targets. Optionally, the number of volume targets can be one or more. In some embodiments, the number of volume targets is described as at least one. It should be understood that when the detection device detects the field of view, During the process, at certain moments, the field of view of the detection device may not cover or not completely cover the volume target due to the angle, movement route, etc. However, the above special circumstances do not affect the detection of the volume target by the detection device when its field of view covers the volume target.
在一种可能的实施方式中,真值数据和点云的坐标对齐。示例性地,真值和点云分别通过安装在车辆上的真值系统和DUT探测得到,真值数据和点云的原点可以被转换为车辆的后轴中心。In a possible implementation, the coordinates of the truth data and the point cloud are aligned. Exemplarily, the truth data and the point cloud are obtained by a truth system and a DUT detection installed on the vehicle, respectively, and the origin of the truth data and the point cloud can be converted to the rear axle center of the vehicle.
请参见图5,图5是本申请实施例提供的一种真值数据和点云的示意图,其中,真值数据如图5的(a)部分所示,点云如图5的(b)部分所示,二者的坐标轴对齐,即具有相同的原点。进一步的,其坐标轴方向也是对齐的。坐标轴对齐,可以降低计算时的复杂度,提高匹配时的准确度,进而提升点云测试的准确性。Please refer to Figure 5, which is a schematic diagram of a true value data and a point cloud provided by an embodiment of the present application, wherein the true value data is shown in part (a) of Figure 5, and the point cloud is shown in part (b) of Figure 5, and the coordinate axes of the two are aligned, that is, they have the same origin. Furthermore, the directions of their coordinate axes are also aligned. Aligning the coordinate axes can reduce the complexity of calculation, improve the accuracy of matching, and thus improve the accuracy of point cloud testing.
如图5所示,真值数据是体目标的参考性的真值,真值数据也可以包含多个点。为了便于区分,图5将真值中的点以实心黑点表示,将DUT获得的点云中的点以空心点表示。当然,这只是便于区分真值和待测的点云,并不表示二者在呈现方式、或数据内容等方面的差异。另外,为了便于看出体目标的轮廓,图5中用虚线表示体目标的轮廓线,在实际实施过程中,真值和/或点云中可能不一定存在体目标的轮廓线。As shown in Figure 5, the true value data is the reference true value of the volume target, and the true value data can also contain multiple points. For the sake of distinction, Figure 5 represents the points in the true value as solid black dots, and represents the points in the point cloud obtained by the DUT as hollow dots. Of course, this is only to facilitate the distinction between the true value and the point cloud to be tested, and does not indicate any difference in presentation method or data content between the two. In addition, in order to facilitate the identification of the contour of the volume target, the contour line of the volume target is represented by a dotted line in Figure 5. In actual implementation, the contour line of the volume target may not necessarily exist in the true value and/or point cloud.
在一种可能的实施方式中,真值数据和点云的时间对齐。例如,真值数据包含从第一时刻至第二时刻的A个帧,A为整数且A>0;点云包含从第三时刻到第四时刻的B个帧,B为整数且B>0。在二者时间对齐的情况下,对于B帧中的任一帧,可以找到在时间戳上与其最接近的一帧真值。In a possible implementation, the time of the true value data and the point cloud is aligned. For example, the true value data includes A frames from the first moment to the second moment, A is an integer and A>0; the point cloud includes B frames from the third moment to the fourth moment, B is an integer and B>0. When the two are aligned in time, for any frame in the B frames, the true value frame closest to it in terms of timestamp can be found.
可选的,真值数据和点云的帧率可以相同,或者,不同。其中,帧率通常用于描述单位时间内的帧的数量,每一帧可以为探测装置对视野完成一次探测得到的数据。例如,点云的帧率可以为每秒120帧,类似地,真值数据也可以为每秒120帧。再如,点云的帧率可以为每秒不低于100帧。Optionally, the frame rates of the true value data and the point cloud may be the same or different. The frame rate is usually used to describe the number of frames per unit time, and each frame may be data obtained when the detection device completes a detection of the field of view. For example, the frame rate of the point cloud may be 120 frames per second, and similarly, the frame rate of the true value data may also be 120 frames per second. For another example, the frame rate of the point cloud may be not less than 100 frames per second.
在一种可能的实施方式中,真值数据和点云经过预处理。示例性的,数据预处理包括点云与真值数据的时间对齐、坐标转换、或格式转换等,预处理之后的数据被提供给点云测试装置以进行点云测试。In a possible implementation, the true value data and the point cloud are preprocessed. Exemplarily, the data preprocessing includes time alignment, coordinate conversion, or format conversion of the point cloud and the true value data, and the preprocessed data is provided to the point cloud testing device for point cloud testing.
可选的,预处理可以由点云测试装置完成。例如,点云测试装置将初始真值数据和初始点云进行预处理,得到前述的真值数据和点云。Optionally, the preprocessing may be performed by a point cloud testing device. For example, the point cloud testing device preprocesses the initial true value data and the initial point cloud to obtain the aforementioned true value data and point cloud.
或者可选的,预处理可以由其他模块或设备完成。如图3所示的系统中,预处理模块将初始真值数据和初始点云经过预处理后提供给点云测试装置,相应的,点云测试装置可以获取真值数据和点云。Alternatively, the preprocessing can be performed by other modules or devices. In the system shown in FIG3 , the preprocessing module provides the initial true value data and the initial point cloud to the point cloud testing device after preprocessing, and accordingly, the point cloud testing device can obtain the true value data and the point cloud.
步骤S402:点云测试装置将真值数据投影得到二维真值数据。Step S402: The point cloud testing device projects the true value data to obtain two-dimensional true value data.
其中,由于真值数据表示了体目标的真值,而体目标的真值是三维的。投影是指将真值数据投射到平面上。Since the true value data represents the true value of the volume target, and the true value of the volume target is three-dimensional, projection refers to projecting the true value data onto a plane.
作为一种投影的示例,如图5的(a)部分所示,对于真值数据中的其中一个点F1,在笛卡尔坐标系中,其位置可以表示为F1(x1,y1,z1)。请参见图6,图6是本申请实施例提供的一种二维真值数据的示意图,如图6所示的二维真值数据是由如图5的(a)部分所示的真值数据投影得到的。点F1投影到X-Y平面,得到点F1’(x1,y1)。可选的,F1被投影的过程中,其Z轴维度上的数据被丢弃或者置为预设值(如0)。As an example of projection, as shown in part (a) of Figure 5, for one of the points F1 in the true value data, its position in the Cartesian coordinate system can be expressed as F1 ( x1 , y1 , z1 ). Please refer to Figure 6, which is a schematic diagram of two-dimensional true value data provided in an embodiment of the present application. The two-dimensional true value data shown in Figure 6 is obtained by projecting the true value data shown in part (a) of Figure 5. Point F1 is projected onto the XY plane to obtain point F1' ( x1 , y1 ). Optionally, during the projection of F1, the data on its Z-axis dimension is discarded or set to a preset value (such as 0).
可理解的,投影后的点与投影前的点是一一对应的。即,投影过程没有产生新的点,对于一个二维真值数据中的F1’,可以在真值数据中找到与之对应的点F1。
It is understandable that the points after projection correspond to the points before projection one by one. That is, the projection process does not generate new points. For F1' in a two-dimensional true value data, the corresponding point F1 can be found in the true value data.
在一种可能的实施方式中,点云测试装置将真值数据投影到水平平面。水平平面是指相对水平的水平平面。例如,根据原点建立三维笛卡尔坐标系,过原点,作三条互相垂直的数轴,即:x轴(横轴)、y轴(纵轴)和z轴(竖轴)。三维笛卡尔坐标系包含三个平面,即X-Y平面、Y-Z平面和X-Z平面。水平平面可以为其中一个平面,例如为X-Y平面。In a possible implementation, the point cloud testing device projects the true value data onto a horizontal plane. A horizontal plane refers to a relatively horizontal plane. For example, a three-dimensional Cartesian coordinate system is established based on the origin, and three mutually perpendicular axes are drawn through the origin, namely: the x-axis (horizontal axis), the y-axis (longitudinal axis), and the z-axis (vertical axis). The three-dimensional Cartesian coordinate system includes three planes, namely, the X-Y plane, the Y-Z plane, and the X-Z plane. The horizontal plane can be one of the planes, such as the X-Y plane.
可选的,原点、X轴、Y轴和Z轴可以由用户或者厂商定义。作为一种可能的示例,示例性地,真值和点云分别通过安装在车辆上的真值系统和DUT探测得到,原点可以为车辆的后轴中心,Y轴可以为车辆的前向,X轴为车辆的侧向。当然,具体实施过程中上述参数可以通过其他方式来定义。Optionally, the origin, X-axis, Y-axis and Z-axis can be defined by the user or manufacturer. As a possible example, for example, the truth value and the point cloud are obtained by the truth value system and DUT detection installed on the vehicle, respectively. The origin can be the center of the rear axle of the vehicle, the Y-axis can be the front direction of the vehicle, and the X-axis can be the side direction of the vehicle. Of course, the above parameters can be defined in other ways during the specific implementation process.
另外,上述是为了便于理解故使用笛卡尔坐标系以列举维度,具体实施过程中,坐标系还可以为球坐标系、极坐标系等。本申请对于投影所使用的坐标系、投影平面等不做严格限定。In addition, the Cartesian coordinate system is used to list the dimensions for ease of understanding. In the specific implementation, the coordinate system may also be a spherical coordinate system, a polar coordinate system, etc. This application does not strictly limit the coordinate system, projection plane, etc. used for projection.
在一种可能的实施方式中,投影得到的二维真值数据可以包含多个帧,便于描述,本申请各实施例将二维真值数据所包含的帧称为真值帧。进一步的,由于二维真值数据是由真值数据投影得到的,故其也包含多个时刻下的多个帧,便于区分称为原真值帧。In a possible implementation, the two-dimensional true value data obtained by projection may include multiple frames. For ease of description, the frames included in the two-dimensional true value data are referred to as true value frames in each embodiment of the present application. Furthermore, since the two-dimensional true value data is obtained by projecting the true value data, it also includes multiple frames at multiple moments, which are referred to as original true value frames for ease of distinction.
步骤S403:点云测试装置将点云投影得到二维点云。Step S403: The point cloud testing device projects the point cloud to obtain a two-dimensional point cloud.
作为一种投影的示例,如图5的(b)部分所示,点云中存在一点L1(x2,y2,z2)。请参见图7,图7是本申请实施例提供的一种二维点云的示意图,如图7所示的二维点云是由如图5的(b)部分所示的点云投影得到的。L1投影到X-Y平面,得到点L1’(x2,y2)。可选的,L1被投影的过程中,其Z轴维度上的数据被丢弃或者置为预设值(如0)。As an example of projection, as shown in part (b) of FIG. 5 , there is a point L1 (x 2 , y 2 , z 2 ) in the point cloud. Please refer to FIG. 7 , which is a schematic diagram of a two-dimensional point cloud provided in an embodiment of the present application. The two-dimensional point cloud shown in FIG. 7 is obtained by projecting the point cloud shown in part (b) of FIG. 5 . L1 is projected onto the XY plane to obtain point L1' (x 2 , y 2 ). Optionally, during the projection of L1, the data on its Z-axis dimension is discarded or set to a preset value (such as 0).
在一种可能的实施方式中,点云测试装置将点云投影到水平平面,得到二维点云。水平平面例如为X-Y平面。相关描述可以参考步骤S402,此处不再赘述。In a possible implementation, the point cloud testing device projects the point cloud onto a horizontal plane to obtain a two-dimensional point cloud. The horizontal plane is, for example, an X-Y plane. For related descriptions, reference may be made to step S402, which will not be repeated here.
可选的,投影得到的二维点云可以包含多个帧,便于描述,本申请各实施例将二维点云所包含的帧称为点云帧。进一步的,由于二维点云是由点云投影得到的,故其也包含多个时刻下的多个帧,便于区分称为原点云帧。Optionally, the projected two-dimensional point cloud may include multiple frames. For ease of description, the embodiments of the present application refer to the frames included in the two-dimensional point cloud as point cloud frames. Furthermore, since the two-dimensional point cloud is obtained by projecting the point cloud, it also includes multiple frames at multiple times, which are referred to as original point cloud frames for ease of distinction.
在一种可能的实施方式中,二维点云和二维真值的时间对齐。图8是本申请实施例提供的一种可能的点云帧和真值帧的示意图,二维真值数据包含真值帧#0、真值帧#1、真值帧#2、真值帧#3等真值帧(数量仅为示例),二维点云包含点云帧#0、点云帧#1、点云帧#2、点云帧#3等点云帧(数量仅为示例)。示例性地,与点云帧#0在时间戳上对齐的真值帧为真值帧#0,类似的,与点云帧#1在时间戳上对齐的真值帧为真值帧#1,其余情况以此类推。当然,以上的编号仅为示例,不作为对本申请实施例的限定。In a possible implementation, the two-dimensional point cloud and the two-dimensional truth are time-aligned. Figure 8 is a schematic diagram of a possible point cloud frame and a truth frame provided in an embodiment of the present application, the two-dimensional truth data includes truth frames such as truth frame #0, truth frame #1, truth frame #2, and truth frame #3 (the number is only an example), and the two-dimensional point cloud includes point cloud frame #0, point cloud frame #1, point cloud frame #2, point cloud frame #3 and other point cloud frames (the number is only an example). Exemplarily, the truth frame aligned with point cloud frame #0 in timestamp is truth frame #0, and similarly, the truth frame aligned with point cloud frame #1 in timestamp is truth frame #1, and so on for other cases. Of course, the above numbering is only an example and is not intended to be a limitation of the embodiments of the present application.
可选的,在二维真值数据的帧率与二维点云的帧率不相同的情况下,点云帧和真值帧不一定一一对应。这种情况下,后续的匹配过程可以查找与点云帧时间戳最近的真值帧进行匹配。Optionally, when the frame rate of the 2D true value data is different from the frame rate of the 2D point cloud, the point cloud frame and the true value frame may not correspond one to one. In this case, the subsequent matching process can find the true value frame with the closest timestamp to the point cloud frame for matching.
步骤S404:点云测试装置将二维点云与二维真值数据进行匹配,得到匹配结果集合。Step S404: The point cloud testing device matches the two-dimensional point cloud with the two-dimensional true value data to obtain a matching result set.
其中,匹配是指验证采样点与体目标的真值是否能够对应(或关联)的过程。对于二维点云中的采样点,将其与二维真值数据进行匹配,从而确定采样点是否能对应(或关联)到某一体目标的真值。Matching refers to the process of verifying whether the sampling point and the true value of the volume target can correspond (or be associated). For the sampling points in the two-dimensional point cloud, they are matched with the two-dimensional true value data to determine whether the sampling points can correspond (or be associated) to the true value of a certain volume target.
匹配结果集合可以包含以下一种或者多种匹配结果:匹配采样点、未匹配采样点和未匹配真值等。其中,匹配采样点为与体目标的真值成功匹配的采样点,未匹配采样点为未与体目标的真值成功匹配的点云,未匹配真值为未与任一采样点成功匹配的真值。The matching result set may include one or more of the following matching results: matched sampling points, unmatched sampling points, and unmatched true values, etc. Among them, the matched sampling points are sampling points that successfully match the true value of the volume target, the unmatched sampling points are point clouds that do not successfully match the true value of the volume target, and the unmatched true value is the true value that does not successfully match any sampling point.
作为一种可能的实施方式,匹配点云的数量通常与点云质量正相关,未匹配点云的数量
和未匹配真值的数量与点云质量负相关。可以看出,匹配结果初步反映了点云的准确度,有利于后续对于不同类别的匹配结果进行分类测试,提高点云测试的丰富度和准确度。As a possible implementation, the number of matched point clouds is usually positively correlated with the quality of the point clouds, and the number of unmatched point clouds is positively correlated with the quality of the point clouds. The number of unmatched true values is negatively correlated with the quality of the point cloud. It can be seen that the matching results preliminarily reflect the accuracy of the point cloud, which is conducive to the subsequent classification test of different categories of matching results and improves the richness and accuracy of the point cloud test.
在一种可能的实施方式中,二维点云和二维真值在匹配时,按帧进行依次匹配。可选的,可以按真值帧进行依次匹配,或者按点云帧进行依次匹配。In a possible implementation, when matching the two-dimensional point cloud and the two-dimensional true value, the matching is performed sequentially by frame. Optionally, the matching can be performed sequentially by true value frame, or sequentially by point cloud frame.
作为一种按点云帧进行依次匹配的示例,以图8所示的点云帧为例,点云测试装置将点云帧#0与同一时刻下的真值帧(即真值帧#0)进行匹配,将点云帧#1与同一时刻下的真值帧(即真值帧#1)进行匹配,其余点云帧以此类推。可理解的,若二维点云的帧率低于二维真值数据的帧率,则可能存在部分真值帧未进行匹配的情况;若二维点云的帧率低于二维真值数据的帧率,则可能存在多个点云帧会匹配到相同一帧真值帧的情况。按点云帧进行匹配的方式以点云帧为主,可以避免出现漏点云帧的情况,便于测试点云的出点数、探测精度等。As an example of sequential matching according to point cloud frames, taking the point cloud frame shown in Figure 8 as an example, the point cloud test device matches point cloud frame #0 with the true value frame at the same time (i.e., true value frame #0), and matches point cloud frame #1 with the true value frame at the same time (i.e., true value frame #1), and the rest of the point cloud frames are matched in the same way. It is understandable that if the frame rate of the two-dimensional point cloud is lower than the frame rate of the two-dimensional true value data, some true value frames may not be matched; if the frame rate of the two-dimensional point cloud is lower than the frame rate of the two-dimensional true value data, multiple point cloud frames may be matched to the same true value frame. The method of matching according to point cloud frames is mainly based on point cloud frames, which can avoid the occurrence of missing point cloud frames and facilitate the testing of the number of points and detection accuracy of the point cloud.
作为一种按真值帧进行依次匹配的示例,以图8所示的帧为例,点云测试装置将真值帧#0与同一时刻下的点云帧(即点云帧#0)进行匹配,将真值帧#1与同一时刻下的点云帧(即点云帧#1)进行匹配,其余真值帧以此类推。As an example of matching true value frames in sequence, taking the frame shown in Figure 8 as an example, the point cloud testing device matches the true value frame #0 with the point cloud frame at the same time (i.e., point cloud frame #0), and matches the true value frame #1 with the point cloud frame at the same time (i.e., point cloud frame #1), and the same goes for the remaining true value frames.
下面介绍两种二维点云与二维真值数据进行匹配的可能实现方式:The following are two possible ways to match 2D point clouds with 2D ground truth data:
实现方式1,在匹配时,使用体目标的二维真值(即经过投影后的体目标的真值)进行匹配。以点云帧#0为例,若点云帧#0中的采样点(便于描述称为采样点P1)与体目标中的真值(或真值中的某一点)重合或者距离小于预设匹配距离阈值,则该采样点P1属于匹配采样点。若点云帧#0中的采样点(便于描述称为采样点P2)与任意一个体目标的真值(或真值中的某一点)都不重合,或者与任意一个体目标的真值(或真值中的某一点)的距离均大于预设匹配距离阈值,则该采样点P2属于未匹配采样点。若点云帧#0中的采样点中任意一个采样点均未与某一体目标(便于区分称为Target1)匹配成功,则Target1属于未匹配真值(或点云帧#0下的未匹配真值)。Implementation method 1, when matching, use the two-dimensional true value of the volume target (that is, the true value of the volume target after projection) for matching. Taking point cloud frame #0 as an example, if the sampling point in point cloud frame #0 (for convenience of description, it is called sampling point P1) coincides with the true value (or a point in the true value) in the volume target or the distance is less than the preset matching distance threshold, then the sampling point P1 belongs to the matching sampling point. If the sampling point in point cloud frame #0 (for convenience of description, it is called sampling point P2) does not coincide with the true value (or a point in the true value) of any volume target, or the distance with the true value (or a point in the true value) of any volume target is greater than the preset matching distance threshold, then the sampling point P2 belongs to the unmatched sampling point. If any of the sampling points in point cloud frame #0 does not successfully match a certain volume target (for convenience of distinction, it is called Target1), then Target1 belongs to the unmatched true value (or the unmatched true value under point cloud frame #0).
实现方式2,点云测试装置根据二维真值数据建立真值框,根据真值框和采样点,得到匹配结果。例如,根据真值框的范围的采样点的位置,得到匹配结果。再如,根据采样点与真值框的距离,得到匹配结果。可选的,真值框的大小可以根据需求设计,例如与体目标的真值的尺寸大小相关。Implementation method 2: The point cloud testing device establishes a truth value frame according to the two-dimensional truth value data, and obtains a matching result according to the truth value frame and the sampling point. For example, the matching result is obtained according to the position of the sampling point within the range of the truth value frame. For another example, the matching result is obtained according to the distance between the sampling point and the truth value frame. Optionally, the size of the truth value frame can be designed according to requirements, for example, related to the size of the truth value of the volume target.
作为一种可能的示例,以真值帧#0的匹配为例,点云测试装置确定真值帧#0中的真值框。根据真值框的范围和点云帧#0中的采样点的位置,得到匹配结果子集。其中,点云帧#0与真值帧#0为时间戳对齐(或者位于同一时刻下),或者,真值帧#0为离点云帧#0的最近的一个真值帧,或者,点云帧#0为离真值帧#0的最近的一个点云帧。可选的,真值框数量通常与体目标的数量相同,一个真值框对应一个体目标。As a possible example, taking the matching of true value frame #0 as an example, the point cloud testing device determines the truth frame in the truth frame #0. According to the range of the truth frame and the position of the sampling point in the point cloud frame #0, a subset of matching results is obtained. Among them, the point cloud frame #0 and the truth frame #0 are timestamp aligned (or located at the same time), or the truth frame #0 is the closest truth frame to the point cloud frame #0, or the point cloud frame #0 is the closest point cloud frame to the truth frame #0. Optionally, the number of truth frames is usually the same as the number of volume targets, and one truth frame corresponds to one volume target.
图9是本申请实施例提供的一种真值框的示意图,该真值框示例性为真值帧#0中的真值框,框的数量为多个,便于区分分别表示为真值框C1、真值框C2、真值框C3和真值框C4。结合图1不难看出,真值框C1对应体目标T1,真值框C2对应体目标T2,真值框C3对应体目标T3,真值框C4对应体目标T4。Fig. 9 is a schematic diagram of a truth value frame provided by an embodiment of the present application, which is exemplified as a truth value frame in truth value frame #0. There are multiple frames, which are conveniently distinguished and represented as truth value frame C1, truth value frame C2, truth value frame C3 and truth value frame C4. It is not difficult to see from Fig. 1 that truth value frame C1 corresponds to body target T1, truth value frame C2 corresponds to body target T2, truth value frame C3 corresponds to body target T3, and truth value frame C4 corresponds to body target T4.
作为一种可能的示例,在匹配时,点云测试装置搜索对应的点云帧中位于真值框中的采样点,若采样点落入真值框则匹配成功。可理解的,匹配时可能会出现如下匹配结果:对于某一个采样点,其可能落入一个或者多个真值框,也可能未落入任何一个真值框;而对于某一个真值框,其范围内可能包含一个或者多个采样点,也可能未包含采样点。As a possible example, during matching, the point cloud test device searches for sampling points in the corresponding point cloud frame that are in the true value frame, and the match is successful if the sampling points fall into the true value frame. Understandably, the following matching results may appear during matching: for a certain sampling point, it may fall into one or more true value frames, or it may not fall into any true value frame; and for a certain true value frame, its range may contain one or more sampling points, or it may not contain the sampling point.
请参见图10,图10是本申请实施例提供的一种匹配结果的示意图,其示出了点云帧#0的匹配结果,包含如下三类:
Please refer to FIG. 10, which is a schematic diagram of a matching result provided in an embodiment of the present application, which shows the matching result of point cloud frame #0, including the following three categories:
类别1,匹配采样点。对于点云帧#0中的第一采样点,若第一采样点落入第一真值框(第一真值框对应第一体目标),则该第一采样点属于匹配采样点,且第一采样点与第一体目标的真值匹配(或与第一体目标匹配)。如图10所示,第一采样点例如点P1,其落入真值框C1,即与体目标T1的真值(或与体目标T1)匹配;第一采样点还可以如点P3,其落入真值框C2,即与体目标T2的真值(或与体目标T2)匹配;第一采样点还可以如点P4,其落入真值框C3,即与体目标T3的真值(或与体目标T3)匹配。Category 1, matching sampling points. For the first sampling point in point cloud frame #0, if the first sampling point falls into the first truth box (the first truth box corresponds to the first volume target), the first sampling point belongs to the matching sampling point, and the first sampling point matches the truth value of the first volume target (or matches the first volume target). As shown in FIG10 , the first sampling point is, for example, point P1, which falls into the truth box C1, that is, it matches the truth value of volume target T1 (or matches volume target T1); the first sampling point can also be point P3, which falls into the truth box C2, that is, it matches the truth value of volume target T2 (or matches volume target T2); the first sampling point can also be point P4, which falls into the truth box C3, that is, it matches the truth value of volume target T3 (or matches volume target T3).
类别2,未匹配采样点。对于点云帧#0中的第二采样点,若第二采样点未落入任意一个真值框的情况下,第二采样点属于未匹配采样点。如图10所示,第二采样点例如点P2,其未落入4个真值框中的任一真值框中,属于未匹配采样点。Category 2, unmatched sampling point. For the second sampling point in point cloud frame #0, if the second sampling point does not fall into any of the truth value frames, the second sampling point belongs to an unmatched sampling point. As shown in FIG10 , the second sampling point, such as point P2, does not fall into any of the four truth value frames and belongs to an unmatched sampling point.
类别3,未匹配真值。若点云帧#3中任意一个采样点均未落入第一真值框,则第一真值框对应的真值属于未匹配真值。如图10所示,点云帧#0中的采样点均未落入真值框C4,故体目标T4的真值为未匹配真值。Category 3, unmatched truth value. If any sampling point in point cloud frame #3 does not fall into the first truth value box, the truth value corresponding to the first truth value box belongs to the unmatched truth value. As shown in Figure 10, none of the sampling points in point cloud frame #0 falls into the truth value box C4, so the truth value of volume target T4 is the unmatched truth value.
以上图10所示的结果仅为示例。一些场景中,匹配时可以得到更多或者更少类别的结果,此处不再一一列举。The results shown in FIG10 above are only examples. In some scenarios, more or fewer categories of results may be obtained during matching, which will not be listed here one by one.
由于真值框的数量可能为多个,在匹配时可能存在采样点能够与多个真值框匹配的情况。在一种可能的实施方式中,当采样点(便于区分称为第三采样点)落入多个真值框的情况下,可以通过第三采样点与体目标的真值之间的位置关系,确定第三采样点所匹配的体目标的真值(或体目标)。其中,位置关系可以是距离远近、是否包含、或重叠程度等。Since there may be multiple truth value frames, there may be a situation where a sampling point can match multiple truth value frames during matching. In a possible implementation, when a sampling point (referred to as a third sampling point for easy distinction) falls into multiple truth value frames, the true value (or volume target) of the volume target matched by the third sampling point can be determined by the positional relationship between the third sampling point and the true value of the volume target. The positional relationship may be distance, inclusion, or overlap, etc.
需要说明的是,在确定位置关系时所使用的采样点和体目标的真值,可以是经过投影的(即分别属于二维点云和二维真值数据),或者,也可以是未经过投影的(即属于点云和真值数据)。It should be noted that the true values of the sampling points and volume targets used in determining the positional relationship may be projected (i.e., belonging to a two-dimensional point cloud and two-dimensional true value data, respectively), or may be unprojected (i.e., belonging to a point cloud and true value data).
在一种可能的实施方式中,以第一点云帧为例,在第一点云帧包含第三采样点且第三采样点落入至少两个真值框的情况下,点云测试装置根据第三采样点与至少两个真值框对应的体目标的真值之间的位置,确定与第三采样点匹配的体目标的真值。这里的第一点云帧、第三采样点均为了区分表示某一个量,不作为顺序、重要程度等的限定。In a possible implementation, taking the first point cloud frame as an example, when the first point cloud frame includes the third sampling point and the third sampling point falls into at least two truth value frames, the point cloud testing device determines the true value of the volume target matching the third sampling point according to the position between the third sampling point and the true value of the volume target corresponding to the at least two truth value frames. The first point cloud frame and the third sampling point here are both for distinguishing and representing a certain quantity, and are not used as a limitation of order, importance, etc.
在一种可能的实施方式中,测试装置可以通过如下方式确定采样点所匹配的体目标的真值:将至少两个真值框对应的体目标的真值,与第三采样点建立点对(或称对应点对),根据点对构造距离矩阵,得到真值与第三采样点之间的距离,将距离最近的真值作为与第三采样点匹配的真值。通过构建距离矩阵,能够更加准确的确定采样点与真值之间的距离关系,确定与采样点匹配的体目标的真值,提升点云测试的准确性。In a possible implementation, the test device can determine the true value of the volume target matched by the sampling point in the following manner: establish a point pair (or corresponding point pair) with the true value of the volume target corresponding to at least two truth value frames and the third sampling point, construct a distance matrix based on the point pair, obtain the distance between the true value and the third sampling point, and use the true value with the closest distance as the true value matched with the third sampling point. By constructing the distance matrix, the distance relationship between the sampling point and the true value can be determined more accurately, the true value of the volume target matched with the sampling point can be determined, and the accuracy of the point cloud test can be improved.
在一种可能的实施方式中,点云测试装置还可以通过匹配结果集合,对DUT得到的点云的精度、虚警、漏检等进行评估。其中,精度可以包含点云数量、测距精度、测速精度或高度精度等中的一项或者多项。In a possible implementation, the point cloud test device can also evaluate the accuracy, false alarm, missed detection, etc. of the point cloud obtained by the DUT through the matching result set. The accuracy can include one or more of the number of point clouds, distance measurement accuracy, speed measurement accuracy, or height accuracy.
在图5所示的实施例中,点云测试装置基于体目标的真值和体目标的点云进行匹配,得到DUT输出的体目标的点云与体目标真值之间的匹配结果集合。由于体目标更接近实际目标,因此通过本申请实施例可以更准确地测试探测装置输出的点云质量,有利于对探测装置的探测能力进行评估。而且,通过自动化地对比体目标的真值和体目标的点云来得到匹配结果,能够显著缩小评估误差,提升测试精度和测试效率。In the embodiment shown in FIG5 , the point cloud test device matches the true value of the volume target and the point cloud of the volume target to obtain a set of matching results between the point cloud of the volume target output by the DUT and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device. Moreover, by automatically comparing the true value of the volume target and the point cloud of the volume target to obtain the matching result, the evaluation error can be significantly reduced, and the test accuracy and test efficiency can be improved.
另外,图5所示的实施例中,真值数据和点云都分别被处理为二维的数据,在匹配时基于二维的数据来进行匹配。一方面节省了匹配时的计算量,提升了测试效率。另一方面,对探测装置的评估主要关注其测距能力、测速能力和角度分辨能力,这几种能力与探测结果中
对纵向和横向的数据更相关,因此对数据进行二维投影可以在不显著丧失准确性的情况下测试探测装置输出的点云质量。In addition, in the embodiment shown in FIG5 , both the true value data and the point cloud are processed into two-dimensional data, and the matching is performed based on the two-dimensional data. On the one hand, the amount of calculation during matching is saved, and the test efficiency is improved. On the other hand, the evaluation of the detection device mainly focuses on its distance measurement capability, speed measurement capability and angle resolution capability, which are related to the detection results. The data in the longitudinal and transverse directions are more relevant, so a 2D projection of the data can be used to test the quality of the point cloud output by the detection device without significant loss of accuracy.
而且,考虑到一些场景中探测装置的高度精度较低,将数据投影到X-Y平面进行匹配可以降低由于高度精度较低带来的匹配误差,提升测距、测速等测试项的准确性。Moreover, considering that the height accuracy of the detection device in some scenarios is low, projecting the data onto the X-Y plane for matching can reduce the matching error caused by the low height accuracy and improve the accuracy of test items such as ranging and speed measurement.
以上对投影后匹配的点云测试方式进行了介绍。在一些可能的实施方式中,将点云和真值数据进行匹配时,也可以不经过投影而直接在三维上进行匹配。The above describes the point cloud test method for matching after projection. In some possible implementations, when matching the point cloud and the true value data, the matching can also be performed directly in three dimensions without projection.
请参见图11,图11是本申请实施例提供的又一种点云测试方法的流程示意图。可选的,该方法可以基于图3所示的系统来实现。Please refer to Figure 11, which is a flow chart of another point cloud testing method provided in an embodiment of the present application. Optionally, the method can be implemented based on the system shown in Figure 3.
如图11所示的点云测试方法可以包括步骤S1101至步骤S1103中的一个或多个步骤。应理解,此处为了方便描述,故通过S1101至S1103这一顺序进行描述,并不旨在限定一定通过上述顺序进行执行。本申请实施例对于上述一个或多个步骤的执行的先后顺序、执行的时间、执行的次数等不做限定。S1101至步骤S1103具体如下:The point cloud testing method shown in FIG11 may include one or more steps from step S1101 to step S1103. It should be understood that for the convenience of description, the order from S1101 to S1103 is described here, and it is not intended to limit the execution to the above order. The embodiment of the present application does not limit the execution order, execution time, execution number, etc. of the above one or more steps. S1101 to step S1103 are as follows:
步骤S1101:点云测试装置获取真值数据和点云。具体参见步骤S401。Step S1101: The point cloud testing device obtains true value data and point cloud. See step S401 for details.
可选的,真值数据可以包含多个真值帧(或称原真值帧),点云可以包含多个点云帧(或称原点云帧)。相关描述可以参见前述对真值帧和点云帧的描述,但此实施例中的点云帧和真值帧未经过投影。Optionally, the true value data may include multiple true value frames (or original true value frames), and the point cloud may include multiple point cloud frames (or original point cloud frames). For related descriptions, please refer to the above descriptions of the true value frame and the point cloud frame, but the point cloud frame and the true value frame in this embodiment are not projected.
真值数据和点云的时间对齐,和/或,坐标对齐。例如,真值帧#0对应点云帧#0,具体可以参考图8的相关描述。The time alignment and/or coordinate alignment of the true value data and the point cloud. For example, the true value frame #0 corresponds to the point cloud frame #0. For details, please refer to the relevant description of FIG. 8.
步骤S1102:点云测试装置根据真值数据建立三维匹配框。Step S1102: The point cloud testing device establishes a three-dimensional matching box based on the true value data.
可选的,三维真值框数量通常与体目标的数量相同,一个三维真值框对应一个体目标。Optionally, the number of 3D truth boxes is usually the same as the number of volume targets, and one 3D truth box corresponds to one volume target.
请参见图12,图12是本申请实施例提供的一种三维真值框的示意图,该三维真值框示例性为真值帧#0中的三维真值框,框的数量为多个,便于区分在图12中表示为真值框D1、真值框D2、真值框D3和真值框D4,分别对应体目标T1-T4。Please refer to Figure 12, which is a schematic diagram of a three-dimensional truth box provided in an embodiment of the present application. The three-dimensional truth box is exemplified as a three-dimensional truth box in truth frame #0. There are multiple boxes, which are easily distinguished in Figure 12 as truth box D1, truth box D2, truth box D3 and truth box D4, corresponding to body targets T1-T4 respectively.
步骤S1103:点云测试装置将点云与三维匹配框进行匹配,得到匹配结果集合。Step S1103: The point cloud testing device matches the point cloud with the three-dimensional matching box to obtain a matching result set.
其中,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The matching result set includes at least one of the following three types of matching results: matching sampling points, unmatched sampling points, and unmatched true values.
作为一种可能的示例,以真值帧#0的匹配为例,点云测试装置确定真值帧#0中的三维真值框。根据三维真值框的范围和点云帧#0中的采样点的位置,得到匹配结果子集。其中,点云帧#0与真值帧#0为时间戳对齐(或者位于同一时刻下),或者,真值帧#0为离点云帧#0的最近的一个真值帧,或者,点云帧#0为离真值帧#0的最近的一个点云帧。As a possible example, taking the matching of the true value frame #0 as an example, the point cloud testing device determines the three-dimensional true value frame in the true value frame #0. According to the range of the three-dimensional true value frame and the position of the sampling point in the point cloud frame #0, a matching result subset is obtained. Among them, the point cloud frame #0 and the true value frame #0 are time stamp aligned (or located at the same time), or the true value frame #0 is the closest true value frame to the point cloud frame #0, or the point cloud frame #0 is the closest point cloud frame to the true value frame #0.
在匹配时,点云测试装置搜索对应的点云帧中位于真值框中的采样点,若采样点落入真值框则匹配成功。可理解的,匹配时可能会出现如下匹配结果:对于某一个采样点,其可能包含于一个或者多个真值框,也可能包含进任何一个真值框;而对于某一个真值框,其范围内可能包含一个或者多个采样点,也可能未包含采样点。During matching, the point cloud test device searches for sampling points in the corresponding point cloud frame that are in the true value frame. If the sampling points fall into the true value frame, the match is successful. Understandably, the following matching results may appear during matching: for a certain sampling point, it may be included in one or more true value frames, or it may be included in any true value frame; and for a certain true value frame, its range may contain one or more sampling points, or it may not contain the sampling points.
请参见图13,图13是本申请实施例提供的一种匹配结果的示意图,其示出了点云帧#0的匹配结果,包含如下三类:Please refer to FIG. 13, which is a schematic diagram of a matching result provided in an embodiment of the present application, which shows the matching result of point cloud frame #0, including the following three categories:
类别1,匹配采样点。对于点云帧#0中的第一采样点,若第一采样点包含于第一真值框(第一真值框对应第一体目标),则该第一采样点属于匹配采样点且第一采样点与第一体目标的真值匹配(或与第一体目标匹配)。如图13所示,第一采样点例如点P5,其包含于真值框D1,即与体目标T1的真值(或与体目标T1)匹配。
Category 1, matching sampling points. For the first sampling point in point cloud frame #0, if the first sampling point is included in the first truth box (the first truth box corresponds to the first volume target), then the first sampling point belongs to the matching sampling point and the first sampling point matches the truth value of the first volume target (or matches the first volume target). As shown in FIG. 13 , the first sampling point, such as point P5, is included in the truth box D1, that is, it matches the truth value of volume target T1 (or matches volume target T1).
类别2,未匹配采样点。对于点云帧#0中的第二采样点,若第二采样点未落入任意一个真值框的情况下,第二采样点属于未匹配采样点。如图13所示,第二采样点例如点P6,其未落入4个真值框中的任一真值框中,属于未匹配采样点。Category 2, unmatched sampling point. For the second sampling point in point cloud frame #0, if the second sampling point does not fall into any of the truth value frames, the second sampling point belongs to an unmatched sampling point. As shown in FIG13 , the second sampling point, such as point P6, does not fall into any of the four truth value frames and belongs to an unmatched sampling point.
类别3,未匹配真值。若点云帧#3中任意一个采样点均未落入第一真值框,则第一真值框对应的真值属于未匹配真值。如图13所示,真值框D4中不包含点云帧#0中的任意一个采样点,故体目标T4对应的真值为未匹配真值。Category 3, unmatched truth value. If any sampling point in point cloud frame #3 does not fall into the first truth value box, the truth value corresponding to the first truth value box belongs to the unmatched truth value. As shown in Figure 13, the truth value box D4 does not contain any sampling point in point cloud frame #0, so the truth value corresponding to volume target T4 is the unmatched truth value.
以上图10所示的结果仅为示例。一些场景中,匹配时可以得到更多或者更少类别的结果,此处不再一一列举。The results shown in FIG10 above are only examples. In some scenarios, more or fewer categories of results may be obtained during matching, which will not be listed here one by one.
在一种可能的实施方式中,点云测试装置还可以通过匹配结果集合,对DUT得到的点云的精度、虚警、漏检等进行评估。In a possible implementation, the point cloud testing device may also evaluate the accuracy, false alarms, missed detections, etc. of the point cloud obtained by the DUT through a matching result set.
相关描述还可以参考步骤S404中的描述,但此实施例中的点云帧和真值帧未经过投影外。For related descriptions, reference may also be made to the description in step S404 , but the point cloud frame and the true value frame in this embodiment are not projected.
在图11所示的实施例中,点云测试装置基于体目标的真值和体目标的点云进行匹配,得到DUT输出的体目标的点云与体目标真值之间的匹配结果集合。由于体目标更接近实际目标,因此通过本申请实施例可以更准确地测试探测装置输出的点云质量,有利于对探测装置的探测能力进行评估。而且,通过自动化地对比体目标的真值和体目标的点云来得到匹配结果,能够显著缩小评估误差,提升测试精度和测试效率。In the embodiment shown in FIG11 , the point cloud test device matches the true value of the volume target and the point cloud of the volume target to obtain a set of matching results between the point cloud of the volume target output by the DUT and the true value of the volume target. Since the volume target is closer to the actual target, the quality of the point cloud output by the detection device can be more accurately tested through the embodiment of the present application, which is conducive to evaluating the detection capability of the detection device. Moreover, by automatically comparing the true value of the volume target and the point cloud of the volume target to obtain the matching result, the evaluation error can be significantly reduced, and the test accuracy and test efficiency can be improved.
另外,本申请实施例中将点云与三维匹配框进行匹配,可以准确地计算出点云与体目标之间的位置关系并得到匹配结果,点云测试的精度高。In addition, in the embodiment of the present application, the point cloud is matched with the three-dimensional matching box, and the positional relationship between the point cloud and the volume target can be accurately calculated and the matching result can be obtained, and the accuracy of the point cloud test is high.
在上述实施例,点云测试装置可以得到匹配结果集合。下面介绍基于匹配结果集合中的部分或者全部匹配结果,对DUT的点云进行评估的可能设计。In the above embodiment, the point cloud testing device can obtain a matching result set. The following describes a possible design for evaluating the point cloud of the DUT based on part or all of the matching results in the matching result set.
作为一种可能的设计,匹配采样点可以用于对DUT输出点云进行精度测试。具体的,点云测试装置根据匹配结果集合中的匹配采样点,得到关于DUT的精度评估数据。其中,精度评估数据包含匹配采样点数量、测距精度、速度精度和高度精度中的一项或者多项。下面分别针对几种测试项进行说明:As a possible design, matching sampling points can be used to perform accuracy testing on the DUT output point cloud. Specifically, the point cloud test device obtains accuracy evaluation data about the DUT based on the matching sampling points in the matching result set. The accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy, and height accuracy. The following describes several test items separately:
测试项1,匹配采样点数量。匹配采样点数量是与体目标的真值匹配的采样点的点数,DUT的点云数量能够反映算法处理能力。Test item 1, number of matching sampling points. The number of matching sampling points is the number of sampling points that match the true value of the volume target. The number of point clouds of the DUT can reflect the algorithm processing capability.
作为一种可能的实施方式,匹配采样点数量可以是以单目标为单位进行计算的。例如,以第四体目标为例,点云测试装置根据匹配采样点中与第四体目标的真值匹配的采样点的数量,得到关于第四体目标的匹配采样点数量。As a possible implementation, the number of matching sampling points may be calculated in units of a single target. For example, taking the fourth target as an example, the point cloud testing device obtains the number of matching sampling points about the fourth target based on the number of sampling points in the matching sampling points that match the true value of the fourth target.
可选的,针对单目标的匹配采样点数量,也可以有多种可能的计算方式。例如,计算方式1为:将多个点云帧中与第四体目标的真值匹配的采样点的数量进行累加得到。再如,计算方式2为:罗列每一个点云帧中与第四体目标的真值匹配的采样点的数量。再如,计算方式3为:计算多个点云帧中与第四体目标的真值匹配的采样点的数量的平均值。Optionally, there may be multiple possible calculation methods for the number of matching sampling points of a single target. For example, calculation method 1 is: accumulating the number of sampling points that match the true value of the fourth body target in multiple point cloud frames. For another example, calculation method 2 is: listing the number of sampling points that match the true value of the fourth body target in each point cloud frame. For another example, calculation method 3 is: calculating the average value of the number of sampling points that match the true value of the fourth body target in multiple point cloud frames.
请参见图14,图14是本申请实施例提供的一种可能的匹配采样点数量的示意图。如图14所示,真值框C1(体目标T1对应的真值框)可以与点云帧#0、点云帧#1、点云帧#2和点云帧#3中的采样点匹配,在点云帧#0中,在真值框C1中的采样点的数量为38;在点云帧#1中,在真值框C1中的采样点的数量为39;在点云帧#2中,在真值框C1中的采样点的数量为20;在点云帧#3中,在真值框C1中的采样点的数量为15。在采用计算方式1的情况下,体目标T1对应的匹配采样点数量为112。Please refer to Figure 14, which is a schematic diagram of a possible number of matching sampling points provided by an embodiment of the present application. As shown in Figure 14, the truth box C1 (the truth box corresponding to the volume target T1) can match the sampling points in point cloud frame #0, point cloud frame #1, point cloud frame #2 and point cloud frame #3. In point cloud frame #0, the number of sampling points in the truth box C1 is 38; in point cloud frame #1, the number of sampling points in the truth box C1 is 39; in point cloud frame #2, the number of sampling points in the truth box C1 is 20; in point cloud frame #3, the number of sampling points in the truth box C1 is 15. When calculation method 1 is used, the number of matching sampling points corresponding to the volume target T1 is 112.
上述是以一个体目标的匹配采样点数量为例进行说明。在具体实施过程中,若体目标的
数量为多个,则匹配采样点数量也可以为多项。如表1所示是本申请实施例提供的一种体目标对应的匹配采样点数量,包含序号、体目标的ID及其对应的匹配采样点的数量。例如,体目标T1对应的匹配采样点数量为112,体目标T2对应的匹配采样点数量为287,其余情况参见表1。当然,表1的格式、属性、数字等仅为示例。The above is an example of the number of matching sampling points for a body target. If the number is multiple, the number of matching sampling points can also be multiple. As shown in Table 1, the number of matching sampling points corresponding to a volume target provided in an embodiment of the present application includes a sequence number, the ID of the volume target and the number of matching sampling points corresponding to it. For example, the number of matching sampling points corresponding to volume target T1 is 112, and the number of matching sampling points corresponding to volume target T2 is 287. For other situations, see Table 1. Of course, the format, attributes, numbers, etc. of Table 1 are only examples.
表1体目标对应的匹配采样点数量
Table 1 Number of matching sampling points corresponding to volume targets
Table 1 Number of matching sampling points corresponding to volume targets
一些场景中,匹配采样点数量也可以以多目标为例进行计算。例如,将每个体目标分别的匹配采样点数量累加得到匹配采样点数量。In some scenarios, the number of matching sampling points can also be calculated based on multiple targets. For example, the number of matching sampling points of each volume target is accumulated to obtain the number of matching sampling points.
应理解,上述仅是为了便于理解故通过表格形式对匹配采样点数量进行说明,并不旨在限定匹配采样点数量的存储形式、输出形式和传输形式。具体实施过程中,也可以通过其他数据格式指示匹配采样点数量,例如链表、堆、栈、数据库表、对象等,此处不在一一举例。同理,本申请其他表格也是示例性的数据格式,不作为对本申请方案的严格限定。It should be understood that the above is only for the sake of ease of understanding, so the number of matching sampling points is described in a table form, and is not intended to limit the storage form, output form, and transmission form of the number of matching sampling points. In the specific implementation process, the number of matching sampling points can also be indicated by other data formats, such as linked lists, heaps, stacks, database tables, objects, etc., which are not listed one by one here. Similarly, other tables in this application are also exemplary data formats and are not used as strict limitations on the solution of this application.
测试项2,测距精度。其中,测距精度可以包含横向测距精度、径向测距精度、纵向测距精度等中的一项或者多项。测距精度能够反映DUT对体目标的位置检测的准确度,精度越高越有利于后端功能处理。例如,精度越高,越有利于提升以下功能的准确度:碰撞告警、可通行区域的识别等。Test item 2, ranging accuracy. The ranging accuracy can include one or more of the lateral ranging accuracy, radial ranging accuracy, longitudinal ranging accuracy, etc. The ranging accuracy can reflect the accuracy of the DUT's position detection of the body target. The higher the accuracy, the more conducive it is to back-end function processing. For example, the higher the accuracy, the more conducive it is to improving the accuracy of the following functions: collision warning, identification of passable areas, etc.
作为一种可能的实施方式,测距精度可以是以单目标为单位进行计算的。例如,以第二体目标为例,点云测试装置根据与第二体目标的真值匹配的采样点和第二体目标的真值,确定关于第二体目标的测距精度。As a possible implementation, the ranging accuracy may be calculated on a single target basis. For example, taking the second target as an example, the point cloud testing device determines the ranging accuracy of the second target based on the sampling points that match the true value of the second target and the true value of the second target.
一种可能的实施方式中,匹配采样点中包含与第二体目标的真值匹配的N个采样点,N为整数且N>0。第二体目标的真值包含M个角点,M为整数且M>0。其中,角点是在某方面属性特别突出的点。示例性地,角点可以是位于体目标的两条边的交叉点的点(或者与交叉点距离较近的点),和/或,体目标的边的中点(或者与中点较近的点)。一些场景中,角点的条件可以由用户或者厂商定义(例如设置特定条件进行角点检测)。例如,角点可以是通过Harris角点检测算法得到的点。In one possible implementation, the matching sampling points include N sampling points that match the true value of the second body target, where N is an integer and N>0. The true value of the second body target includes M corner points, where M is an integer and M>0. Among them, the corner point is a point with particularly prominent attributes in some aspect. Exemplarily, the corner point can be a point located at the intersection of two edges of the body target (or a point close to the intersection), and/or the midpoint of the edge of the body target (or a point close to the midpoint). In some scenarios, the conditions of the corner point can be defined by the user or manufacturer (for example, setting specific conditions for corner point detection). For example, the corner point can be a point obtained by the Harris corner point detection algorithm.
点云测试装置通过N个采样点和M个角点可以评估DUT在探测第二体目标时的测距精度。The point cloud test device can evaluate the ranging accuracy of the DUT when detecting a second body target through N sampling points and M corner points.
下面以单目标的横向测距精度为例进行说明。请参见图15,图15是本申请实施例提供的一种采样点与DUT的距离示意图。在N个采样点中包含最近采样点,M个角点中包含横向最近角点。第二体目标的横向测距精度与最近采样点和DUT之间的横向距离(即图15所示的Xpi)以及横向最近角点与DUT之间的横向距离(即图15所示的Xcj)相关。The following description is made by taking the lateral ranging accuracy of a single target as an example. Please refer to Figure 15, which is a schematic diagram of the distance between a sampling point and a DUT provided in an embodiment of the present application. The N sampling points include the nearest sampling point, and the M corner points include the lateral nearest corner point. The lateral ranging accuracy of the second body target is related to the lateral distance between the nearest sampling point and the DUT (i.e., Xpi shown in Figure 15) and the lateral distance between the lateral nearest corner point and the DUT (i.e., Xcj shown in Figure 15).
例如,关于第二体目标的横向测距精度σx满足如下公式:For example, the lateral ranging accuracy σ x of the second target satisfies the following formula:
σx=|Xpi-Xcj|σ x = |X pi -X cj |
其中,Xpi是最近采样点和DUT之间的横向距离,Xcj为横向最近角点和DUT之间的横向距离。Where Xpi is the lateral distance between the nearest sampling point and the DUT, and Xcj is the lateral distance between the nearest lateral corner point and the DUT.
应理解,“最近”是指该点与预设某点之间的距离,前述以预设某点是DUT为例进行示
例,具体实施过程中可以替换为其他点或者其他装置。It should be understood that "nearest" refers to the distance between the point and a preset point. The above example takes the preset point as the DUT. For example, it can be replaced by other points or other devices during the specific implementation process.
参见图15,最近采样点为N个采样点中与DUT相距最近(径向距离最近)的采样点。例如,N个采样点与DUT之间的距离可以分别表示为Dp1,Dp2,Dp3,…,DpN,其中,最近采样点与DUT之间的距离Dpi满足如下式子:Referring to FIG15 , the nearest sampling point is the sampling point that is closest to the DUT (shortest in radial distance) among the N sampling points. For example, the distances between the N sampling points and the DUT can be expressed as D p1 , D p2 , D p3 , …, D pN , respectively, where the distance D pi between the nearest sampling point and the DUT satisfies the following formula:
Dpi=min(Dp1,Dp2,Dp3,…,Dpn)D pi =min(D p1 ,D p2 ,D p3 ,…,D pn )
类似地,横向最近角点为M个角点中与DUT之间的横向距离最近的角点。例如,M个角点与DUT之间的横向距离可以分别表示为Xc1,Xc2,Xc3,…,Xcm,其中,横向最近角点与DUT之间的横向距离Xcj满足如下式子:Similarly, the lateral closest corner point is the corner point with the shortest lateral distance to the DUT among the M corner points. For example, the lateral distances between the M corner points and the DUT can be expressed as X c1 , X c2 , X c3 , …, X cm , respectively, where the lateral distance X cj between the lateral closest corner point and the DUT satisfies the following formula:
Xcj=min(Xc1,Xc2,Xc3,…,Xcm)X cj =min(X c1 ,X c2 ,X c3 ,…,X cm )
下面以单目标的镜像测距精度为例进行说明。请参见图16,图16是本申请实施例提供的又一种采样点与DUT的距离示意图。其中,在N个采样点中包含最近采样点,M个角点中包含径向最近角点。第二体目标的径向测距精度与最近采样点和DUT之间的径向距离(即图16所示的Dpi)以及横向最近角点与DUT之间的横向距离(即图16所示的Dck)相关。The following is an example of the mirror ranging accuracy of a single target. Please refer to Figure 16, which is a schematic diagram of the distance between another sampling point and the DUT provided in an embodiment of the present application. Among them, the N sampling points include the nearest sampling point, and the M corner points include the radial nearest corner point. The radial ranging accuracy of the second body target is related to the radial distance between the nearest sampling point and the DUT (i.e., Dpi shown in Figure 16) and the lateral distance between the lateral nearest corner point and the DUT (i.e., Dck shown in Figure 16).
例如,第二体目标的纵向测距精度σd满足如下式子:For example, the longitudinal ranging accuracy σd of the second target satisfies the following formula:
σd=|Dpi-Dck|σ d =|D pi −D ck |
其中,Dpi是最近采样点与DUT之间的径向距离,Dck为径向最近角点与DUT之间的径向距离。应理解,“最近”是指该点与预设某点之间的距离,前述以预设某点是DUT为例进行示例,具体实施过程中可以替换为其他点或者其他装置。Wherein, Dpi is the radial distance between the nearest sampling point and the DUT, and Dck is the radial distance between the nearest radial corner point and the DUT. It should be understood that "nearest" refers to the distance between the point and a preset point. The above example uses the preset point as the DUT as an example, which can be replaced by other points or other devices during the specific implementation process.
可选的,最近采样点的计算方式可以参考前述。Optionally, the calculation method of the nearest sampling point can refer to the above.
可选的,横向最近角点为M个角点中与DUT之间的径向距离最近的角点。例如,M个角点与DUT之间的径向距离可以分别表示为Dc1,Dc2,D,…,Dcm,其中,径向最近角点与DUT之间的径向距离Dck满足如下式子:Optionally, the lateral closest corner point is the corner point with the shortest radial distance to the DUT among the M corner points. For example, the radial distances between the M corner points and the DUT can be expressed as D c1 , D c2 , D,…, D cm , respectively, where the radial distance D ck between the radially closest corner point and the DUT satisfies the following formula:
Dck=min(Dc1,Dc2,D,…,Dcm)D ck =min(D c1 ,D c2 ,D,...,D cm )
上述是以一个体目标的测距精度为例进行说明。在具体实施过程中,若体目标的数量为多个,则测距精度也可以为多项。如表2所示是本申请实施例提供的一种体目标对应的测距精度,包含序号、体目标的ID、横向测距精度、或纵向测距精度等。例如,DUT关于体目标T1的横向测距精度为σx1,DUT关于体目标T1的纵向测距精度为σd1。DUT关于体目标T2的横向测距精度为σx2,DUT关于体目标T2的纵向测距精度为σd2。其余情况参见表2,此处不在一一说明。当然,表2的格式、属性、数字等仅为示例。The above is explained by taking the ranging accuracy of a body target as an example. In the specific implementation process, if the number of body targets is multiple, the ranging accuracy can also be multiple. As shown in Table 2, the ranging accuracy corresponding to a body target provided in an embodiment of the present application includes a sequence number, an ID of the body target, a lateral ranging accuracy, or a longitudinal ranging accuracy, etc. For example, the lateral ranging accuracy of the DUT with respect to the body target T1 is σ x1 , and the longitudinal ranging accuracy of the DUT with respect to the body target T1 is σ d1 . The lateral ranging accuracy of the DUT with respect to the body target T2 is σ x2 , and the longitudinal ranging accuracy of the DUT with respect to the body target T2 is σ d2 . For other situations, please refer to Table 2, which will not be described one by one here. Of course, the format, attributes, numbers, etc. of Table 2 are only examples.
表2关于体目标的测距精度
Table 2 Ranging accuracy of volume targets
Table 2 Ranging accuracy of volume targets
一些场景中,测距精度也可以以多目标为例进行计算。例如,将每个体目标分别对应的测距精度进行平均,或者,加权平均,得到平均测距精度。In some scenarios, the ranging accuracy can also be calculated based on multiple targets. For example, the ranging accuracy corresponding to each volume target is averaged, or weighted averaged, to obtain the average ranging accuracy.
测试项3,测速精度。测速精度反映DUT速度检测的准确度,测速精度可能影响智能驾驶功能的决策准确性。智能驾驶功能包含但不限于是自动紧急制动(autonomous emergency braking,AEB)、车道保持辅助(lane keeping assist,LKA)、自适应巡航控制系统(adaptive cruise control,ACC)、泊车辅助(parking assistance、PA)、或变道辅助(lane change assist,LCA)等。以ACC为例,ACC可以根据前车的速度确定自车的行驶状态(例如加速还是减速),若对前车的测速不准确,则可能导致行驶安全。Test item 3, speed measurement accuracy. Speed measurement accuracy reflects the accuracy of DUT speed detection, and speed measurement accuracy may affect the decision-making accuracy of intelligent driving functions. Intelligent driving functions include but are not limited to autonomous emergency braking (AEB), lane keeping assist (LKA), adaptive cruise control (ACC), parking assistance (PA), or lane change assist (LCA). Taking ACC as an example, ACC can determine the driving state of the vehicle (such as acceleration or deceleration) based on the speed of the vehicle in front. If the speed measurement of the vehicle in front is inaccurate, it may lead to driving safety.
作为一种可能的实施方式,测距精度可以是以单目标为单位进行计算的。例如,以第二
体目标为例,点云测试装置根据与第三体目标的真值匹配的采样点和第三体目标的真值,确定关于第二体目标的测距精度。As a possible implementation, the ranging accuracy may be calculated on a single target basis. Taking the volume target as an example, the point cloud testing device determines the ranging accuracy of the second volume target based on the sampling points matching the true value of the third volume target and the true value of the third volume target.
一种可能的实施方式中,匹配采样点中包含与第三体目标的真值匹配的K个采样点,K为整数且K>0。K个采样点中包含最强采样点。可选的,最强采样点可以为回波能量最强的采样点。关于第三体目标的测速精度与最强采样点的径向速度和第三体目标的真值的径向速度相关。由于一个体目标可能对应多个点,该实施方式以最强采样点来评估测速误差,可以提升对测速精度的测试准确度。In a possible implementation, the matching sampling points include K sampling points that match the true value of the third body target, K is an integer and K>0. The K sampling points include the strongest sampling point. Optionally, the strongest sampling point can be a sampling point with the strongest echo energy. The speed measurement accuracy of the third body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third body target. Since a body target may correspond to multiple points, this implementation uses the strongest sampling point to evaluate the speed measurement error, which can improve the test accuracy of the speed measurement accuracy.
示例性地,速度精度σv可以通过匹配点中的最强点径向速度与参考真值的径向速度误差绝对值大小来指示。例如,速度精度σv满足如下式子:Exemplarily, the velocity accuracy σ v can be indicated by the absolute value of the radial velocity error between the strongest point radial velocity in the matching point and the reference true value. For example, the velocity accuracy σ v satisfies the following formula:
σv=|Vpi-Vt|σ v =|V pi −V t |
其中,Vpi为最强采样点的径向速度,Vt为第三体目标的真值的径向速度。Among them, Vpi is the radial velocity of the strongest sampling point, and Vt is the radial velocity of the true value of the third body target.
作为一种可能的实施方式,最强采样点为K个采样点中雷达散射截面(radar cross section,RCS)最强的采样点,与真值匹配的采样点为K个,K个采样点的RCS分别表示为Rp1,Rp2,Rp3,…,RpK。最强采样点的RCS可以表示Rpi,其可以满足如下式子:As a possible implementation, the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,…, R pK . The RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
Rpi=max(Rp1,Rp2,Rp3,…,RpK)R pi =max(R p1 ,R p2 ,R p3 ,…,R pK )
可选的,前述第三体目标的真值的径向速度可以替换为第三体目标的径向速度。Optionally, the true radial velocity of the aforementioned third body target may be replaced by the radial velocity of the third body target.
测试项4,高度精度。高度精度能够反映点云的高度测量的准确度。Test item 4, height accuracy. Height accuracy can reflect the accuracy of the height measurement of the point cloud.
一种可能的实施方式中,高度精度可以通过高度分布为匹配采样点的高度值中,位于中间的50%的数据分布范围和/或正常值分布范围来指示。In a possible implementation, the height accuracy may be indicated by the height distribution being a data distribution range and/or a normal value distribution range located in the middle 50% of the height values of the matching sampling points.
其中,中间的50%的数据通过如下方式得到:把匹配采样点对应的高度值由小到大排列并分成四等份,得到三个四分位数(处于三个分割点位置的数值),而第一个四分位数和第三个四分位数之间的数据即中间的50%的数据。通过分析中间的50%的数据的分布,得到中间的50%的数据分布范围。The middle 50% of the data is obtained by arranging the height values corresponding to the matching sampling points from small to large and dividing them into four equal parts to obtain three quartiles (values at three split points), and the data between the first quartile and the third quartile is the middle 50% of the data. By analyzing the distribution of the middle 50% of the data, the distribution range of the middle 50% of the data is obtained.
进一步的,将第一个四分位数和第三个四分位数外扩1.5倍后得到两个正常值,位于这两个正常值之间的高度值即正常值数据,正常值数据的分布范围即正常值分布范围。Furthermore, two normal values are obtained by expanding the first quartile and the third quartile by 1.5 times. The height value between these two normal values is the normal value data, and the distribution range of the normal value data is the normal value distribution range.
一些场景中,上述数据分布范围的确定可以通过箱线图统计来实现。箱线图统计适用于不严格服从正态分布的数据,且四分位数对异常值的耐抗性强,能够相对客观地识别异常值。In some scenarios, the determination of the above data distribution range can be achieved through box plot statistics. Box plot statistics are suitable for data that do not strictly follow the normal distribution, and the quartiles are highly resistant to outliers and can identify outliers relatively objectively.
作为又一种可能的设计,匹配结果集合中的未匹配采样点可以用于虚警判断。虚警即某些情况下,目标不存在而探测装置判断为有目标并输出采样点的事件。虚警可以对应未与真值匹配的点云。As another possible design, the unmatched sampling points in the matching result set can be used for false alarm judgment. A false alarm is an event in which the target does not exist but the detection device judges that there is a target and outputs sampling points. A false alarm can correspond to a point cloud that does not match the true value.
一种可能的实施方式中,在虚警判断时,可以对点云帧中的未匹配采样点进行跟踪(或追踪),采用多帧关联的方式确定点云中是否存在虚警。示例性的,二维点云包含多个连续的点云帧,匹配集合包含未匹配采样点。点云测试装置根据未匹配采样点中位于多个连续的点云帧中的采样点,确定多个连续的点云帧中的虚警目标。In a possible implementation, when judging a false alarm, the unmatched sampling points in the point cloud frame can be tracked (or traced), and a multi-frame association method can be used to determine whether there is a false alarm in the point cloud. Exemplarily, the two-dimensional point cloud includes multiple continuous point cloud frames, and the matching set includes unmatched sampling points. The point cloud testing device determines the false alarm targets in the multiple continuous point cloud frames based on the sampling points in the unmatched sampling points that are located in the multiple continuous point cloud frames.
下面提供一种可能的跟踪未匹配点云的方法。A possible method for tracking unmatched point clouds is provided below.
若某一点云簇连续的多帧点云帧中出现多次,则可能形成虚警。具体的,点云测试装置将未匹配采样点中位于第二点云帧中的采样点聚类,得到点云簇,其中点云簇的数量可以为一个或者多个。点云测试装置为其中的第一点云簇分配初始生命值,根据第二点云帧之后的Q(Q为整数且Q>0)个点云帧中的采样点,确定Q个点云帧中的点云簇。根据第一点云簇的位置和Q个点云帧中的点云簇的位置,确定多个连续的点云帧中的虚警目标。其中,Q可以是固定的数字,也可以是非固定的数字。
If a certain point cloud cluster appears multiple times in multiple consecutive point cloud frames, a false alarm may be generated. Specifically, the point cloud testing device clusters the sampling points in the second point cloud frame among the unmatched sampling points to obtain point cloud clusters, where the number of point cloud clusters can be one or more. The point cloud testing device assigns an initial life value to the first point cloud cluster, and determines the point cloud clusters in Q point cloud frames based on the sampling points in Q (Q is an integer and Q>0) point cloud frames after the second point cloud frame. According to the position of the first point cloud cluster and the position of the point cloud clusters in the Q point cloud frames, the false alarm targets in multiple consecutive point cloud frames are determined. Among them, Q can be a fixed number or a non-fixed number.
一些可能的实施方式中,对于在某一点云帧中存在的一个点云簇,将该点云帧与后续的一个或者多个点云帧进行匹配。若之后的点云帧中存在与其匹配的点云簇,则将该点云簇的生命值增加,反之则降低该点云簇的生命值;如此重复匹配多个点云帧。若点云簇的生命值满足虚警条件(例如到达第一阈值时),该点云簇形成虚警目标。若点云簇的生命值满足取消虚警条件(例如达到第二阈值或者低于第三阈值),则该点云簇则不形成虚警目标,可选可以丢弃该点云簇。应理解,达到第一阈值可以是高于或者高于等于第一阈值,以具体设计为准。对于下文中的多个阈值和条件同理。In some possible implementations, for a point cloud cluster existing in a certain point cloud frame, the point cloud frame is matched with one or more subsequent point cloud frames. If there is a matching point cloud cluster in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; repeat the matching of multiple point cloud frames. If the life value of the point cloud cluster meets the false alarm condition (for example, when it reaches the first threshold), the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster meets the condition for canceling the false alarm (for example, reaching the second threshold or being lower than the third threshold), the point cloud cluster does not form a false alarm target, and the point cloud cluster can be optionally discarded. It should be understood that reaching the first threshold may be higher than or higher than or equal to the first threshold, subject to the specific design. The same applies to the multiple thresholds and conditions below.
请参见图17,图17是本申请实施例提供的一种可能的未匹配点云的示意图。在点云帧#0(可以看作第二点云帧)中的未匹配采样点可以被聚类得到点云簇G1和点云簇G2,其中,点云簇G1的生命值和点云簇G2的生命值均为60(初始生命值)。当点云簇的生命值大于等于100时满足虚警条件,当点云簇的生命值小于60时,达到消除虚警条件。Please refer to Figure 17, which is a schematic diagram of a possible unmatched point cloud provided by an embodiment of the present application. The unmatched sampling points in point cloud frame #0 (which can be regarded as the second point cloud frame) can be clustered to obtain point cloud cluster G1 and point cloud cluster G2, wherein the life value of point cloud cluster G1 and the life value of point cloud cluster G2 are both 60 (initial life value). When the life value of the point cloud cluster is greater than or equal to 100, the false alarm condition is met, and when the life value of the point cloud cluster is less than 60, the false alarm elimination condition is met.
对于点云帧#1,其为点云帧#0的后一个点云帧,该点云帧中的未匹配采样点可以被聚类得到点云簇G3和点云簇G4。点云测试装置根据点云簇G3、点云簇G4与点云帧#0中的点云簇进行匹配。示例性地,点云簇G4和点云簇G1匹配,则点云簇G4(即G1)的生命值增加20,当前生命值80;而点云簇G2在点云帧#1中没有匹配的点云簇,则点云簇G2的生命值降低20,点云簇G2的生命值为40。在第三阈值为60的情况下,由于点云簇G2已经低于60,不形成虚警目标,丢弃。点云簇G3为点云帧#0中新发现的点云簇,被分配生命值60(初始生命值)。For point cloud frame #1, which is the next point cloud frame of point cloud frame #0, the unmatched sampling points in the point cloud frame can be clustered to obtain point cloud cluster G3 and point cloud cluster G4. The point cloud testing device matches the point cloud clusters in point cloud frame #0 according to point cloud clusters G3 and G4. Exemplarily, if point cloud cluster G4 matches point cloud cluster G1, the life value of point cloud cluster G4 (i.e., G1) increases by 20, and the current life value is 80; while point cloud cluster G2 has no matching point cloud cluster in point cloud frame #1, the life value of point cloud cluster G2 decreases by 20, and the life value of point cloud cluster G2 is 40. When the third threshold is 60, since point cloud cluster G2 is already below 60, it does not form a false alarm target and is discarded. Point cloud cluster G3 is a newly discovered point cloud cluster in point cloud frame #0 and is assigned a life value of 60 (initial life value).
对于点云帧#2,其为点云帧#1的后1个点云帧,该点云帧中的未匹配采样点可以被聚类得到点云簇G5。点云测试装置根据点云簇G5与点云帧#1中的点云簇进行匹配。示例性地,点云簇G5和点云簇G4(即G1)匹配,则点云簇G5(即G1)的生命值增加20,当前生命值100。在第一阈值为100的情况下,由于点云簇G5(即G1)的生命值达到第一阈值,则点云簇G5形成虚警目标。进一步的,点云测试装置根据点云簇5与点云帧#1中的点云簇进行匹配。点云簇G3在点云帧#2没有匹配的点云簇,则点云簇G2的生命值降低20,点云簇G3的生命值为40,已经低于60,不形成虚警目标,丢弃。For point cloud frame #2, which is the next point cloud frame of point cloud frame #1, the unmatched sampling points in the point cloud frame can be clustered to obtain point cloud cluster G5. The point cloud testing device matches the point cloud cluster G5 with the point cloud cluster in point cloud frame #1. Exemplarily, if point cloud cluster G5 matches point cloud cluster G4 (i.e., G1), the life value of point cloud cluster G5 (i.e., G1) increases by 20, and the current life value is 100. When the first threshold is 100, since the life value of point cloud cluster G5 (i.e., G1) reaches the first threshold, point cloud cluster G5 forms a false alarm target. Further, the point cloud testing device matches the point cloud cluster 5 with the point cloud cluster in point cloud frame #1. If point cloud cluster G3 has no matching point cloud cluster in point cloud frame #2, the life value of point cloud cluster G2 is reduced by 20, and the life value of point cloud cluster G3 is 40, which is already lower than 60, and does not form a false alarm target and is discarded.
对于点云帧#3,其为点云帧#2的后1个点云帧。该点云帧中的未匹配采样点可以被聚类得到点云簇G6。点云测试装置根据点云簇G6与点云帧#2中的点云簇进行匹配。示例性地,点云簇G5和点云簇G5(即G1)匹配,则点云簇G6(即G1)的生命值增加20,当前生命值120,达到第一阈值,则点云簇G6形成虚警目标。For point cloud frame #3, it is the next point cloud frame after point cloud frame #2. The unmatched sampling points in the point cloud frame can be clustered to obtain point cloud cluster G6. The point cloud testing device matches the point cloud cluster G6 with the point cloud cluster in point cloud frame #2. Exemplarily, if point cloud cluster G5 matches point cloud cluster G5 (i.e., G1), the life value of point cloud cluster G6 (i.e., G1) increases by 20, and the current life value is 120, reaching the first threshold, then point cloud cluster G6 forms a false alarm target.
作为一种可能的实施方式,在匹配点云簇时,根据点云帧中的点云簇的大小确定点云簇框,该点云簇框可以包住簇内的点云。对于当前点云帧,若下一点云帧中存在点云簇框与当前帧的点云簇框有重合部分,计算点云簇框与点云簇框之间的重合度矩阵,建立框间关联。若下一点云帧中存在点云簇框与当前帧的点云簇框匹配成功,则此点云簇生命值增加;反之则点云簇生命值降低。通过匹配框建立框间关联,可以进一步降低计算复杂度,提升点云测试效率。As a possible implementation method, when matching point cloud clusters, the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the point cloud cluster frame can enclose the point cloud in the cluster. For the current point cloud frame, if there is a point cloud cluster frame in the next point cloud frame that overlaps with the point cloud cluster frame of the current frame, the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish an inter-frame association. If the point cloud cluster frame in the next point cloud frame successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases. By establishing inter-frame associations through matching frames, the computational complexity can be further reduced and the efficiency of point cloud testing can be improved.
需要说明的是,以上实施例以向后匹配为例进行说明,即当前的点云帧中的点云簇与之后的点云帧中的点云簇进行匹配。在一些可能的实施方式中,当前的点云帧中的点云簇也可以进行向前匹配,即:当前的点云帧中的点云簇与之前的点云帧中的点云簇进行匹配。It should be noted that the above embodiments are described by taking backward matching as an example, that is, the point cloud clusters in the current point cloud frame are matched with the point cloud clusters in the subsequent point cloud frame. In some possible implementations, the point cloud clusters in the current point cloud frame can also be matched forward, that is, the point cloud clusters in the current point cloud frame are matched with the point cloud clusters in the previous point cloud frame.
以上是以图示的方式对虚警判断进行了介绍。为了便于理解,下面提供一种虚警判断的流程示意图。请参见图18,图18是本申请实施例提供的又一种虚警判断方法的流程示意图。该虚警判断方法可以由点云测试装置执行。具体可以包含步骤S1801至步骤S1804,具体如
下:The above is an introduction to false alarm judgment in a graphical manner. For ease of understanding, a flow chart of false alarm judgment is provided below. Please refer to Figure 18, which is a flow chart of another false alarm judgment method provided by an embodiment of the present application. The false alarm judgment method can be executed by a point cloud testing device. Specifically, it can include steps S1801 to S1804, as shown in FIG. Down:
步骤S1801:点云聚类。Step S1801: point cloud clustering.
点云测试装置将当前点云帧中的未匹配点云进行聚类,得到点云簇。The point cloud testing device clusters the unmatched point clouds in the current point cloud frame to obtain point cloud clusters.
步骤S1802:分配ID及初始生命值。Step S1802: Allocate ID and initial life value.
点云测试装置为点云簇分配ID(可选)和初始生命值。ID例如图17所示的G1、或G2等。可选的,当不同点云中的点云簇匹可以匹配时,可以共用同一ID,便于进行虚警判断。The point cloud testing device assigns an ID (optional) and an initial life value to the point cloud cluster. The ID is, for example, G1 or G2 as shown in FIG17 . Optionally, when point cloud clusters in different point clouds can be matched, they can share the same ID to facilitate false alarm judgment.
初始生命值例如为60。The initial health value is 60, for example.
步骤S1803:与下一点云帧中的点云簇匹配。Step S1803: Matching with the point cloud cluster in the next point cloud frame.
如图17所示,在点云帧#0的下一帧为点云帧#1的情况下,将点云帧#0中的点云簇与点云帧#1中的点云簇匹配。As shown in FIG. 17 , when the next frame of point cloud frame #0 is point cloud frame #1, the point cloud clusters in point cloud frame #0 are matched with the point cloud clusters in point cloud frame #1.
步骤S1804:匹配成功生命值+20,未匹配成功生命值-20。Step S1804: If the match is successful, the health value is +20; if the match is unsuccessful, the health value is -20.
如图17所示,点云簇G4与点云簇G1匹配成功,点云簇G4(即G1)的生命值增加20。点云簇G2在点云帧#1中未匹配成功,生命值减少20。As shown in FIG17 , point cloud cluster G4 successfully matches point cloud cluster G1, and the life value of point cloud cluster G4 (ie, G1) increases by 20. Point cloud cluster G2 fails to match in point cloud frame #1, and its life value decreases by 20.
若下一点云帧中的点云簇的生命值≤60,则丢弃该点云簇。例如,点云簇G2生命值为40,满足该条件,则丢弃点云簇G2。If the life value of the point cloud cluster in the next point cloud frame is ≤60, the point cloud cluster is discarded. For example, if the life value of point cloud cluster G2 is 40, the point cloud cluster G2 is discarded if the condition is met.
若下一点云帧中的点云簇的生命值=100,则形成虚警。如此进行循环,确定点云帧中的虚警目标。If the life value of the point cloud cluster in the next point cloud frame is 100, a false alarm is generated. This cycle is repeated to determine the false alarm target in the point cloud frame.
上述实施方式中,由于单个采样点容易产生闪烁、匹配复杂度高且结果可靠性低,上述实施方式将未匹配采样点进行聚类,以点云簇的方式来实现对未匹配点云的追踪,不仅降低了匹配的复杂度,还大大提升了虚警判断的可靠性和可用性,提升了点云测试的准确性。In the above implementation, since a single sampling point is prone to flickering, the matching complexity is high and the result reliability is low, the above implementation clusters the unmatched sampling points and tracks the unmatched point cloud in the form of point cloud clusters, which not only reduces the complexity of matching, but also greatly improves the reliability and availability of false alarm judgment, and improves the accuracy of point cloud testing.
一种可能的实施方式中,未匹配点云还可以用于确定虚警率。In a possible implementation manner, the unmatched point cloud may also be used to determine the false alarm rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和虚警点云帧的数量,确定虚警率。其中,虚警点云帧为存在虚警目标的点云帧,或者,虚警点云帧为包含至少一个生命值达到第一阈值的点云簇的点云帧。Exemplarily, the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
示例性的,虚警率ρ满足如下式子:Exemplarily, the false alarm rate ρ satisfies the following formula:
其中,n为参与虚警目标计算的点云帧的帧数,nfalse为存在虚警目标的帧数。Among them, n is the number of point cloud frames involved in the calculation of false alarm targets, and n false is the number of frames with false alarm targets.
例如,以图17为例,参与虚警目标计算的点云帧的帧数为4,其中存在虚警目标的点云帧为点云帧#3和点云帧#4,故虚警率为50%。这种情况下,虽然点云帧#0和点云帧#1中也存在形成了虚警目标的点云簇,但彼时虚警目标还未确诊,故不参与虚警率计算。For example, taking Figure 17 as an example, the number of point cloud frames involved in the calculation of false alarm targets is 4, among which the point cloud frames with false alarm targets are point cloud frames #3 and point cloud frames #4, so the false alarm rate is 50%. In this case, although point cloud clusters that form false alarm targets also exist in point cloud frames #0 and point cloud frames #1, the false alarm targets have not been diagnosed at that time, so they are not involved in the calculation of false alarm rate.
当然,一些场景中,一旦虚警目标确定,未确定阶段的点云簇所在点云帧也作为存在虚警的点云帧,此时点云帧#0和点云帧#1也可以作为虚警点云帧,即虚警率为100%。Of course, in some scenarios, once the false alarm target is determined, the point cloud frame where the point cloud cluster in the undetermined stage is located is also regarded as the point cloud frame with false alarm. At this time, point cloud frame #0 and point cloud frame #1 can also be regarded as false alarm point cloud frames, that is, the false alarm rate is 100%.
作为又一种可能的设计,未匹配真值可以用于漏检判断。漏检即某些情况下,目标存在而雷达判断为无目标没有输出点云这一事件。点云的漏检可以对应未匹配点云的真值。As another possible design, the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, the target exists but the radar judges that there is no target and does not output the point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
可选的,在漏检判断时,可以确定体目标是否被遮挡。当体目标被遮挡时,则对该体目标的漏检不属于有效漏检。Optionally, when judging missed detection, it can be determined whether the volume object is blocked. If the volume object is blocked, the missed detection of the volume object does not belong to a valid missed detection.
在一种可能的实施方式中,二维点云包含第三点云帧,匹配结果集合包含第三点云帧对应的未匹配真值。在漏检判断时,点云测试装置根据第三点云帧对应的未匹配真值,确定第三点云帧中的疑似漏检目标,根据至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标。点云测试装置,过滤第三点云帧中的疑似漏检目标中被遮挡的体目标,确定第三点云
帧包含的漏检目标。如此,根据遮挡关系去除疑似漏检目标中被遮挡的体目标,减少由于体目标遮挡而带来的漏检判断误差。In a possible implementation, the two-dimensional point cloud includes a third point cloud frame, and the matching result set includes an unmatched true value corresponding to the third point cloud frame. When judging missed detection, the point cloud testing device determines the suspected missed detection target in the third point cloud frame according to the unmatched true value corresponding to the third point cloud frame, and determines the obscured volume target according to the field of view relationship between at least one volume target and the radar. The point cloud testing device filters the obscured volume targets in the suspected missed detection targets in the third point cloud frame, and determines the third point cloud frame. In this way, the occluded volume targets in the suspected missed detection targets are removed according to the occlusion relationship, thus reducing the missed detection judgment error caused by the occlusion of the volume targets.
在一种可能的实施方式中,根据至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标,包括:In a possible implementation, determining the obscured volume target according to the field of view relationship between at least one volume target and the radar includes:
根据至少一个体目标中的第五体目标与DUT之间的连线与其他体目标的边的相交情况,确定第五体目标是否被遮挡。Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
请参见图19,图19是本申请实施例提供的一种体目标的位置示意图。图19所示的体目标包含体目标T5、体目标T6、体目标T7和体目标T8,其中数量和ID仅为示例。若某一点云帧中,体目标T5、体目标T7和体目标T7的真值均属于未匹配真值,则需确定体目标之间的遮挡关系。其中,遮挡关系可以通过体目标的真值中的角点来确定。Please refer to Figure 19, which is a schematic diagram of the position of a body target provided in an embodiment of the present application. The body targets shown in Figure 19 include body target T5, body target T6, body target T7 and body target T8, where the number and ID are only examples. If in a certain point cloud frame, the true values of body target T5, body target T7 and body target T7 are all unmatched true values, the occlusion relationship between the body targets needs to be determined. Among them, the occlusion relationship can be determined by the corner points in the true value of the body target.
作为一种遮挡关系的确认方法的示例,若第五体目标的多个角点中存在V个被遮挡角点,则第五体目标被遮挡,V为整数且V>0,其中被遮挡角点为角点连线与其它体目标的边相交的角点。如图19所示,以V=4为例,体目标T5的8个角点分别表示为A1至A8,其中,A3、A5、A7和A8与DUT的连线均与体目标T8的边相交,故上述四个角点均为被遮挡角点,因此体目标T5属于被遮挡目标。而体目标T6中,8个角点分别表示为B1至B8,仅B6为被遮挡角点,故体目标T6不属于被遮挡目标。As an example of a method for confirming an occlusion relationship, if there are V occluded corner points among the multiple corner points of the fifth body target, the fifth body target is occluded, V is an integer and V>0, wherein the occluded corner point is a corner point where the line connecting the corner points intersects with the edges of other body targets. As shown in FIG19 , taking V=4 as an example, the eight corner points of body target T5 are respectively represented as A1 to A8 , wherein the lines connecting A3 , A5 , A7 and A8 with the DUT all intersect with the edges of body target T8, so the above four corner points are all occluded corner points, and therefore body target T5 belongs to the occluded target. In body target T6, the eight corner points are respectively represented as B1 to B8 , and only B6 is an occluded corner point, so body target T6 does not belong to the occluded target.
作为又一种遮挡关系的确认方法的示例,若第五体目标为遮挡目标,则其满足如下两个条件:①第五体目标的V个角点与DUT的连线与其它体目标的边相交,V为整数且V>0;②第五体目标中有效边(参见下文解释)的数量大于等于第四阈值。其中第四阈值可以是预先定义或者预先设置的。例如,第四阈值可以为4,或者第四阈值为1。As another example of a method for confirming an occlusion relationship, if the fifth object is an occlusion object, it satisfies the following two conditions: ① The lines connecting the V corner points of the fifth object and the DUT intersect with the edges of other objects, V is an integer and V>0; ② The number of valid edges (see explanation below) in the fifth object is greater than or equal to a fourth threshold. The fourth threshold may be predefined or pre-set. For example, the fourth threshold may be 4, or the fourth threshold may be 1.
对于条件①,V可以等于角点总数,例如,V=8。对于条件②,有效边可以通过如下方式确定:对于第五体目标中的任一角点或任一边角点(边角点指位于边上的角点,例如图19所示的A2、A4、A5、A7),若该角点(或该边角点)与DUT的连线相交于第五体目标任一边,则该角点(或该边角点)所在的边无效。若第五体目标中的第一边上的角点与DUT的连线均与第五体目标中的其它边不相交,则该第一边为有效边。例如,如图19所示,角点A2与DUT连线相交于A5所在的边,故角点A2所在的边为体目标T5的无效边。同理,角点A4所在的边为无效边。而角点A5与DUT的连线与体目标T5中的其它边均不相交,故角点A5所在的边为体目标T5的有效边,同理,角点A7所在的边为有效边。For condition ①, V can be equal to the total number of corner points, for example, V = 8. For condition ②, the valid edge can be determined as follows: for any corner point or any edge corner point in the fifth body target (edge corner points refer to corner points located on the edge, such as A2, A4, A5, A7 shown in Figure 19), if the line connecting the corner point (or the edge corner point) and the DUT intersects on any edge of the fifth body target, then the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner point on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, then the first edge is a valid edge. For example, as shown in Figure 19, the corner point A2 intersects with the DUT line at the edge where A5 is located, so the edge where the corner point A2 is located is an invalid edge of body target T5. Similarly, the edge where the corner point A4 is located is an invalid edge. The line connecting corner point A5 and DUT does not intersect with other edges in volume target T5, so the edge where corner point A5 is located is a valid edge of volume target T5. Similarly, the edge where corner point A7 is located is a valid edge.
以V=8、第四阈值是1为例,如图19所示,体目标T5中8个角点的连线均与体目标T8的真值相交,故满足条件①;体目标T5中A5和A7所在的边为有效边,满足条件②。故体目标T5为被遮挡目标。Taking V=8 and the fourth threshold value of 1 as an example, as shown in FIG19 , the lines connecting the eight corner points in volume target T5 all intersect with the true value of volume target T8, so condition ① is satisfied; the edges where A5 and A7 in volume target T5 are located are valid edges, satisfying condition ②. Therefore, volume target T5 is an occluded target.
在又一种可能的实施方式中,在漏检判断时,可以在点云帧中对未匹配真值对应的区域进行跟踪,采用多帧关联的方式确定体目标是否被漏检。如此,可以在之后的点云帧中对未匹配真值实现追踪,可以减少由于点云闪烁而带来的漏检判断误差,提高虚警判断的准确性,提升点云测试的准确性。In another possible implementation, when judging missed detection, the area corresponding to the unmatched true value can be tracked in the point cloud frame, and a multi-frame association method can be used to determine whether the volume target is missed. In this way, the unmatched true value can be tracked in subsequent point cloud frames, which can reduce the missed detection judgment error caused by point cloud flickering, improve the accuracy of false alarm judgment, and improve the accuracy of point cloud testing.
示例性的,当连续三点云帧存在对于第六体目标的漏检时,该第六体目标为确定漏检目标。Exemplarily, when there is a missed detection of a sixth object in three consecutive point cloud frames, the sixth object is determined to be a missed detection object.
在又一种可能的实施方式中,未匹配真值还可以用于确定漏检率。In yet another possible implementation, the unmatched true value may also be used to determine the missed detection rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和漏检点云帧的数量,确定漏检率。其中,漏检点云帧为存在漏检目标(或确定漏检目标)的点云帧。Exemplarily, the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
示例性的,漏检率γ满足如下式子:
Exemplarily, the missed detection rate γ satisfies the following formula:
Exemplarily, the missed detection rate γ satisfies the following formula:
其中,n为参与漏检目标计算的点云帧的帧数,n_lose为漏检点云帧的帧数。相关描述可以参考前述计算虚警率的示例。Where n is the number of point cloud frames involved in the missed target calculation, and n_lose is the number of missed point cloud frames. For related descriptions, please refer to the above example of calculating the false alarm rate.
上述详细阐述了本申请实施例的方法,下面提供本申请实施例的装置。The method of the embodiment of the present application is described in detail above, and the device of the embodiment of the present application is provided below.
应理解,本申请实施例中所提供的装置,其中的单元的划分仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。此外,装置中的单元可以以处理器调用软件的形式实现;例如装置包括处理器,处理器与存储器连接,存储器中存储有指令,处理器调用存储器中存储的指令,以实现以上任一种方法或实现该装置各单元的功能,其中处理器例如为通用处理器,例如中央处理单元(Central Processing Unit,CPU)或微处理器,存储器为装置内的存储器或装置外的存储器。或者,装置中的单元可以以硬件电路的形式实现,可以通过对硬件电路的设计实现部分或全部单元的功能,该硬件电路可以理解为一个或多个处理器;例如,在一种实现中,该硬件电路为专用集成电路(application-specific integrated circuit,ASIC),通过对电路内元件逻辑关系的设计,实现以上部分或全部单元的功能;再如,在另一种实现中,该硬件电路为可以通过可编程逻辑器件(programmable logic device,PLD)实现,以现场可编程门阵列(Field Programmable Gate Array,FPGA)为例,其可以包括大量逻辑门电路,通过配置文件来配置逻辑门电路之间的连接关系,从而实现以上部分或全部单元的功能。以上装置的所有单元可以全部通过处理器调用软件的形式实现,或全部通过硬件电路的形式实现,或部分通过处理器调用软件的形式实现,剩余部分通过硬件电路的形式实现。It should be understood that the division of units in the device provided in the embodiments of the present application is only a division of logical functions, and in actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. In addition, the units in the device can be implemented in the form of a processor calling software; for example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or to implement the functions of each unit of the device, wherein the processor is, for example, a general-purpose processor, such as a central processing unit (CPU) or a microprocessor, and the memory is a memory inside the device or a memory outside the device. Alternatively, the units in the device may be implemented in the form of hardware circuits, and the functions of some or all of the units may be implemented by designing the hardware circuits, and the hardware circuits may be understood as one or more processors; for example, in one implementation, the hardware circuit is an application-specific integrated circuit (ASIC), and the functions of some or all of the above units may be implemented by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit may be implemented by a programmable logic device (PLD), and a field programmable gate array (FPGA) may be used as an example, which may include a large number of logic gate circuits, and the connection relationship between the logic gate circuits may be configured by a configuration file, so as to implement the functions of some or all of the above units. All units of the above devices may be implemented in the form of a processor calling software, or in the form of hardware circuits, or in part by a processor calling software, and the rest by hardware circuits.
本申请是合理中,装置中的各单元可以是被配置成实施以上方法的一个或多个处理器(或处理电路),例如:CPU、GPU、NPU、TPU、DPU、微处理器、DSP、ASIC、FPGA,或这些处理器形式中至少两种的组合。The present application is reasonable, and each unit in the device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
此外,以上装置中的各单元可以全部或部分可以集成在一起,或者可以独立实现。在一种实现中,这些单元集成在一起,以片上系统(system-on-a-chip,SOC)的形式实现。该SOC中可以包括至少一个处理器,用于实现以上任一种方法或实现该装置各单元的功能,该至少一个处理器的种类可以不同,例如包括CPU和FPGA,CPU和人工智能处理器,CPU和GPU等。In addition, the units in the above device can be fully or partially integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a system-on-a-chip (SOC). The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
下面列举几种可能的装置。Several possible arrangements are listed below.
请参见图20,图20是本申请实施例提供的一种点云测试装置的结构示意图。可选的,该点云测试装置200可以为独立设备,例如服务器等。或者,该点云测试装置200也可以独立设备(如节点)中的一个器件,例如芯片或者集成电路等。该点云测试装置200用于实现前述的点云测试方法,例如图5、图11、或图18所示的点云测试方法。例如,该点云测试装置200可以替换图3所示系统中的点云测试装置301。Please refer to Figure 20, which is a schematic diagram of the structure of a point cloud testing device provided in an embodiment of the present application. Optionally, the point cloud testing device 200 can be an independent device, such as a server. Alternatively, the point cloud testing device 200 can also be a device in an independent device (such as a node), such as a chip or an integrated circuit. The point cloud testing device 200 is used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in Figure 5, Figure 11, or Figure 18. For example, the point cloud testing device 200 can replace the point cloud testing device 301 in the system shown in Figure 3.
如图20所示的点云测试装置200包含数据获取模块2001和数据匹配模块2002,其中:The point cloud testing device 200 shown in FIG. 20 includes a data acquisition module 2001 and a data matching module 2002, wherein:
数据获取模块2001用于获取真值数据和点云,真值数据为体目标的真值,点云为DUT对体目标进行探测得到的探测结果,探测结果包含采样点;The data acquisition module 2001 is used to obtain true value data and point cloud, the true value data is the true value of the volume target, and the point cloud is the detection result obtained by the DUT detecting the volume target, and the detection result includes sampling points;
数据匹配模块2002用于将点云和真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The data matching module 2002 is used to match the point cloud with the true value data to obtain a matching result set, which includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
可选的,体目标的数量可以是一个或者多个。为了便于描述本申请的方案,以下将体目标的数量描述为至少一个。
Optionally, the number of volume targets may be one or more. In order to facilitate the description of the solution of the present application, the number of volume targets is described as at least one below.
在又一种可能的实施方式中,数据匹配模块2002用于:In yet another possible implementation, the data matching module 2002 is used to:
根据真值数据建立三维匹配框;Establish a three-dimensional matching box based on the true value data;
将点云与三维匹配框进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The point cloud is matched with the three-dimensional matching box to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
在一种可能的实施方式中,数据匹配模块2002用于:In a possible implementation, the data matching module 2002 is used to:
将真值数据投影得到二维真值数据;Project the true value data to obtain two-dimensional true value data;
将点云投影得到二维点云;Project the point cloud to obtain a two-dimensional point cloud;
将二维点云与二维真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值等。The two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, where the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
在一种可能的实施方式中,数据匹配模块2002用于:In a possible implementation, the data matching module 2002 is used to:
将真值数据投影到水平平面,得到二维真值数据;Project the true value data onto the horizontal plane to obtain two-dimensional true value data;
将点云投影得到二维点云,包括:Project the point cloud to obtain a two-dimensional point cloud, including:
将点云投影到水平平面,得到二维点云。Project the point cloud onto a horizontal plane to obtain a two-dimensional point cloud.
在又一种可能的实施方式中,真值数据和点云的时间对齐。进一步的,在真值数据和点云被投影为二维数据时,二维真值数据和二维点云的时间对齐。In yet another possible implementation, the time of the true value data and the point cloud is aligned. Further, when the true value data and the point cloud are projected as two-dimensional data, the time of the two-dimensional true value data and the two-dimensional point cloud is aligned.
在又一种可能的实施方式中,真值数据和点云的坐标对齐。In yet another possible implementation, the coordinates of the true value data and the point cloud are aligned.
在又一种可能的实施方式中,二维真值数据包含多个真值帧,二维点云包含多个点云帧;In yet another possible implementation, the two-dimensional truth data includes a plurality of truth frames, and the two-dimensional point cloud includes a plurality of point cloud frames;
数据匹配模块2002,还用于:The data matching module 2002 is further used for:
确定第一真值帧中的至少一个真值框,其中,一个真值框对应一个体目标,第一真值帧属于多个真值帧;Determine at least one truth frame in a first truth frame, wherein one truth frame corresponds to one volume target, and the first truth frame belongs to multiple truth frames;
根据至少一个真值框的范围和第一点云帧中的多个采样点的位置,得到匹配结果子集,其中,第一点云帧属于多个点云帧,第一点云帧和第一真值帧的时间戳相同,匹配结果子集属于匹配结果集合。A matching result subset is obtained according to a range of at least one true value frame and positions of multiple sampling points in a first point cloud frame, wherein the first point cloud frame belongs to multiple point cloud frames, the first point cloud frame and the first true value frame have the same timestamp, and the matching result subset belongs to a matching result set.
在又一种可能的实施方式中,至少一个真值框包含第一体目标对应的第一真值框,第一体目标属于至少一个体目标;In yet another possible implementation, the at least one truth box includes a first truth box corresponding to a first volume target, and the first volume target belongs to the at least one volume target;
在第一点云帧包含第一采样点且第一采样点落入第一真值框的情况下,第一采样点属于匹配采样点,且第一采样点与第一体目标的真值匹配;When the first point cloud frame includes the first sampling point and the first sampling point falls into the first true value frame, the first sampling point belongs to the matching sampling point, and the first sampling point matches the true value of the first volume target;
在第一点云帧包含第二采样点且第二采样点未落入至少一个真值框中的任意一个真值框的情况下,第二采样点属于未匹配采样点;In the case where the first point cloud frame includes the second sampling point and the second sampling point does not fall into any truth frame of the at least one truth frame, the second sampling point belongs to an unmatched sampling point;
在第一点云帧中任意一个采样点均未落入第一真值框的情况下,则第一真值框对应的真值属于未匹配真值。When any sampling point in the first point cloud frame does not fall into the first true value frame, the true value corresponding to the first true value frame is an unmatched true value.
在又一种可能的实施方式中,至少一个真值框的数量大于或大于等于2,In yet another possible implementation, the number of at least one truth box is greater than or equal to 2.
数据匹配模块2002,还用于:The data matching module 2002 is further used for:
在第一点云帧包含第三采样点且第三采样点落入至少两个真值框的情况下,根据第三采样点与至少两个真值框对应的体目标的真值之间的位置,确定与第三采样点匹配的体目标的真值。When the first point cloud frame includes the third sampling point and the third sampling point falls into at least two true value frames, the true value of the volume target matching the third sampling point is determined according to the position between the third sampling point and the true values of the volume targets corresponding to the at least two true value frames.
在又一种可能的实施方式中,数据匹配模块2002,还用于:In yet another possible implementation, the data matching module 2002 is further configured to:
将至少两个真值框对应的体目标的真值与第三采样点建立点对,根据点对构造距离矩阵,得到真值与第三采样点之间的距离,将距离最近的真值作为与第三采样点匹配的真值。A point pair is established between the true value of the volume target corresponding to at least two truth value frames and the third sampling point, a distance matrix is constructed according to the point pair, the distance between the true value and the third sampling point is obtained, and the true value with the closest distance is taken as the true value matching the third sampling point.
在又一种可能的实施方式中,数据获取模块2001,还用于:In yet another possible implementation, the data acquisition module 2001 is further configured to:
对初始真值和初始点云进行预处理,得到真值数据和点云。其中,预处理可以包含以下
处理中的一项或者多项:时间对齐、坐标转换和格式转换等。预处理能够提升真值数据和点云之间的对应性,降低匹配时的复杂度,提升点云测试效率。Preprocess the initial truth value and initial point cloud to obtain the truth value data and point cloud. The preprocessing may include the following: One or more of the processing: time alignment, coordinate conversion, format conversion, etc. Preprocessing can improve the correspondence between the true value data and the point cloud, reduce the complexity of matching, and improve the efficiency of point cloud testing.
在又一种可能的实施方式中,点云测试装置200还包含数据计算模块2003,数据计算模块用于通过匹配结果集合,对点云的精度、虚警、漏检进行评估。In another possible implementation, the point cloud testing device 200 further includes a data calculation module 2003, which is used to evaluate the accuracy, false alarms, and missed detections of the point cloud through a set of matching results.
在又一种可能的实施方式中,点云测试装置还包含数据计算模块,数据计算模块用于根据匹配结果集合中的匹配采样点,得到关于DUT的精度评估数据。其中,精度评估数据包含匹配采样点数量、测距精度、速度精度和高度精度中的一项或者多项。In another possible implementation, the point cloud testing device further includes a data calculation module, which is used to obtain accuracy evaluation data about the DUT based on the matching sampling points in the matching result set. The accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy, and height accuracy.
在又一种可能的实施方式中,数据计算模块2003还用于:In yet another possible implementation, the data calculation module 2003 is further configured to:
根据匹配采样点中与第四体目标的真值匹配的采样点的数量,得到关于第四体目标的匹配采样点数量。According to the number of sampling points in the matching sampling points that match the true value of the fourth body target, the number of matching sampling points about the fourth body target is obtained.
在又一种可能的实施方式中,匹配采样点中包含与第二体目标的真值匹配的N个采样点,第二体目标的真值包含M个角点,M为整数且M>0,N为整数且N>0。In another possible implementation, the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0.
数据计算模块还用于根据N个采样点和M个角点评估DUT在探测第二体目标时的测距精度。The data calculation module is also used to evaluate the ranging accuracy of the DUT when detecting the second body target based on the N sampling points and the M corner points.
在又一种可能的实施方式中,N个采样点中包含最近采样点,M个角点中包含横向最近角点。进一步的,测距精度包含关于第二体目标的横向测距精度,关于第二体目标的横向测距精度与最近采样点和DUT之间的横向距离以及径向最近角点与DUT之间的径向距离相关。In another possible implementation, the N sampling points include the nearest sampling point, and the M corner points include the lateral nearest corner point. Further, the ranging accuracy includes the lateral ranging accuracy with respect to the second object, and the lateral ranging accuracy with respect to the second object is related to the lateral distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
在又一种可能的实施方式中,关于第二体目标的横向测距精度σx满足如下公式:In yet another possible implementation, the lateral ranging accuracy σ x of the second body target satisfies the following formula:
σx=|Xpi-Xcj|σ x = |X pi -X cj |
其中,Xpi是最近采样点和DUT之间的横向距离,Xcj为横向最近角点和DUT之间的横向距离。Where Xpi is the lateral distance between the nearest sampling point and the DUT, and Xcj is the lateral distance between the nearest lateral corner point and the DUT.
在又一种可能的实施方式中,N个采样点中包含最近采样点,M个角点中包含径向最近角点。进一步的,测距精度包含关于第二体目标的纵向测距精度,关于第二体目标的纵向测距精度与最近采样点与DUT之间的径向距离以及径向最近角点与DUT之间的径向距离相关。In another possible implementation, the N sampling points include the nearest sampling point, and the M corner points include the radial nearest corner point. Further, the ranging accuracy includes the longitudinal ranging accuracy with respect to the second object, and the longitudinal ranging accuracy with respect to the second object is related to the radial distance between the nearest sampling point and the DUT and the radial distance between the radial nearest corner point and the DUT.
在又一种可能的实施方式中,关于第四体目标的纵向测距精度σd满足如下式子:In another possible implementation, the longitudinal distance measurement accuracy σd of the fourth target satisfies the following formula:
σd=|Dpi-Dck|σ d =|D pi −D ck |
其中,Dpi是最近采样点与DUT之间的径向距离,Dck为径向最近角点与DUT之间的径向距离。Where Dpi is the radial distance between the nearest sampling point and the DUT, and Dck is the radial distance between the radial nearest corner point and the DUT.
在又一种可能的实施方式中,测速精度包含关于第三体目标的测速精度;In yet another possible implementation, the velocity measurement accuracy includes velocity measurement accuracy with respect to a third-body target;
匹配采样点中包含与第三体目标的真值匹配的K个采样点,K为整数且K>0;The matching sampling points include K sampling points that match the true value of the third-body target, where K is an integer and K>0;
K个采样点中包含最强采样点,关于第三体目标的测速精度与最强采样点的径向速度和第三体目标的真值的径向速度相关。The K sampling points include the strongest sampling point. The velocity measurement accuracy of the third-body target is related to the radial velocity of the strongest sampling point and the radial velocity of the true value of the third-body target.
上述实施方式中说明了一种确定测速精度的方式。速度精度σv可以通过匹配点中的最强点径向速度与参考真值的径向速度误差绝对值大小来指示。例如,速度精度σv满足如下式子:The above embodiment describes a method for determining the speed measurement accuracy. The speed accuracy σ v can be indicated by the absolute value of the radial speed error between the strongest point in the matching point and the reference true value. For example, the speed accuracy σ v satisfies the following formula:
σv=|Vpi-Vt|σ v =|V pi −V t |
其中,Vpi为最强采样点的径向速度,Vt为第三体目标的真值的径向速度。Among them, Vpi is the radial velocity of the strongest sampling point, and Vt is the radial velocity of the true value of the third body target.
作为一种可能的实施方式,最强采样点为K个采样点中雷达散射截面(radar cross section,RCS)最强的采样点,与真值匹配的采样点为K个,K个采样点的RCS分别表示为Rp1,Rp2,Rp3,…,RpK。最强采样点的RCS可以表示Rpi,其可以满足如下式子:As a possible implementation, the strongest sampling point is the sampling point with the strongest radar cross section (RCS) among the K sampling points, the number of sampling points matching the true value is K, and the RCS of the K sampling points are respectively expressed as R p1 , R p2 , R p3 ,…, R pK . The RCS of the strongest sampling point can be expressed as R pi , which can satisfy the following formula:
Rpi=max(Rp1,Rp2,Rp3,…,RpK)R pi =max(R p1 ,R p2 ,R p3 ,…,R pK )
可选的,第三体目标的真值的径向速度可以替换为第三体目标的径向速度。Optionally, the true radial velocity of the third body target may be replaced by the radial velocity of the third body target.
在又一种可能的实施方式,未匹配采样点可以用于虚警判断。In yet another possible implementation, unmatched sampling points may be used for false alarm determination.
在又一种可能的实施方式中,点云测试装置还包含数据计算模块,数据计算模块还用于:
In another possible implementation, the point cloud testing device further includes a data calculation module, and the data calculation module is further used to:
根据未匹配采样点中位于多个连续的点云帧中的采样点,确定多个连续的点云帧中的虚警目标。According to sampling points in the multiple continuous point cloud frames that are among the unmatched sampling points, false alarm targets in the multiple continuous point cloud frames are determined.
在又一种可能的实施方式中,多个连续的点云帧包含第二点云帧和第二点云帧之后的Q个点云帧,Q为整数且Q>0;In yet another possible implementation, the plurality of continuous point cloud frames include a second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;
数据计算模块2003,还用于:The data calculation module 2003 is also used for:
将未匹配采样点中位于第二点云帧中的采样点聚类,得到至少一个点云簇;Clustering the sampling points in the second point cloud frame among the unmatched sampling points to obtain at least one point cloud cluster;
为至少一个点云簇中的第一点云簇分配初始生命值;assigning an initial life value to a first point cloud cluster in the at least one point cloud cluster;
根据未匹配采样点中位于Q个点云帧中的采样点,确定Q个点云帧中的点云簇;According to the sampling points in the Q point cloud frames among the unmatched sampling points, point cloud clusters in the Q point cloud frames are determined;
根据第一点云簇的位置和Q个点云帧中的点云簇的位置,确定多个连续的点云帧中的虚警目标。False alarm targets in a plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
在上述实施方式中,测试装置将未匹配点云聚类得到多个点云簇,每个点云簇被赋予初始生命值。对于在某一点云帧中存在的一个点云簇,将该点云帧与后续的多个点云帧进行匹配。若之后的点云帧中存在与其匹配的点云簇,则将该点云簇的生命值增加,反之则降低该点云簇的生命值;如此重复匹配多个点云帧。若点云簇的生命值到达第一阈值时,该点云簇形成虚警目标。若点云簇的生命值达到第二阈值或者低于第三阈值,则该点云簇则不形成虚警目标,可选可以丢弃该点云簇。In the above embodiment, the testing device clusters the unmatched point cloud to obtain a plurality of point cloud clusters, and each point cloud cluster is assigned an initial life value. For a point cloud cluster existing in a certain point cloud frame, the point cloud frame is matched with a plurality of subsequent point cloud frames. If there is a point cloud cluster matching it in the subsequent point cloud frame, the life value of the point cloud cluster is increased, otherwise the life value of the point cloud cluster is reduced; and the matching of multiple point cloud frames is repeated in this way. If the life value of the point cloud cluster reaches the first threshold, the point cloud cluster forms a false alarm target. If the life value of the point cloud cluster reaches the second threshold or is lower than the third threshold, the point cloud cluster does not form a false alarm target, and the point cloud cluster can be optionally discarded.
一些场景中,在匹配点云簇时,根据点云帧中的点云簇的大小确定点云簇框,该匹配框可以包住簇内的点云。对于当前点云帧,若下一点云帧中存在点云簇框与当前帧的点云簇框有重合部分,计算点云簇框与点云簇框之间的重合度矩阵,建立框间关联。若下一点云帧中存在点云簇框与当前帧的点云簇框匹配成功,则此点云簇生命值增加;反之则点云簇生命值降低。In some scenarios, when matching point cloud clusters, the point cloud cluster frame is determined according to the size of the point cloud cluster in the point cloud frame, and the matching frame can enclose the point cloud in the cluster. For the current point cloud frame, if there is a point cloud cluster frame in the next point cloud frame that overlaps with the point cloud cluster frame of the current frame, the overlap matrix between the point cloud cluster frame and the point cloud cluster frame is calculated to establish the association between the frames. If there is a point cloud cluster frame in the next point cloud frame that successfully matches the point cloud cluster frame of the current frame, the life value of this point cloud cluster increases; otherwise, the life value of the point cloud cluster decreases.
在又一种可能的实施方式中,未匹配点云还可以用于确定虚警率。In yet another possible implementation, the unmatched point cloud may also be used to determine the false alarm rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和虚警点云帧的数量,确定虚警率。其中,虚警点云帧为存在虚警目标的点云帧,或者,虚警点云帧为包含至少一个生命值达到第一阈值的点云簇的点云帧。Exemplarily, the point cloud testing device determines the false alarm rate according to the number of point cloud frames involved in the early warning target calculation and the number of false alarm point cloud frames, wherein the false alarm point cloud frame is a point cloud frame with a false alarm target, or the false alarm point cloud frame is a point cloud frame containing at least one point cloud cluster whose life value reaches the first threshold.
示例性的,虚警率ρ满足如下式子:
Exemplarily, the false alarm rate ρ satisfies the following formula:
Exemplarily, the false alarm rate ρ satisfies the following formula:
其中,n为参与虚警目标计算的点云帧的帧数,nfalse为存在虚警目标的帧数。Among them, n is the number of point cloud frames involved in the calculation of false alarm targets, and n false is the number of frames with false alarm targets.
在又一种可能的实施方式,未匹配真值可以用于漏检判断。漏检即某些情况下,目标存在而雷达判断为无目标没有输出点云这一事件。点云的漏检可以对应未匹配点云的真值。In another possible implementation, the unmatched true value can be used for missed detection judgment. Missed detection refers to the event that in some cases, a target exists but the radar judges that there is no target and does not output a point cloud. The missed detection of the point cloud can correspond to the true value of the unmatched point cloud.
在又一种可能的实施方式中,二维点云包含第三点云帧,匹配结果集合包含第三点云帧对应的未匹配真值;In yet another possible implementation, the two-dimensional point cloud includes a third point cloud frame, and the matching result set includes an unmatched true value corresponding to the third point cloud frame;
数据计算模块2003,还用于:The data calculation module 2003 is also used for:
根据第三点云帧对应的未匹配真值,确定第三点云帧中的疑似漏检目标;Determine the suspected missed detection target in the third point cloud frame according to the unmatched true value corresponding to the third point cloud frame;
根据至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标;Determining the obscured volume target according to a field of view relationship between at least one volume target and the radar;
过滤第三点云帧中的疑似漏检目标中被遮挡的体目标,确定第三点云帧包含的漏检目标。The occluded volume targets in the suspected missed targets in the third point cloud frame are filtered to determine the missed targets contained in the third point cloud frame.
在又一种可能的实施方式中,数据计算模块2003,还用于:In yet another possible implementation, the data calculation module 2003 is further configured to:
根据至少一个体目标中的第五体目标与DUT之间的连线与其他体目标的边的相交情况,确定第五体目标是否被遮挡。Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
根据至少一个体目标中的第五体目标与DUT之间的连线与其他体目标的边的相交情况,确定第五体目标是否被遮挡。
Whether the fifth volume object is blocked is determined according to the intersection of a line between a fifth volume object in the at least one volume object and the DUT and edges of other volume objects.
例如,若第五体目标的多个角点中存在V个被遮挡角点,则第五体目标被遮挡,V为整数且V>0,其中被遮挡角点为角点连线与其它体目标的边相交的角点。For example, if there are V occluded corner points among the multiple corner points of the fifth object, the fifth object is occluded, V is an integer and V>0, wherein the occluded corner points are corner points where the lines connecting the corner points intersect with the edges of other objects.
再如,若第五体目标为遮挡目标,则其满足如下两个条件:①第五体目标的V个角点与DUT的连线与其它体目标的边相交,V为整数且V>0;②第五体目标中有效边的数量大于等于第四阈值。其中第四阈值可以是预先定义或者预先设置的。例如,第四阈值可以为4,或者第四阈值为1。其中,有效边可以通过如下方式确定:对于第五体目标中的任一角点或任一边角点(边角点指位于边上的角点),若该角点(或该边角点)与DUT的连线相交于第五体目标任一边,则该角点(或该边角点)所在的边无效。若第五体目标中的第一边上的角点与DUT的连线均与第五体目标中的其它边不相交,则该第一边为有效边。For another example, if the fifth body target is an occluding target, it satisfies the following two conditions: ① The lines connecting the V corner points of the fifth body target and the DUT intersect with the edges of other body targets, V is an integer and V>0; ② The number of valid edges in the fifth body target is greater than or equal to the fourth threshold. The fourth threshold may be predefined or pre-set. For example, the fourth threshold may be 4, or the fourth threshold may be 1. The valid edges may be determined as follows: for any corner point or any edge corner point (edge corner point refers to a corner point located on an edge) in the fifth body target, if the line connecting the corner point (or the edge corner point) and the DUT intersects with any edge of the fifth body target, the edge where the corner point (or the edge corner point) is located is invalid. If the lines connecting the corner points on the first edge of the fifth body target and the DUT do not intersect with other edges in the fifth body target, the first edge is a valid edge.
在又一种可能的实施方式中,点云测试装置210在漏检判断时,可以在点云帧中对未匹配真值对应的区域进行跟踪,采用多帧关联的方式确定体目标是否被漏检。In another possible implementation, when making missed detection judgments, the point cloud testing device 210 may track the area corresponding to the unmatched true value in the point cloud frame, and use a multi-frame association method to determine whether the volume target is missed.
示例性的,当连续三点云帧存在对于某一体目标的漏检时,该体目标为确定漏检目标。Exemplarily, when there is a missed detection of a certain volume target in three consecutive point cloud frames, the volume target is determined to be a missed detection target.
在又一种可能的实施方式中,未匹配真值还可以用于确定漏检率。In yet another possible implementation, the unmatched true value may also be used to determine the missed detection rate.
示例性的,点云测试装置根据参与预警目标计算的点云帧的数量和漏检点云帧的数量,确定漏检率。其中,漏检点云帧为存在漏检目标(或确定漏检目标)的点云帧。Exemplarily, the point cloud testing device determines the missed detection rate according to the number of point cloud frames involved in the early warning target calculation and the number of missed detection point cloud frames, wherein the missed detection point cloud frames are point cloud frames with missed detection targets (or determined missed detection targets).
示例性的,漏检率γ满足如下式子:
Exemplarily, the missed detection rate γ satisfies the following formula:
Exemplarily, the missed detection rate γ satisfies the following formula:
其中,n为参与漏检目标计算的点云帧的帧数,n_lose为漏检点云帧的帧数。Among them, n is the number of point cloud frames involved in the calculation of missed targets, and n_lose is the number of missed point cloud frames.
请参见图21,图21是本申请实施例提供的一种计算设备的结构示意图。Please refer to Figure 21, which is a structural diagram of a computing device provided in an embodiment of the present application.
该计算设备210可以为独立设备,例如节点,也可以为包含于独立设备中的器件,例如芯片、软件模块、或集成电路等。该计算设备210可以包括至少一个处理器2101和通信接口2102。可选的,还可以包括至少一个存储器2103。进一步可选的,还可以包含连接线路2104,其中,处理器2101、通信接口2102和/或存储器2103通过连接线路2104相连,和/或,通过连接线路2104互相通信以传递控制信号和/或数据信号。The computing device 210 may be an independent device, such as a node, or a device included in an independent device, such as a chip, a software module, or an integrated circuit. The computing device 210 may include at least one processor 2101 and a communication interface 2102. Optionally, it may also include at least one memory 2103. Further optionally, it may also include a connection line 2104, wherein the processor 2101, the communication interface 2102 and/or the memory 2103 are connected via the connection line 2104, and/or communicate with each other via the connection line 2104 to transmit control signals and/or data signals.
其中,处理器2101是进行算术运算和/或逻辑运算的模块。在一种实现中,处理器可以是具有指令读取与运行能力的电路,例如中央处理单元(Central Processing Unit,CPU)、微处理器、图形处理器中央处理单元(Central Processing Unit,CPU)、微处理器、图形处理器(graphics processing unit,GPU)(可以理解为一种微处理器)、或数字信号处理器(digital signal processor,DSP)等;在另一种实现中,处理器可以通过硬件电路的逻辑关系实现一定功能,该硬件电路的逻辑关系是固定的或可以重构的,例如处理器为专用集成电路(application-specific integrated circuit,ASIC)或可编程逻辑器件(programmable logic device,PLD)实现的硬件电路,例如FPGA。此外,还可以是针对人工智能设计的硬件电路,其可以理解为一种ASIC,例如神经网络处理单元(Neural Network Processing Unit,NPU)张量处理单元(Tensor Processing Unit,TPU)、深度学习处理单元(Deep learning Processing Unit,DPU)等。Among them, the processor 2101 is a module for performing arithmetic operations and/or logical operations. In one implementation, the processor can be a circuit with the ability to read and run instructions, such as a central processing unit (CPU), a microprocessor, a graphics processing unit (GPU) (which can be understood as a microprocessor), or a digital signal processor (DSP); in another implementation, the processor can realize certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a processor that is a hardware circuit implemented by an application-specific integrated circuit (ASIC) or a programmable logic device (PLD), such as an FPGA. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as a neural network processing unit (NPU), a tensor processing unit (TPU), a deep learning processing unit (DPU), etc.
通信接口2102可以用于为至少一个处理器提供信息输入或者输出,或用于接收外部发送的信号和/或向外部发送信号。The communication interface 2102 may be used to provide information input or output for at least one processor, or to receive externally transmitted signals and/or to transmit externally transmitted signals.
例如,通信接口2102可以包含接口电路。例如,通信接口2102可以包括诸如以太网电缆等的有线链路接口,也可以是无线链路(Wi-Fi、蓝牙、通用无线传输、车载短距通信技术以及其他短距无线通信技术等)接口。
For example, the communication interface 2102 may include an interface circuit. For example, the communication interface 2102 may include a wired link interface such as an Ethernet cable, or a wireless link (Wi-Fi, Bluetooth, general wireless transmission, vehicle-mounted short-range communication technology, and other short-range wireless communication technologies, etc.) interface.
可选的,通信接口2102还可以包括射频发射器、天线等。在通信接口2102包含天线的情况下,天线的数量可以是一个,也可以是多个。Optionally, the communication interface 2102 may further include a radio frequency transmitter, an antenna, etc. When the communication interface 2102 includes an antenna, the number of antennas may be one or more.
作为一种可能的设计,若计算设备210为独立设备时,通信接口2102可以包括接收器和发送器。其中,接收器和发送器可以为相同的部件,或者为不同的部件。接收器和发送器为相同的部件时,可以将该部件称为收发器。As a possible design, if the computing device 210 is an independent device, the communication interface 2102 may include a receiver and a transmitter. The receiver and the transmitter may be the same component or different components. When the receiver and the transmitter are the same component, the component may be referred to as a transceiver.
作为又一种可能的设计,若计算设备210为芯片或电路时,通信接口2102可以包括输入接口和输出接口,输入接口和输出接口可以是相同的接口,或者可以分别是不同的接口。As another possible design, if the computing device 210 is a chip or a circuit, the communication interface 2102 may include an input interface and an output interface, and the input interface and the output interface may be the same interface, or may be different interfaces.
可选地,通信接口2102的功能可以通过收发电路或收发的专用芯片实现。Optionally, the functions of the communication interface 2102 may be implemented by a transceiver circuit or a dedicated transceiver chip.
存储器2103用于提供存储空间,存储空间中可以存储操作系统和计算机程序等数据。存储器2103可以是随机存储记忆体(random access memory,RAM)、只读存储器(read-only memory,ROM)、可擦除可编程只读存储器(erasable programmable read only memory,EPROM)、或便携式只读存储器(compact disc read-only memory,CD-ROM)等等中的一种或者多种的组合。The memory 2103 is used to provide a storage space in which data such as an operating system and a computer program can be stored. The memory 2103 can be a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), or a portable read-only memory (CD-ROM), etc., or a combination of multiple thereof.
其中,以上列举的计算设备210中各模块或单元的功能和动作仅为示例性说明。The functions and actions of the modules or units in the computing device 210 listed above are only for illustrative purposes.
计算设备210中各功能单元可用于实现前述的点云测试方法,例如图5、图11、或图18所示的点云测试方法。Each functional unit in the computing device 210 may be used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in FIG. 5 , FIG. 11 , or FIG. 18 .
可选的,处理器2101,可以是专门用于执行前述方法的处理器(便于区别称为专用处理器),也可以是通过调用计算机程序来执行前述方法的处理器(便于区别称为专用处理器)。可选的,至少一个处理器还可以既包括专用处理器也包括通用处理器。Optionally, the processor 2101 may be a processor specifically used to execute the aforementioned method (for convenience of distinction, referred to as a dedicated processor), or may be a processor that executes the aforementioned method by calling a computer program (for convenience of distinction, referred to as a dedicated processor). Optionally, the at least one processor may include both a dedicated processor and a general-purpose processor.
可选的,在计算设备210包括至少一个存储器2103的情况下,若处理器2101通过调用计算机程序来实现前述的点云测试方法,该计算机程序可以存储在存储器2103中。Optionally, in the case where the computing device 210 includes at least one memory 2103 , if the processor 2101 implements the aforementioned point cloud testing method by calling a computer program, the computer program may be stored in the memory 2103 .
本申请实施例还提供了一种芯片,该芯片包括逻辑电路和通信接口。通信接口,用于接收信号或者发送信号;逻辑电路,用于通过通信接口接收信号或者发送信号。芯片用于实现前述的点云测试方法,例如图5、图11、或图18所示的点云测试方法。The embodiment of the present application further provides a chip, which includes a logic circuit and a communication interface. The communication interface is used to receive a signal or send a signal; the logic circuit is used to receive a signal or send a signal through the communication interface. The chip is used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in FIG. 5, FIG. 11, or FIG. 18.
本申请实施例还提供了一种算机可读存储介质,计算机可读存储介质中存储有指令,当指令在至少一个处理器(或通信装置)上运行时,实现前述的点云测试方法,例如图5、图11、或图18所示的点云测试方法。An embodiment of the present application also provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on at least one processor (or communication device), the aforementioned point cloud testing method is implemented, such as the point cloud testing method shown in Figure 5, Figure 11, or Figure 18.
本申请实施例还提供了一种计算机程序产品,该计算机程序产品包括计算机指令,计算指令用于实现前述的点云测试方法,例如图5、图11、或图18所示的点云测试方法。An embodiment of the present application also provides a computer program product, which includes computer instructions, and the computing instructions are used to implement the aforementioned point cloud testing method, such as the point cloud testing method shown in Figure 5, Figure 11, or Figure 18.
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
本申请中实施例提到的“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items.
例如,a、b、或c中的至少一项(个),可以表示:a、b、c、(a和b)、(a和c)、(b和c)、或(a和b和c),其中a、b、c可以是单个,也可以是多个。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A、同时存在A和B、单独存在B这三种情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象
是一种“或”的关系。For example, at least one of a, b, or c can be represented by: a, b, c, (a and b), (a and c), (b and c), or (a and b and c), where a, b, and c can be single or multiple. "And/or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and/or B can be represented by: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character "/" generally indicates the previous and next associated objects. It is an "or" relationship.
以及,除非有相反的说明,本申请实施例使用“第一”、“第二”等序数词是用于对多个对象进行区分,不用于限定多个对象的顺序、时序、优先级或者重要程度。例如,第一点云帧、第二点云帧、第三点云帧,只是为了方便在不同的实施方式中描述点云帧,并不表示其二者的顺序、重要程度、数据内容等的不同。一些场景中,第一点云帧、第二点云帧可以为同一个点云帧。Furthermore, unless otherwise specified, the ordinal numbers such as "first" and "second" used in the embodiments of the present application are used to distinguish multiple objects, and are not used to limit the order, timing, priority or importance of multiple objects. For example, the first point cloud frame, the second point cloud frame, and the third point cloud frame are only for the convenience of describing the point cloud frames in different implementations, and do not indicate the difference in order, importance, data content, etc. between the two. In some scenarios, the first point cloud frame and the second point cloud frame can be the same point cloud frame.
上述实施例中所用,根据上下文,术语“当……时”“若……则”可以被解释为意思是“如果……”或“在……后”或“响应于确定……”或“响应于检测到……”。以上仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的构思和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。In the above embodiments, the terms "when..." and "if..." can be interpreted as meaning "if..." or "after..." or "in response to determining..." or "in response to detecting...", depending on the context. The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the concept and principle of the present application shall be included in the protection scope of the present application.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or by a program to instruct the relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
Claims (23)
- 一种点云测试方法,其特征在于,所述方法包括:A point cloud testing method, characterized in that the method comprises:获取真值数据和点云,所述真值数据为至少一个体目标的真值,所述点云为待测装置DUT对所述至少一个体目标进行探测得到的探测结果;Acquire true value data and a point cloud, wherein the true value data is the true value of at least one volume target, and the point cloud is a detection result obtained by the device under test (DUT) detecting the at least one volume target;将所述真值数据投影得到二维真值数据;Projecting the true value data to obtain two-dimensional true value data;将所述点云投影得到二维点云;Projecting the point cloud to obtain a two-dimensional point cloud;将所述二维点云与所述二维真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值。The two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, wherein the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- 根据权利要求1所述的方法,其特征在于,所述将所述真值数据投影得到二维真值数据,包括:The method according to claim 1, characterized in that projecting the true value data to obtain two-dimensional true value data comprises:将所述真值数据投影到水平平面,得到所述二维真值数据;Projecting the true value data onto a horizontal plane to obtain the two-dimensional true value data;将所述点云投影得到二维点云,包括:Projecting the point cloud to obtain a two-dimensional point cloud includes:将所述点云投影到所述水平平面,得到所述二维点云。The point cloud is projected onto the horizontal plane to obtain the two-dimensional point cloud.
- 根据权利要求1或2所述的方法,其特征在于,所述二维真值数据包含多个真值帧,所述二维点云包含多个点云帧;The method according to claim 1 or 2, characterized in that the two-dimensional true value data includes a plurality of true value frames, and the two-dimensional point cloud includes a plurality of point cloud frames;所述将所述二维点云与所述二维真值数据进行匹配,得到匹配结果集合,包括:The matching of the two-dimensional point cloud with the two-dimensional true value data to obtain a matching result set includes:确定第一真值帧中的至少一个真值框,其中,一个真值框对应一个体目标,所述第一真值帧属于所述多个真值帧;Determine at least one truth frame in a first truth frame, wherein one truth frame corresponds to one volume target, and the first truth frame belongs to the plurality of truth frames;根据所述至少一个真值框的范围和第一点云帧中的多个采样点的位置,得到匹配结果子集,其中,所述第一点云帧属于所述多个点云帧,所述第一点云帧和所述第一真值帧的时间戳相同,所述匹配结果子集属于所述匹配结果集合。A matching result subset is obtained based on the range of the at least one true value frame and the positions of multiple sampling points in the first point cloud frame, wherein the first point cloud frame belongs to the multiple point cloud frames, the first point cloud frame and the first true value frame have the same timestamp, and the matching result subset belongs to the matching result set.
- 根据权利要求3所述的方法,其特征在于,所述至少一个真值框包含第一体目标对应的第一真值框,所述第一体目标属于所述至少一个体目标;The method according to claim 3, characterized in that the at least one truth box includes a first truth box corresponding to a first volume target, and the first volume target belongs to the at least one volume target;在所述第一点云帧包含第一采样点且所述第一采样点落入所述第一真值框的情况下,所述第一采样点属于匹配采样点,且所述第一采样点与所述第一体目标的真值匹配;In a case where the first point cloud frame includes a first sampling point and the first sampling point falls within the first true value frame, the first sampling point belongs to a matching sampling point, and the first sampling point matches the true value of the first volume target;在所述第一点云帧包含第二采样点且所述第二采样点未落入所述至少一个真值框中的任意一个真值框的情况下,所述第二采样点属于未匹配采样点;In the case where the first point cloud frame includes a second sampling point and the second sampling point does not fall into any truth frame of the at least one truth frame, the second sampling point belongs to an unmatched sampling point;在所述第一点云帧中任意一个采样点均未落入所述第一真值框的情况下,则所述第一真值框对应的真值属于未匹配真值。When any sampling point in the first point cloud frame does not fall into the first true value frame, the true value corresponding to the first true value frame is an unmatched true value.
- 根据权利要求1-4任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 4, characterized in that the method further comprises:根据所述匹配结果集合中的匹配采样点,得到关于所述DUT的精度评估数据,所述精度评估数据包含匹配采样点数量、测距精度、速度精度和高度精度中的一项或者多项。According to the matching sampling points in the matching result set, accuracy evaluation data about the DUT is obtained, and the accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy and height accuracy.
- 根据权利要求5所述的方法,其特征在于,所述匹配采样点中包含与第二体目标的真值匹配的N个采样点,所述第二体目标的真值包含M个角点,M为整数且M>0,N为整数且N>0;The method according to claim 5, characterized in that the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0;所述N个采样点中包含最近采样点,所述最近采样点为所述N个采样点中与所述DUT 相距最近的采样点,所述M个角点中包含横向最近角点和径向最近角点,所述横向最近角点为所述M个角点中与所述DUT之间的横向距离最近的角点,所述径向最近角点为所述M个角点中与所述DUT之间的径向距离最近的角点;The N sampling points include the nearest sampling point, and the nearest sampling point is one of the N sampling points that is closest to the DUT. The M corner points include the closest lateral corner point and the closest radial corner point. The closest lateral corner point is the corner point with the closest lateral distance to the DUT among the M corner points, and the closest radial corner point is the corner point with the closest radial distance to the DUT among the M corner points.所述测距精度包含关于第二体目标的横向测距精度,所述关于第二体目标的横向测距精度与所述最近采样点和所述DUT之间的横向距离以及所述径向最近角点与所述DUT之间的径向距离相关;The ranging accuracy includes a lateral ranging accuracy with respect to a second object, and the lateral ranging accuracy with respect to the second object is related to a lateral distance between the nearest sampling point and the DUT and a radial distance between the radial nearest corner point and the DUT;和/或,所述测距精度包含关于第二体目标的纵向测距精度,所述关于第二体目标的纵向测距精度与所述最近采样点与所述DUT之间的径向距离以及所述径向最近角点与所述DUT之间的径向距离相关。And/or, the ranging accuracy includes a longitudinal ranging accuracy with respect to a second object, and the longitudinal ranging accuracy with respect to the second object is related to a radial distance between the nearest sampling point and the DUT and a radial distance between the radial nearest corner point and the DUT.
- 根据权利要求5所述的方法,其特征在于,所述测速精度包含关于第三体目标的测速精度;The method according to claim 5, characterized in that the speed measurement accuracy includes the speed measurement accuracy with respect to a third body target;所述匹配采样点中包含与所述第三体目标的真值匹配的K个采样点,K为整数且K>0;The matching sampling points include K sampling points that match the true value of the third body target, where K is an integer and K>0;所述K个采样点中包含最强采样点,所述最强采样点为所述K个采样点中雷达散射截面RCS最强的采样点,The K sampling points include the strongest sampling point, and the strongest sampling point is the sampling point with the strongest radar cross section RCS among the K sampling points.所述关于第三体目标的测速精度与所述最强采样点的径向速度和所述第三体目标的径向速度相关。The velocity measurement accuracy of the third object is related to the radial velocity of the strongest sampling point and the radial velocity of the third object.
- 根据权利要求1-7任一项所述的方法,其特征在于,所述二维点云包含多个连续的点云帧,所述匹配集合包含未匹配采样点,所述方法还包括:The method according to any one of claims 1 to 7, characterized in that the two-dimensional point cloud comprises a plurality of continuous point cloud frames, the matching set comprises unmatched sampling points, and the method further comprises:根据所述未匹配采样点中位于所述多个连续的点云帧中的采样点,确定所述多个连续的点云帧中的虚警目标。According to sampling points in the unmatched sampling points that are located in the multiple continuous point cloud frames, false alarm targets in the multiple continuous point cloud frames are determined.
- 根据权利要求8所述的方法,其特征在于,所述多个连续的点云帧包含第二点云帧和第二点云帧之后的Q个点云帧,Q为整数且Q>0;The method according to claim 8, characterized in that the plurality of continuous point cloud frames include the second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;所述根据所述未匹配采样点中位于所述多个连续的点云帧中的采样点,确定所述点云中的虚警目标,包括:The determining of the false alarm target in the point cloud according to the sampling points in the unmatched sampling points that are located in the plurality of continuous point cloud frames comprises:将所述未匹配采样点中位于所述第二点云帧中的采样点聚类,得到至少一个点云簇;Clustering the sampling points in the second point cloud frame among the unmatched sampling points to obtain at least one point cloud cluster;为所述至少一个点云簇中的第一点云簇分配初始生命值;assigning an initial life value to a first point cloud cluster among the at least one point cloud cluster;根据所述未匹配采样点中位于所述Q个点云帧中的采样点,确定所述Q个点云帧中的点云簇;Determine a point cloud cluster in the Q point cloud frames according to the sampling points in the unmatched sampling points that are located in the Q point cloud frames;根据所述第一点云簇的位置和所述Q个点云帧中的点云簇的位置,确定所述多个连续的点云帧中的虚警目标。The false alarm targets in the plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
- 根据权利要求1-6任一项所述的方法,其特征在于,所述二维点云包含第三点云帧,所述匹配结果集合包含所述第三点云帧对应的未匹配真值;The method according to any one of claims 1 to 6, characterized in that the two-dimensional point cloud includes a third point cloud frame, and the matching result set includes an unmatched true value corresponding to the third point cloud frame;所述方法还包括:The method further comprises:根据所述第三点云帧对应的未匹配真值,确定第三点云帧中的疑似漏检目标;Determining a suspected missed target in the third point cloud frame according to an unmatched true value corresponding to the third point cloud frame;根据所述至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标;Determining the obscured volume target according to the field of view relationship between the at least one volume target and the radar;过滤所述第三点云帧中的疑似漏检目标中被遮挡的体目标,确定第三点云帧包含的漏检目标。 The obscured volume targets in the suspected missed detection targets in the third point cloud frame are filtered to determine the missed detection targets included in the third point cloud frame.
- 一种点云测试装置,其特征在于,所述点云测试装置包含数据获取模块和数据匹配模块,其中:A point cloud testing device, characterized in that the point cloud testing device comprises a data acquisition module and a data matching module, wherein:所述数据获取模块用于获取真值数据和点云,所述真值数据为至少一个体目标的真值,所述点云为待测装置DUT对所述至少一个体目标进行探测得到的探测结果;The data acquisition module is used to acquire true value data and point cloud, wherein the true value data is the true value of at least one volume target, and the point cloud is the detection result obtained by the device under test DUT detecting the at least one volume target;数据匹配模块用于:The data matching module is used to:将所述真值数据投影得到二维真值数据;Projecting the true value data to obtain two-dimensional true value data;将所述点云投影得到二维点云;Projecting the point cloud to obtain a two-dimensional point cloud;将所述二维点云与所述二维真值数据进行匹配,得到匹配结果集合,匹配结果集合包含以下三类匹配结果中的至少一类:匹配采样点、未匹配采样点和未匹配真值。The two-dimensional point cloud is matched with the two-dimensional true value data to obtain a matching result set, wherein the matching result set includes at least one of the following three types of matching results: matched sampling points, unmatched sampling points, and unmatched true values.
- 根据权利要求11所述的点云测试装置,其特征在于,所述数据匹配模块用于:The point cloud testing device according to claim 11, characterized in that the data matching module is used to:将所述真值数据投影到水平平面,得到所述二维真值数据;Projecting the true value data onto a horizontal plane to obtain the two-dimensional true value data;将所述点云投影到所述水平平面,得到所述二维点云。The point cloud is projected onto the horizontal plane to obtain the two-dimensional point cloud.
- 根据权利要求11或12所述的点云测试装置,其特征在于,所述二维真值数据包含多个真值帧,所述二维点云包含多个点云帧;The point cloud testing device according to claim 11 or 12, characterized in that the two-dimensional true value data includes a plurality of true value frames, and the two-dimensional point cloud includes a plurality of point cloud frames;所述数据匹配模块还用于:The data matching module is also used for:确定第一真值帧中的至少一个真值框,其中,一个真值框对应一个体目标,所述第一真值帧属于所述多个真值帧;Determine at least one truth frame in a first truth frame, wherein one truth frame corresponds to one volume target, and the first truth frame belongs to the plurality of truth frames;根据所述至少一个真值框的范围和第一点云帧中的多个采样点的位置,得到匹配结果子集,其中,所述第一点云帧属于所述多个点云帧,所述第一点云帧和所述第一真值帧的时间戳相同,所述匹配结果子集属于所述匹配结果集合。A matching result subset is obtained based on the range of the at least one true value frame and the positions of multiple sampling points in the first point cloud frame, wherein the first point cloud frame belongs to the multiple point cloud frames, the first point cloud frame and the first true value frame have the same timestamp, and the matching result subset belongs to the matching result set.
- 根据权利要求13所述的点云测试装置,其特征在于,所述至少一个真值框包含第一体目标对应的第一真值框,所述第一体目标属于所述至少一个体目标;The point cloud testing device according to claim 13, characterized in that the at least one truth frame includes a first truth frame corresponding to a first volume target, and the first volume target belongs to the at least one volume target;在所述第一点云帧包含第一采样点且所述第一采样点落入所述第一真值框的情况下,所述第一采样点属于匹配采样点,且所述第一采样点与所述第一体目标的真值匹配;In a case where the first point cloud frame includes a first sampling point and the first sampling point falls within the first true value frame, the first sampling point belongs to a matching sampling point, and the first sampling point matches the true value of the first volume target;在所述第一点云帧包含第二采样点且所述第二采样点未落入所述至少一个真值框中的任意一个真值框的情况下,所述第二采样点属于未匹配采样点;In the case where the first point cloud frame includes a second sampling point and the second sampling point does not fall into any truth frame of the at least one truth frame, the second sampling point belongs to an unmatched sampling point;在所述第一点云帧中任意一个采样点均未落入所述第一真值框的情况下,则所述第一真值框对应的真值属于未匹配真值。When any sampling point in the first point cloud frame does not fall into the first true value frame, the true value corresponding to the first true value frame is an unmatched true value.
- 根据权利要求1-14任一项所述的点云测试装置,其特征在于,所述点云测试装置还包含数据计算模块,所述数据计算模块用于:The point cloud testing device according to any one of claims 1 to 14, characterized in that the point cloud testing device further comprises a data calculation module, wherein the data calculation module is used to:根据所述匹配结果集合中的匹配采样点,得到关于所述DUT的精度评估数据,所述精度评估数据包含匹配采样点数量、测距精度、速度精度和高度精度中的一项或者多项。According to the matching sampling points in the matching result set, accuracy evaluation data about the DUT is obtained, and the accuracy evaluation data includes one or more of the number of matching sampling points, ranging accuracy, speed accuracy and height accuracy.
- 根据权利要求15所述的点云测试装置,其特征在于,所述匹配采样点中包含与所述第二体目标的真值匹配的N个采样点,所述第二体目标的真值包含M个角点,M为整数且M>0,N为整数且N>0; The point cloud testing device according to claim 15, characterized in that the matching sampling points include N sampling points that match the true value of the second body target, the true value of the second body target includes M corner points, M is an integer and M>0, and N is an integer and N>0;所述N个采样点中包含最近采样点,所述最近采样点为所述N个采样点中与所述DUT相距最近的采样点,所述M个角点中包含横向最近角点和径向最近角点,所述横向最近角点为所述M个角点中与所述DUT之间的横向距离最近的角点,所述径向最近角点为所述M个角点中与所述DUT之间的径向距离最近的角点;The N sampling points include a nearest sampling point, which is a sampling point that is closest to the DUT among the N sampling points; the M corner points include a lateral nearest corner point and a radial nearest corner point, which is a corner point that is closest to the DUT in lateral distance among the M corner points; and the radial nearest corner point is a corner point that is closest to the DUT in radial distance among the M corner points;所述测距精度包含关于第二体目标的横向测距精度,所述关于第二体目标的横向测距精度与所述最近采样点和所述DUT之间的横向距离以及所述径向最近角点与所述DUT之间的径向距离相关;The ranging accuracy includes a lateral ranging accuracy with respect to a second object, and the lateral ranging accuracy with respect to the second object is related to a lateral distance between the nearest sampling point and the DUT and a radial distance between the radial nearest corner point and the DUT;和/或,所述测距精度包含关于第二体目标的纵向测距精度,所述关于第二体目标的纵向测距精度与所述最近采样点与所述DUT之间的径向距离以及所述径向最近角点与所述DUT之间的径向距离相关。And/or, the ranging accuracy includes a longitudinal ranging accuracy with respect to a second object, and the longitudinal ranging accuracy with respect to the second object is related to a radial distance between the nearest sampling point and the DUT and a radial distance between the radial nearest corner point and the DUT.
- 根据权利要求16所述的点云测试装置,其特征在于,所述测速精度包含关于第三体目标的测速精度;The point cloud testing device according to claim 16, characterized in that the speed measurement accuracy includes the speed measurement accuracy with respect to a third body target;所述匹配采样点中包含与所述第三体目标的真值匹配的K个采样点,K为整数且K>0;The matching sampling points include K sampling points that match the true value of the third body target, where K is an integer and K>0;所述K个采样点中包含最强采样点,所述最强采样点为所述K个采样点中雷达散射截面RCS最强的采样点,The K sampling points include the strongest sampling point, and the strongest sampling point is the sampling point with the strongest radar cross section RCS among the K sampling points.所述关于第三体目标的测速精度与所述最强采样点的径向速度和所述第三体目标的径向速度相关。The velocity measurement accuracy of the third object is related to the radial velocity of the strongest sampling point and the radial velocity of the third object.
- 根据权利要求11-17任一项所述的点云测试装置,其特征在于,所述二维点云包含多个连续的点云帧,所述匹配集合包含未匹配采样点;The point cloud testing device according to any one of claims 11 to 17, characterized in that the two-dimensional point cloud comprises a plurality of continuous point cloud frames, and the matching set comprises unmatched sampling points;所述点云测试装置还包含数据计算模块,所述数据计算模块用于根据所述未匹配采样点中位于所述多个连续的点云帧中的采样点,确定所述多个连续的点云帧中的虚警目标。The point cloud testing device also includes a data calculation module, which is used to determine false alarm targets in the multiple continuous point cloud frames based on sampling points in the unmatched sampling points that are located in the multiple continuous point cloud frames.
- 根据权利要求18所述的点云测试装置,其特征在于,所述多个连续的点云帧包含第二点云帧和第二点云帧之后的Q个点云帧,Q为整数且Q>0;The point cloud testing device according to claim 18, characterized in that the plurality of continuous point cloud frames include the second point cloud frame and Q point cloud frames after the second point cloud frame, where Q is an integer and Q>0;所述点云测试方法还包含数据计算模块,所述数据计算模块用于:The point cloud testing method further comprises a data calculation module, which is used to:将所述未匹配采样点中位于所述第二点云帧中的采样点聚类,得到至少一个点云簇;Clustering the sampling points in the second point cloud frame among the unmatched sampling points to obtain at least one point cloud cluster;为所述至少一个点云簇中的第一点云簇分配初始生命值;assigning an initial life value to a first point cloud cluster among the at least one point cloud cluster;根据所述未匹配采样点中位于所述Q个点云帧中的采样点,确定所述Q个点云帧中的点云簇;Determine a point cloud cluster in the Q point cloud frames according to the sampling points in the unmatched sampling points that are located in the Q point cloud frames;根据所述第一点云簇的位置和所述Q个点云帧中的点云簇的位置,确定所述多个连续的点云帧中的虚警目标。The false alarm targets in the plurality of consecutive point cloud frames are determined according to the position of the first point cloud cluster and the positions of the point cloud clusters in the Q point cloud frames.
- 根据权利要求11-17任一项所述的点云测试装置,其特征在于,所述二维点云包含第三点云帧,所述匹配结果集合包含所述第三点云帧对应的未匹配真值;The point cloud testing device according to any one of claims 11 to 17, characterized in that the two-dimensional point cloud includes a third point cloud frame, and the matching result set includes an unmatched true value corresponding to the third point cloud frame;所述点云测试装置还包含数据计算模块,所述数据计算模块用于:The point cloud testing device further comprises a data calculation module, which is used for:根据所述第三点云帧对应的未匹配真值,确定第三点云帧中的疑似漏检目标;Determining a suspected missed target in the third point cloud frame according to an unmatched true value corresponding to the third point cloud frame;根据所述至少一个体目标与雷达之间的视野关系,确定被遮挡的体目标;Determining the obscured volume target according to the field of view relationship between the at least one volume target and the radar;过滤所述第三点云帧中的疑似漏检目标中被遮挡的体目标,确定第三点云帧包含的漏检目标。 The obscured volume targets in the suspected missed detection targets in the third point cloud frame are filtered to determine the missed detection targets included in the third point cloud frame.
- 一种芯片,其特征在于,所述芯片包括处理器和通信接口;A chip, characterized in that the chip comprises a processor and a communication interface;所述通信接口用于接收和/或发送数据,和/或,所述通信接口用于为所述处理器提供输入和/或输出;The communication interface is used to receive and/or send data, and/or, the communication interface is used to provide input and/or output for the processor;所述处理器用于实现权利要求1-10中任一项所述的方法。The processor is configured to implement the method according to any one of claims 1 to 10.
- 一种计算设备,其特征在于,所述计算设备包含存储器和处理器,所述存储器中存储有计算机指令,所述处理器用于调用所述计算机指令以实现权利要求1-10中任一项所述的方法。A computing device, characterized in that the computing device comprises a memory and a processor, the memory stores computer instructions, and the processor is used to call the computer instructions to implement the method according to any one of claims 1 to 10.
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当所述指令在至少一个处理器上运行时,实现如权利要求1-10中任一项所述的方法。 A computer-readable storage medium, characterized in that instructions are stored in the computer-readable storage medium, and when the instructions are executed on at least one processor, the method according to any one of claims 1 to 10 is implemented.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2023/073812 WO2024159351A1 (en) | 2023-01-30 | 2023-01-30 | Point cloud test method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2023/073812 WO2024159351A1 (en) | 2023-01-30 | 2023-01-30 | Point cloud test method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024159351A1 true WO2024159351A1 (en) | 2024-08-08 |
Family
ID=92145678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/073812 WO2024159351A1 (en) | 2023-01-30 | 2023-01-30 | Point cloud test method and apparatus |
Country Status (1)
Country | Link |
---|---|
WO (1) | WO2024159351A1 (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190272411A1 (en) * | 2018-03-05 | 2019-09-05 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Object recognition |
CN112700552A (en) * | 2020-12-31 | 2021-04-23 | 华为技术有限公司 | Three-dimensional object detection method, three-dimensional object detection device, electronic apparatus, and medium |
CN113222042A (en) * | 2021-05-25 | 2021-08-06 | 深圳市商汤科技有限公司 | Evaluation method, evaluation device, electronic equipment and storage medium |
CN113344986A (en) * | 2021-08-03 | 2021-09-03 | 深圳市信润富联数字科技有限公司 | Point cloud registration result evaluation method, device, equipment and storage medium |
KR102393345B1 (en) * | 2021-12-28 | 2022-05-02 | 주식회사 맥스트 | System and method for processing of 3 dimensional point cloud |
CN114495034A (en) * | 2021-12-27 | 2022-05-13 | 阿波罗智联(北京)科技有限公司 | Method, device and equipment for visualizing target detection effect and storage medium |
WO2022188663A1 (en) * | 2021-03-09 | 2022-09-15 | 华为技术有限公司 | Target detection method and apparatus |
CN115546439A (en) * | 2022-09-30 | 2022-12-30 | 际络科技(上海)有限公司 | Millimeter wave radar point cloud data augmentation method, system and electronic equipment |
-
2023
- 2023-01-30 WO PCT/CN2023/073812 patent/WO2024159351A1/en unknown
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190272411A1 (en) * | 2018-03-05 | 2019-09-05 | Hong Kong Applied Science And Technology Research Institute Co., Ltd. | Object recognition |
CN112700552A (en) * | 2020-12-31 | 2021-04-23 | 华为技术有限公司 | Three-dimensional object detection method, three-dimensional object detection device, electronic apparatus, and medium |
WO2022188663A1 (en) * | 2021-03-09 | 2022-09-15 | 华为技术有限公司 | Target detection method and apparatus |
CN113222042A (en) * | 2021-05-25 | 2021-08-06 | 深圳市商汤科技有限公司 | Evaluation method, evaluation device, electronic equipment and storage medium |
CN113344986A (en) * | 2021-08-03 | 2021-09-03 | 深圳市信润富联数字科技有限公司 | Point cloud registration result evaluation method, device, equipment and storage medium |
CN114495034A (en) * | 2021-12-27 | 2022-05-13 | 阿波罗智联(北京)科技有限公司 | Method, device and equipment for visualizing target detection effect and storage medium |
KR102393345B1 (en) * | 2021-12-28 | 2022-05-02 | 주식회사 맥스트 | System and method for processing of 3 dimensional point cloud |
CN115546439A (en) * | 2022-09-30 | 2022-12-30 | 际络科技(上海)有限公司 | Millimeter wave radar point cloud data augmentation method, system and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102198724B1 (en) | Method and apparatus for processing point cloud data | |
CN109492507B (en) | Traffic light state identification method and device, computer equipment and readable medium | |
WO2022142628A1 (en) | Point cloud data processing method and device | |
WO2021170015A1 (en) | Method for acquiring point cloud data, and related device | |
CN109344746B (en) | Pedestrian counting method, system, computer device and storage medium | |
US20220178718A1 (en) | Sensor fusion for dynamic mapping | |
WO2021253245A1 (en) | Method and device for identifying vehicle lane changing tendency | |
CN111612841A (en) | Target positioning method and device, mobile robot and readable storage medium | |
EP3907659A2 (en) | Perception data detection method and apparatus | |
CN113743171A (en) | Target detection method and device | |
CN110781927A (en) | Target detection and classification method based on deep learning under cooperation of vehicle and road | |
CN115436910B (en) | Data processing method and device for performing target detection on laser radar point cloud | |
CN114792416A (en) | Target detection method and device | |
US20230306159A1 (en) | Simulation test method, apparatus, and system | |
CN112147635B (en) | Detection system, method and device | |
CN115147333A (en) | Target detection method and device | |
WO2024159351A1 (en) | Point cloud test method and apparatus | |
CN115598606A (en) | Point cloud fusion method and device for collected data and electronic equipment | |
WO2022083529A1 (en) | Data processing method and apparatus | |
WO2021000787A1 (en) | Method and device for road geometry recognition | |
CN112231430A (en) | Map data management method and device | |
CN113468735B (en) | Laser radar simulation method, device, system and storage medium | |
CN116630931A (en) | Obstacle detection method, obstacle detection system, agricultural machine, electronic device, and storage medium | |
CN113688880A (en) | Obstacle map creating method based on cloud computing | |
Tsaregorodtsev et al. | Automated Automotive Radar Calibration with Intelligent Vehicles |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23918941 Country of ref document: EP Kind code of ref document: A1 |