WO2023185927A1 - Method, apparatus and device for determining layering of point cloud of lidar, and storage medium - Google Patents
Method, apparatus and device for determining layering of point cloud of lidar, and storage medium Download PDFInfo
- Publication number
- WO2023185927A1 WO2023185927A1 PCT/CN2023/084709 CN2023084709W WO2023185927A1 WO 2023185927 A1 WO2023185927 A1 WO 2023185927A1 CN 2023084709 W CN2023084709 W CN 2023084709W WO 2023185927 A1 WO2023185927 A1 WO 2023185927A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- point
- view
- field
- candidate
- determined
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 92
- 230000004044 response Effects 0.000 claims description 67
- 239000013598 vector Substances 0.000 claims description 43
- 230000002159 abnormal effect Effects 0.000 claims description 18
- 230000015654 memory Effects 0.000 claims description 17
- 238000005259 measurement Methods 0.000 claims description 16
- 238000006073 displacement reaction Methods 0.000 claims description 13
- 238000013517 stratification Methods 0.000 claims description 10
- 230000032798 delamination Effects 0.000 claims description 9
- 230000006870 function Effects 0.000 claims description 9
- 230000005856 abnormality Effects 0.000 claims description 6
- 206010000117 Abnormal behaviour Diseases 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 238000001514 detection method Methods 0.000 description 5
- 230000006399 behavior Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 4
- 238000012888 cubic function Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000002730 additional effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000005693 optoelectronics Effects 0.000 description 1
- 238000002310 reflectometry Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000000007 visual 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
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
-
- 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
- G01S17/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
- G01S17/08—Systems determining position data of a target for measuring distance only
-
- 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/48—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
- G01S7/481—Constructional features, e.g. arrangements of optical elements
- G01S7/4817—Constructional features, e.g. arrangements of optical elements relating to scanning
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Definitions
- the present disclosure relates to the technical field of lidar, and in particular, to a method, device, equipment and storage medium for determining layering of lidar point clouds.
- LiDAR Light Detection and Ranging
- an infrared laser is used as the emitting light source to emit a laser beam in a certain direction around the LiDAR.
- the lidar information processing module can calculate the distance between the lidar and the object based on the speed of light based on the time interval between transmitting and receiving laser signals.
- LiDAR In a very short time, by emitting laser beams in multiple directions around the LiDAR and measuring the distance, a frame of 3D laser point cloud can be output.
- lidar In various application fields where lidar is used as a key sensor for sensing the surrounding environment, obstacles can be sensed based on information such as the spatial position of point clouds. Therefore, LiDAR is widely used in fields such as autonomous driving, robot obstacle avoidance, vehicle-road collaboration in smart cities, and surveying and mapping.
- lidar fails, point cloud layering may occur, causing the point cloud formed by the laser to be inconsistent with the actual scene, making the use of lidar less reliable and affecting the business related to lidar. to safety hazards.
- Embodiments of the present disclosure provide a method, device, equipment and storage medium for determining the layering of lidar point clouds.
- a first aspect of an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud.
- the lidar includes a first field of view and a second field of view.
- the distance between the first field of view and the second field of view is There are overlapping areas; the method includes:
- the method further includes:
- the predetermined characteristics include one or more of the following:
- the predetermined feature when the predetermined feature includes a distance measurement value of an alternative point, the predetermined feature according to the first alternative point and the second alternative point Comparison results between predetermined features to determine whether the point cloud is stratified, including:
- determining the point cloud Delamination occurs.
- the difference between the mean of the ranging values in response to the first alternative point and the mean of the ranging values of the second alternative point If the value is within the first threshold range, it is determined that the point cloud is not stratified, including:
- the predetermined characteristic includes the intensity of an alternative point
- the predetermined characteristic according to the first alternative point and the predetermined characteristic of the second alternative point The comparison results between them determine whether the point cloud is delaminated, including:
- the nearest neighbor point is the point determined from the second alternative points in the second field of view that is closest to each of the first alternative points in the first field of view;
- the point cloud is stratified, wherein the nearest neighbor point The neighbor point is the point determined from the second candidate points in the second field of view that is closest to each of the first candidate points in the first field of view.
- the predetermined feature when the predetermined feature includes a normal vector of an alternative point, the predetermined feature according to the first alternative point and the predetermined feature of the second alternative point.
- the comparison results between features determine whether the point cloud is stratified, including:
- determining whether delamination occurs in the point cloud includes:
- the point cloud is stratified, wherein the M and N are integers greater than 0, M ⁇ N.
- the method further includes:
- the first reference point and the second reference point are determined according to the boundary fitting function of the overlapping area in the reference point cloud.
- the method further includes:
- the first candidate point and the second candidate point are determined according to the serial numbers of the first reference point and the second reference point.
- the method further includes: obtaining a region of interest ROI, in which the first reference point and the second reference point are determined.
- a second aspect of the embodiment of the present disclosure provides a device for determining the layering of a lidar point cloud.
- the lidar includes a first field of view and a second field of view. There is a gap between the first field of view and the second field of view. There are areas of overlap; the means include:
- An acquisition module configured to: acquire a first candidate point of the point cloud of the lidar, where the first candidate point is a point included in the first field of view and located in the overlapping area; Obtain a second candidate point of the LiDAR point cloud, wherein the second candidate point is a point included in the second field of view and located in the overlapping area;
- a determination module configured to determine whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- the third aspect of the embodiment of the present disclosure provides a device for determining the layering of lidar point clouds, including:
- Memory which stores computer-executable instructions
- a processor connected to the memory, is configured to implement the method for determining point cloud layering provided by any solution of the first aspect by executing the computer-executable instructions.
- a fourth aspect of the embodiment of the present disclosure provides a computer storage medium, which stores computer-executable instructions; after the computer-executable instructions are executed by a processor, the determination provided by any solution of the first aspect can be realized Point cloud layering method.
- the technical solution provided by the embodiments of the present disclosure has a beneficial effect compared with the existing technology: it can be based on the predetermined characteristics of the first candidate point included in the first field of view and located in the overlapping area, and the predetermined characteristics of the first candidate point included in the second field of view. predetermined features of the second candidate point located in the overlapping area, obtain a comparison result between the predetermined features, and determine whether the point cloud is stratified based on the comparison result.
- the accuracy is higher, and after determining that the point cloud is layered, lidar anomalies can be dealt with in a timely manner, which can improve the reliability of lidar work and reduce problems with Safety hazards in lidar-related businesses.
- Figure 1 is a schematic diagram illustrating the cause of a delamination phenomenon provided by an embodiment of the present disclosure
- Figure 2 is a schematic diagram of a normal point cloud provided by an embodiment of the present disclosure
- Figure 3 is a schematic diagram of a layered point cloud provided by an embodiment of the present disclosure.
- Figure 4 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 5 is a schematic diagram of an overlapping area provided by an embodiment of the present disclosure.
- Figure 6 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 7 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 8 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 9 is a schematic flow chart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure.
- Figure 10 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 11 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 12 is a schematic diagram of determining an overlapping area provided by an embodiment of the present disclosure.
- Figure 13 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 14 is a schematic flow chart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 15 is a schematic diagram of determining an overlapping area provided by an embodiment of the present disclosure.
- Figure 16 is a schematic structural diagram of a device for determining lidar point cloud layering provided by an embodiment of the present disclosure
- Figure 17 is a configuration block diagram of a device for determining lidar point cloud layering provided by an embodiment of the present disclosure.
- LiDAR can obtain information indicating the location of a point in three-dimensional space (for example, its location in the X, Y, and Z planes). Attribute information may also be obtained, such as color attributes (eg, RGB values), texture attributes, intensity attributes, reflectivity attributes, motion-related attributes, modal attributes, and/or various other attributes. In some cases, additional properties can be assigned to the corresponding point, for example, the timestamp when the point was obtained.
- the points acquired by LiDAR can constitute a "point cloud", which includes a set of points each having associated spatial information and one or more associated attributes. In some cases, a point cloud can include thousands of points, hundreds of thousands of points, millions of points, or even more points. Additionally, in some cases, point clouds can be generated in software. It should be noted that "point” is a "three-dimensional point”.
- the laser of a micro-electro-mechanical system (MEMS) scanning lidar is fixedly connected, and light can only propagate along corresponding angles, so that a single laser in the MEMS scanning lidar often Only has a limited field of view.
- MEMS scanning lidar can be equipped with Multiple lasers at different angles are installed, and the lasers at different angles are spliced into small fields of view to expand the field of view of the MEMS scanning lidar into a large field of view.
- there are often certain overlapping areas between small fields of view in order to prevent blind areas between different small fields of view and affect detection accuracy.
- the point cloud in the overlapping area will be layered.
- the fundamental reason for the point cloud layering phenomenon is that the actual ranging does not match the calibrated launch angle.
- Lidar O emits a laser OP.
- the ranging value should be d.
- the lidar will still be calculated according to the predetermined parameters, and the wrong three-dimensional point P" is calculated based on the abnormal ranging value and the corresponding emission angle in the predetermined parameters.
- an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
- Step 41 Obtain the first candidate point of the LiDAR point cloud, where the first candidate point is a point included in the first field of view and located in the overlapping area;
- Step 42 Obtain a second candidate point of the LiDAR point cloud, where the second candidate point is a point included in the second field of view and located in the overlapping area;
- Step 43 Determine whether the point cloud is stratified according to the comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- the method for determining lidar point cloud layering provided by the embodiments of the present disclosure can be applied to LiDAR, and the execution of the above steps can be completed by the processing module of LiDAR.
- the method for determining point cloud layering provided by the embodiments of the present disclosure is not limited to application in LiDAR, and can also be applied to various other types of optoelectronic devices or photoelectric sensors including photodetectors or photoelectric receiving circuits. This is not the case here. Make limitations. It should be noted that the method of determining the lidar point cloud layering can also be performed by a host computer connected to the lidar.
- the lidar point cloud may be determined based on multiple fields of view.
- the field of view may be composed of three-dimensional points (for example, the first candidate point and the second candidate point are both three-dimensional points, and the three-dimensional points may be quantitatively represented by three-dimensional coordinates or other feature information).
- there are mutually overlapping overlapping areas between adjacent fields of view and the mutually overlapping overlapping areas can also be understood as mutually overlapping overlapping areas.
- the point cloud includes field of view A and field B.
- the overlapping area between field of view A and field B is area C
- area C is the overlapping area.
- each field of view can correspond to the scanning angle range of the lidar, and the lidar can be divided into different scanning angle ranges. For example, if a scanning angle range of the lidar is 30 degrees, then the 30-degree angle range The scanning area can correspond to a field of view. Different scanning angle ranges can overlap, and thus different fields of view can also overlap. It should be noted that the scanning angle may include an azimuth angle and an elevation angle. The scanning angle range in the above example may be an azimuth angle range and/or an elevation angle range, which is not limited here.
- each field of view can be represented by a point set composed of three-dimensional points contained in the field of view.
- the first field of view includes multiple three-dimensional points
- the multiple three-dimensional points in the first field of view can constitute a point set, such as the P1 point set, that is, the first field of view can be represented by this point set.
- the three-dimensional point associated with the first field of view in the present disclosure may be any three-dimensional point in the P1 point set.
- the second field of view includes multiple three-dimensional points
- the multiple three-dimensional points in the second field of view can constitute a point set, such as the P2 point set, that is, the second field of view can be represented by this point set.
- the three-dimensional point associated with the first field of view in the present disclosure may be any three-dimensional point in the P2 point set.
- the point set corresponding to the visual field can be used for the operation implementation of the disclosed solution.
- the first field of view and the second field of view may be adjacent fields of view. It should be noted that the first field of view and the second field of view do not specifically refer to any two fields of view. It can be understood that the first field of view and the second field of view can be any adjacent fields of view in the field of view, and there is no limitation here.
- the predetermined characteristics include one or more of the following:
- the first candidate point and the second candidate point are obtained; according to a predetermined period, according to the predetermined characteristics of the first candidate point and The comparison results between the predetermined characteristics of the second candidate point periodically determine whether the point cloud is stratified.
- the predetermined period may be determined based on the required abnormal response delay. For example, in response to the required abnormal response delay being less than the delay threshold, it is determined that the predetermined period is less than the period threshold; or in response to the required abnormal response delay being greater than the delay threshold, it is determined that the predetermined period is greater than the period threshold. In this way, the predetermined period can be adapted to the required exception response delay.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point, it is determined whether the point cloud is stratified. In response to determining that the point cloud is stratified, it is determined that the lidar has at least one of the following abnormalities: displacement of the laser, displacement of the photodetector, abnormal MEMS behavior, and abnormal internal clock.
- abnormal processing can be carried out in time to improve the reliability of lidar work.
- prompt information indicating that the above-mentioned abnormality occurs in the lidar is output.
- the photodetector can be an APD or a single photon avalanche diode (SPAD, Single Photon Avalanche Diode), etc.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area;
- a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison result between a single predetermined feature of the first candidate point and a single predetermined feature of the second candidate point, it is determined whether the point cloud is stratified.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area;
- a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison result between the ranging value of the first candidate point and the ranging value of the second candidate point, it is determined whether the point cloud is stratified.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the difference between the mean value of the distance measurement value of the first candidate point and the mean value of the range measurement value of the second candidate point, determine whether the point cloud Delamination occurs. For example, in response to the difference being within the first threshold range, it is determined that the point cloud is not stratified; or in response to the difference being outside the first threshold range, it is determined that the point cloud is stratified.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; the difference between the mean value of the ranging values according to the first candidate point and the mean value of the ranging values of the second candidate point, and according to the first The difference between the standard deviation of the ranging value of the candidate point and the standard deviation of the ranging value of the second candidate point determines whether the point cloud is stratified.
- the point cloud in response to the two differences being within a predetermined range (for example, the difference between the mean is within the first threshold range, and the difference between the standard deviation is within the second threshold range), it is determined that the point cloud is not stratified. ; Or, in response to both the difference values being outside the predetermined range, it is determined that the point cloud is stratified, or in response to one of the two difference values being outside the predetermined range, it is determined that the point cloud is stratified.
- a predetermined range for example, the difference between the mean is within the first threshold range, and the difference between the standard deviation is within the second threshold range
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area;
- a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; in response to the mean value of the difference between the intensity of all first candidate points and the intensity of the nearest neighbor point being within the third threshold range, it is determined that the point cloud has not Stratification occurs where the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area;
- a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; in response to the mean value of the difference between the intensity of all first candidate points and the intensity of the nearest neighbor point being outside the third threshold range, it is determined that the point cloud occurs Hierarchical, wherein the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the angle between the first normal vector of the first candidate point and the second normal vector of the second candidate point, determine whether the point cloud is divided. layer.
- a fourth threshold range in response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being within a fourth threshold range, it is determined that the point cloud is not delaminated. .
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the angle between the first normal vector of the first candidate point and the second normal vector of the second candidate point, determine whether the point cloud is divided. layer.
- a fourth threshold range in response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being outside a fourth threshold range, it is determined that the point cloud is stratified.
- a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison results between the multiple predetermined features of the first candidate point and the multiple predetermined features of the second candidate point, it is determined whether the point cloud is divided. layer.
- the plurality of predetermined features include the following: the distance measurement value of the candidate point; the intensity of the candidate point; and the normal vector of the candidate point.
- the technical solution provided by the embodiments of the present disclosure has a beneficial effect compared with the existing technology: it can be based on the predetermined characteristics of the first candidate point included in the first field of view and located in the overlapping area, and the predetermined characteristics of the first candidate point included in the second field of view. predetermined features of the second candidate point located in the overlapping area, obtain a comparison result between the predetermined features, and determine whether the point cloud is stratified based on the comparison result.
- the accuracy is higher, and after determining that the point cloud is layered, lidar anomalies can be dealt with in a timely manner, which can improve the reliability of lidar work and reduce problems with Safety hazards in lidar-related businesses.
- an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
- Step 61 In response to determining that the point cloud is stratified, it is determined that the lidar has at least one of the following abnormalities: displacement of the laser, displacement of the photodetector, abnormal MEMS behavior, and abnormal internal clock.
- the first candidate point of the point cloud of the lidar is obtained, where the first candidate point is a point included in the first field of view and located in the overlapping area; and the first candidate point of the point cloud of the lidar is obtained.
- Two candidate points, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point As a result, it is determined whether the point cloud is delaminated.
- n and m are positive integers, and the ratio of m and n is greater than a predetermined threshold.
- the predetermined threshold in response to the required accuracy of abnormal handling being greater than the accuracy threshold, it is determined that the predetermined threshold is greater than the reference value; or in response to the required accuracy of abnormal handling being less than the accuracy threshold, it is determined that the predetermined threshold is less than the reference value.
- the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. Area; when the predetermined features include ranging values of candidate points, the method includes:
- Step 71 In response to the difference between the mean value of the ranging value of the first candidate point and the mean value of the ranging value of the second candidate point being within the first threshold range, it is determined that the point cloud is not stratified;
- the point cloud in response to a difference between the mean value of the ranging values of the first candidate point and the mean value of the ranging values of the second candidate point being within a first threshold range, and the value of the mean value of the ranging value of the first candidate point If the difference between the standard deviation of the ranging value and the standard deviation of the ranging value of the second candidate point is within the second threshold range, it is determined that the point cloud is not stratified.
- step 71 in the embodiment of the present disclosure, please refer to the description of step 41, step 42 and step 43, which will not be described again here.
- an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. Area; when the predetermined characteristics include the intensity of candidate points, the method includes:
- Step 81 In response to the mean value of the difference between the intensity of all first candidate points and the intensity of the nearest neighbor point being within the third threshold range, determine that the point cloud has not been stratified, where the nearest neighbor point is from the second The point closest to each first candidate point in the first field of view determined among the second candidate points in the field of view;
- the point cloud is not stratified, wherein the nearest neighbor points are from the first field of view.
- the point cloud is stratified, wherein the nearest neighbor point is the third point from the first field of view.
- the point closest to each second candidate point in the second field of view is determined among the candidate points.
- step 81 in the embodiment of the present disclosure, please refer to the description of step 41, step 42 and step 43, which will not be described again here.
- the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. Area; when the predetermined feature includes the normal vector of the candidate point, the method includes:
- Step 91 In response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being within the fourth threshold range, it is determined that the point cloud is not stratified;
- step 91 in the embodiment of the present disclosure, please refer to the description of step 41, step 42, and step 43, which will not be described again here.
- an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
- Step 101 In response to the comparison result of the N frame point clouds in the M frame point cloud being a predetermined comparison result, it is determined that the point cloud is stratified, where M and N are integers greater than 0, and M ⁇ N.
- the first candidate point of the point cloud of the lidar is obtained, where the first candidate point is a point included in the first field of view and located in the overlapping area; and the first candidate point of the point cloud of the lidar is obtained.
- Two alternative points wherein the second alternative point is a point included in the second field of view and located in the overlapping area; based on the comparison between the predetermined characteristics of the first alternative point and the predetermined characteristics of the second alternative point
- the first in response to the difference between the average of the ranging values of the first candidate points and the average of the ranging values of the second candidate points in the N frame point clouds in the M frame point clouds, the first Within the threshold range, it is determined that the comparison result is not the predetermined comparison result.
- the comparison result in response to the difference between the average of the ranging values of the first candidate points and the average of the ranging values of the second candidate points in the N frame point clouds in the M frame point clouds, the first If the value is outside the threshold range, the comparison result is determined to be the predetermined comparison result.
- determining the comparison The result is not a predetermined comparison result, wherein the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
- determining the comparison The result is a predetermined comparison result, wherein the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
- determining the comparison The result is not a predetermined comparison result, wherein the nearest neighbor point is the point determined from the first candidate points in the first field of view that is closest to each second candidate point in the second field of view.
- determining the comparison The result is a predetermined comparison result, in which the nearest neighbor point is the point determined from the first candidate points in the first field of view that is closest to each second candidate point in the second field of view.
- the response in response to the N frame point cloud in the M frame point cloud, the response is between a first normal vector determined based on the first candidate point and a second normal vector determined based on the second candidate point.
- the angle is within the fourth threshold range, and it is determined that the comparison result is not the predetermined comparison result.
- the response in response to the N frame point cloud in the M frame point cloud, the response is between a first normal vector determined based on the first candidate point and a second normal vector determined based on the second candidate point. If the angle is outside the threshold range, it is determined that the point cloud is stratified, and the comparison result is determined to be the predetermined comparison result.
- the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
- Step 111 Generate a reference point cloud based on the calibration angle and fixed distance of the lidar
- Step 112 Determine the first nearest neighbor point in the first field of view in the reference point cloud; determine a point whose distance between the point in the second field of view and the first nearest neighbor point is within a predetermined range as the second reference points, wherein the first nearest neighbor point is the point closest to each point in the second field of view determined from the points in the first field of view;
- Determine the second nearest neighbor point in the second field of view in the reference point cloud determine a point whose distance between the point in the first field of view and the second nearest neighbor point is within a predetermined range as the first reference point, where , the second nearest neighbor point is the point closest to each point in the first field of view determined from the points in the second field of view;
- the first reference point and the second reference point are determined according to the boundary fitting function of the overlapping area in the reference point cloud.
- the calibration angle is the calibration information indicated in the calibration file of the lidar
- the fixed distance is the distance set according to the application scenario.
- the calibration information may be information about the parameters of the lidar under actual working conditions when the lidar leaves the factory; the calibration information may at least include scanning angle information.
- a reference point cloud can be generated based on the scan angle information and a predetermined distance.
- the reference point cloud may also be called an auxiliary point cloud.
- a reference point cloud is generated based on the calibration angle and fixed distance of the lidar; the first nearest neighbor point in the first field of view is determined in the reference point cloud; and the point in the second field of view is compared with the first nearest point cloud.
- a point whose distance between adjacent points is within a predetermined range is determined as the second reference point, wherein the first nearest neighbor point is determined from the points in the first field of view and each point in the second field of view. the closest point to A first reference point, wherein the second nearest neighbor point is the point closest to each point in the first field of view determined from the points in the second field of view; based on the first reference point and the second
- the serial number of the reference point determines the first candidate point and the second candidate point. It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- points in the field of view can all correspond to unique serial numbers to achieve fast traversal operations.
- the serial numbers of the first reference point and the second reference point can be determined.
- the first candidate point can be quickly determined based on the serial numbers. and a second alternative point.
- a single frame reference point cloud can be generated based on the calibration information (including scanning angle information) and a predetermined distance; traverse the three-dimensional points in the field of view A, and use KD-Tree to search in the adjacent field of view B with A A nearest neighbor point of each three-dimensional point in the field of view; if the Euclidean distance between the three-dimensional point in the field of view A and the nearest neighbor point is less than a predetermined value, the three-dimensional point in the field of view A can be determined
- the overlapping areas located in different fields of view are the reference points used to determine candidate points. For example, please refer to Figure 12.
- a reference point cloud is generated based on the calibration angle and fixed distance of the lidar; the first reference point and the second reference point are determined from the reference point cloud based on the boundary fitting function of the overlapping area.
- the first reference point is determined based on the serial numbers of the first reference point and the second reference point.
- Alternative point and second alternative point It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- a single-frame reference point cloud (or auxiliary point cloud) may be generated based on the calibration information, where the reference point cloud contains multiple fields of view; since the edge point number of each field of view (which may be the boundary of the field of view) The point number) has been determined when the lidar is calibrated at the factory. Therefore, the edge points of each field of view can be determined based on the edge point numbers determined based on the calibration information. A set of different fields of view can be fitted based on the information of the edge points. The system of equations of the boundary curve, so that by substituting the coordinates of each point in the field of view into the system of equations, it can be determined whether the point belongs to the overlapping area of different fields of view.
- the point belongs to the overlapping area, it is the reference point.
- the serial number of the reference point in the overlapping area can be determined. This serial number can be used to quickly determine the first alternative point and the second alternative point. It should be noted that if the boundary fitting function corresponds to the first field of view, the reference point is the first reference point; or, if the boundary fitting function corresponds to the second field of view, the reference point is the second reference point.
- the upper, lower, left and right boundary curves of each field of view can be fitted using a cubic function.
- the first reference point or the second reference point can be determined through a cubic function equation set determined by multiple cubic functions in different fields of view.
- the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds.
- the lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
- Step 131 Obtain the region of interest ROI, and determine the first reference point and the second reference point in the ROI.
- the region of interest may be determined based on the emission angle of the lidar, and the first reference point and the second reference point are determined only in the ROI.
- the ROI is the area where the horizontal emission angle is between the minimum value of the Azimuth azimuth angle of the B field of view and the maximum value of the Azimuth azimuth angle of the A field of view, then the overlap of the A field of view and the B field of view can be determined based on this ROI
- the horizontal emission angle of the three-dimensional point in the area is between the minimum value of the Azimuth azimuth angle of the B field of view and the maximum value of the Azimuth azimuth angle of the A field of view.
- step 112 Based on the method of step 112, it is only necessary to traverse the point cloud in the ROI to determine the first reference point and the second reference point. In this way, the amount of calculation can be reduced, and therefore the determination of the first reference point and the second reference point can be accelerated.
- a region of interest ROI is obtained, and a first reference point and a second reference point are determined in the ROI.
- the first candidate point and the second candidate point are determined based on the serial numbers of the first reference point and the second reference point. It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- This example provides a method to determine the layering of lidar point clouds, including:
- Step a1 Based on the laser lidar factory calibration file (for example, angle calibration file) and the fixed distance, determine all three-dimensional points belonging to the point sets of the two fields of view in each overlapping area of the two fields of view. Among them, each three-dimensional point corresponds to a serial number. For example, you can generate a frame of reference point cloud based on the angle calibration file and a fixed distance, traverse the point cloud of a certain field of view, and use KD-Tree to search for the nearest neighbor point of each three-dimensional point in the adjacent field of view. If the Euclidean distance between the three-dimensional point and the nearest neighbor point in the adjacent field of view is less than the set threshold, the point is considered to belong to the overlapping field of view area.
- the laser lidar factory calibration file for example, angle calibration file
- the fixed distance determines all three-dimensional points belonging to the point sets of the two fields of view in each overlapping area of the two fields of view. Among them, each three-dimensional point corresponds to a serial number. For example
- step a1 only needs to be executed once when the laser lidar is powered on or the detection algorithm is started.
- an ROI can first be determined based on the emission angle. For example, the point horizontal emission angle of the overlap area of the A field of view and the B field of view is between the minimum Azimuth azimuth angle of the B field of view and the maximum Azimuth azimuth angle of the A field of view. Then, determine the reference point only in the ROI.
- Step a2 During the normal use of the laser lidar, calculate the eigenvalues of the point sets P1 and P2 belonging to the two fields of view in each overlapping area.
- a total of 10 main overlapping areas Take the field of view overlapping area numbered 1 as an example.
- the upper field of view point set in this overlapping area is P1
- the lower field of view point set is P2.
- the statistics of the two point sets P1 belonging to the two fields of view in this overlapping area are And the mean and/or standard deviation of the distance values in P2 (here, after sorting, delete the largest and smallest 10% of the distance values) as the feature value A.
- the eigenvalues that can also be used include intensity (eigenvalue B) and the normal vector of the point cloud (eigenvalue C).
- Step a3 Determine whether the single frame point cloud is delaminated based on the feature value. It can be judged based on a single eigenvalue. Taking eigenvalue A as an example, if the difference between the mean distance value and the standard deviation of the two sets of point sets P1 and P2 in an overlapping area are both within the set threshold, it is considered There is no stratification phenomenon in this overlapping area, otherwise it is judged that stratification phenomenon has occurred in this overlapping area of this frame (the degree of dispersion is similar, but the mean value is quite different).
- the feature value can also be the value of feature B.
- Feature B is the intensity information of the point cloud. It belongs to the original measurement information like the distance. In theory, the intensity of similar points in the overlapping area should also be consistent.
- the judgment method is: traverse each point in P1, find the corresponding nearest neighbor point in P2, record the intensity difference between the two points, and find the mean of all differences after the traversal. If it exceeds the threshold, it is judged that the point cloud is stratified.
- the feature value can also be the value of feature C, which is the normal vector of the point cloud.
- the above three feature values can also be combined for judgment.
- the solution of combining multiple features can determine whether the point cloud is stratified according to whether two of the three features meet the conditions for stratification, thus improving the accuracy of the judgment.
- Step a4 Count the proportion of frames with layered points in multiple frames. If the number of layered point clouds exceeds a certain threshold, an exception will be reported. For example, if at least 40 frames of 50 consecutive point cloud frames are delaminated, it will be judged that the device is delaminated and an exception will be reported.
- an embodiment of the present disclosure provides a device for determining the layering of a lidar point cloud.
- the lidar includes a first field of view and a second field of view. There is overlap between the first field of view and the second field of view.
- Area; devices include:
- the acquisition module 161 is used to: acquire the first candidate point of the laser radar point cloud, where the first candidate point is a point included in the first field of view and located in the overlapping area; obtain the first candidate point of the laser radar point cloud.
- the determination module 162 is configured to determine whether the point cloud is stratified according to the comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- the embodiment of the present disclosure provides a device 1700 for determining LiDAR point cloud layering, including:
- Memory 1704 which stores computer-executable instructions
- the processor 1703 is connected to the memory 1704 and is used to implement the failure detection method of the signal receiving component provided by any of the foregoing technical solutions by executing computer executable instructions.
- the processor 1703 can implement this method by executing the executable instructions. Expose any method.
- Device 1700 may be any type of general or special purpose computing device, such as a desktop computer, laptop computer, server, mainframe computer, cloud-based computer, tablet computer, wearable device, vehicle electronics, etc. As shown in FIG. 17 , device 1700 includes an input/output (I/O) interface 1701 , a network interface 1702 , a memory 1704 and a processor 1703 .
- I/O input/output
- I/O interface 1701 is a collection of components that can receive input from and/or provide output to the user.
- I/O interface 1701 may include, but is not limited to, buttons, keyboards, keypads, LCD displays, LED displays, or other similar display devices, including display devices with touch screen capabilities that enable interaction between the user and the device.
- Network interface 1702 may include various adapters and circuitry implemented in software and/or hardware to enable communication with the lidar using wired or wireless protocols.
- the wired protocol is, for example, any one or more of a serial port protocol, a parallel port protocol, an Ethernet protocol, a USB protocol or other wired communication protocols.
- the wireless protocol is, for example, any IEEE 802.11 Wi-Fi protocol, cellular network communication protocol, etc.
- Memory 1704 includes a single memory or one or more memories or storage locations, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read only memory (ROM) ), EPROM, EEPROM, flash memory, logic blocks of FPGA, hard disk, or any other layer of the memory hierarchy.
- RAM random access memory
- DRAM dynamic random access memory
- SRAM static random access memory
- ROM read only memory
- EPROM electrically erasable programmable read only memory
- EEPROM electrically erasable programmable read only memory
- flash memory logic blocks of FPGA, hard disk, or any other layer of the memory hierarchy.
- Memory 1704 may be used to store any type of instructions, software, or algorithms, including instructions 1705 for controlling the general functionality and operation of device 1700 .
- Processor 1703 controls the general operation of device 1700.
- the processor 1703 may include, but is not limited to, a CPU, a hardware microprocessor, a hardware processor, a multi-core processor, a single-core processor, a microcontroller, an application specific integrated circuit (ASIC), a DSP, or other similar processing device capable of executing Any type of instructions, algorithms, or software for controlling the operation and functionality of device 1700 of the embodiments described in this disclosure.
- Processor 1703 may be various implementations of digital circuitry, analog circuitry, or mixed-signal (a combination of analog and digital) circuitry that perform functions in a computing system.
- Processor 1703 may include, for example, a portion or circuit such as an integrated circuit (IC), a separate processor core, an entire processor core, a separate processor, a programmable hardware device such as a field programmable gate array (FPGA), and/or Systems that include multiple processors.
- IC integrated circuit
- FPGA field programmable gate array
- the processor 1703 and the memory 1704 may be connected through a communication interface such as a bus 1706.
- Embodiments of the present disclosure also provide a computer storage medium that stores computer-executable instructions; the computer-executable instructions are stored in the computer storage medium; After the execution instruction is executed by the processor, the method for determining the lidar point cloud layer provided by any of the foregoing technical solutions can be implemented.
- the processor can implement any method of the present disclosure by executing the executable instruction.
- Computer-executable instructions in the computer-readable storage medium or program product according to embodiments of the present disclosure may be configured to perform operations corresponding to the above-described apparatus and method embodiments.
- the embodiments of the computer-readable storage medium or program product will be clear to those skilled in the art, and therefore will not be described again.
- Computer-readable storage media and program products for carrying or including the computer-executable instructions described above are also within the scope of the present disclosure.
- Such storage media may include, but are not limited to, floppy disks, optical disks, magneto-optical disks, memory cards, memory sticks, and the like.
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Electromagnetism (AREA)
- Computer Networks & Wireless Communication (AREA)
- General Physics & Mathematics (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Optical Radar Systems And Details Thereof (AREA)
Abstract
A method, apparatus and device for determining layering of a point cloud of a LiDAR, and a storage medium. The LiDAR comprises a first field of view and a second field of view, wherein there is an overlapping region between the first field of view and the second field of view. The method comprises: acquiring a first alternative point of a point cloud of a LiDAR, wherein the first alternative point is a point which is included in a first field of view and is located in an overlapping region (step 41); acquiring a second alternative point of the point cloud of the LiDAR, wherein the second alternative point is a point which is included in a second field of view and is located in the overlapping region (step 42); and according to a comparison result between a predetermined feature of the first alternative point and a predetermined feature of the second alternative point, determining whether the point cloud is layered (step 43).
Description
优先权信息priority information
本申请是以CN申请号为202210328377.4,申请日为2022年3月30日的申请为基础,并主张其优先权,该CN申请的公开内容在此作为整体引入本申请中。This application is based on the application with CN application number 202210328377.4 and the filing date is March 30, 2022, and claims its priority. The disclosure content of the CN application is hereby incorporated into this application as a whole.
本公开涉及激光雷达技术领域,尤其涉及一种确定激光雷达点云分层的方法、装置、设备及存储介质。The present disclosure relates to the technical field of lidar, and in particular, to a method, device, equipment and storage medium for determining layering of lidar point clouds.
激光雷达(LiDAR,Light Detection and Ranging)是激光探测及测距系统的简称。一般采用红外激光器作为发射光源,向LiDAR周围某个方向发射出一束激光,激光光束遇到物体后发生漫反射,部分激光的散射光返回至激光接收系统。激光雷达信息处理模块根据发射和接收激光信号的时间间隔,就可根据光速计算出激光雷达与物体之间的距离。LiDAR (Light Detection and Ranging) is the abbreviation of laser detection and ranging system. Generally, an infrared laser is used as the emitting light source to emit a laser beam in a certain direction around the LiDAR. When the laser beam encounters an object, diffuse reflection occurs, and part of the scattered light of the laser returns to the laser receiving system. The lidar information processing module can calculate the distance between the lidar and the object based on the speed of light based on the time interval between transmitting and receiving laser signals.
在极短的时间内,朝LiDAR周围多个方向发射激光光束并测量距离,即可输出一帧3D激光点云图。在把激光雷达作为感知周围环境的关键传感器的各应用领域中,可以根据点云的空间位置等信息感知障碍物。因此,LiDAR被广泛应用于自动驾驶、机器人避障、智慧城市的车路协同以及测绘等领域。In a very short time, by emitting laser beams in multiple directions around the LiDAR and measuring the distance, a frame of 3D laser point cloud can be output. In various application fields where lidar is used as a key sensor for sensing the surrounding environment, obstacles can be sensed based on information such as the spatial position of point clouds. Therefore, LiDAR is widely used in fields such as autonomous driving, robot obstacle avoidance, vehicle-road collaboration in smart cities, and surveying and mapping.
在相关技术中,如果激光雷达出现故障,可能会产生点云分层现象,使得激光形成的点云与实际场景不相符,使得使用激光雷达的可靠性变低,给与激光雷达关联的业务带来安全隐患。In related technologies, if lidar fails, point cloud layering may occur, causing the point cloud formed by the laser to be inconsistent with the actual scene, making the use of lidar less reliable and affecting the business related to lidar. to safety hazards.
发明内容Contents of the invention
本公开实施例提供了一种确定激光雷达点云分层的方法、装置、设备及存储介质。Embodiments of the present disclosure provide a method, device, equipment and storage medium for determining the layering of lidar point clouds.
本公开实施例第一方面提供一种确定激光雷达点云分层的方法,所述激光雷达包括第一视场和第二视场,所述第一视场和所述第二视场之间存在交叠区域;所述方法包括:A first aspect of an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud. The lidar includes a first field of view and a second field of view. The distance between the first field of view and the second field of view is There are overlapping areas; the method includes:
获取所述激光雷达的点云的第一备选点,其中,所述第一备选点为包含于所述第一视场且位于所述交叠区域中的点;Obtaining a first candidate point of the LiDAR point cloud, wherein the first candidate point is a point included in the first field of view and located in the overlapping area;
获取所述激光雷达的点云的第二备选点,其中,所述第二备选点为包含于所述第二视场且位于所述交叠区域中的点;Obtain a second candidate point of the LiDAR point cloud, wherein the second candidate point is a point included in the second field of view and located in the overlapping area;
根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层。It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
在根据第一方面的一些实施例中,所述方法还包括:In some embodiments according to the first aspect, the method further includes:
响应于确定所述点云发生分层,确定所述激光雷达出现以下至少之一的异常:In response to determining that the point cloud is stratified, it is determined that at least one of the following anomalies occurs in the lidar:
激光器的位移、光电探测器的位移、MEMS振镜行为异常和内部时钟异常。Displacement of the laser, displacement of the photodetector, abnormal behavior of the MEMS galvanometer and abnormal internal clock.
在根据第一方面的一些实施例中,所述预定特征包括以下一种或者多种:In some embodiments according to the first aspect, the predetermined characteristics include one or more of the following:
备选点的测距值;The distance measurement value of the alternative point;
备选点的强度;The strength of alternative points;
备选点的法向量。The normal vector of the alternative point.
在根据第一方面的一些实施例中,当所述预定特征包括备选点的测距值时,所述根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层,包括:In some embodiments according to the first aspect, when the predetermined feature includes a distance measurement value of an alternative point, the predetermined feature according to the first alternative point and the second alternative point Comparison results between predetermined features to determine whether the point cloud is stratified, including:
响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,确定所述点云未发生分层;In response to a difference between the mean of the ranging values of the first candidate point and the mean of the ranging values of the second candidate point being within a first threshold range, determining the point cloud No delamination occurs;
和/或,and / or,
响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围外,确定所述点云发生分层。
In response to a difference between the mean of the ranging values of the first candidate point and the mean of the ranging values of the second candidate point being outside a first threshold range, determining the point cloud Delamination occurs.
在根据第一方面的一些实施例中,所述响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,确定所述点云未发生分层,包括:In some embodiments according to the first aspect, the difference between the mean of the ranging values in response to the first alternative point and the mean of the ranging values of the second alternative point If the value is within the first threshold range, it is determined that the point cloud is not stratified, including:
响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,且所述第一备选点的所述测距值的标准差和所述第二备选点的所述测距值的标准差之间的差值在第二阈值范围内,确定所述点云未发生分层。In response to a difference between the mean of the ranging values of the first candidate point and the mean of the ranging values of the second candidate point being within a first threshold range, and the first If the difference between the standard deviation of the distance measurement value of the candidate point and the standard deviation of the distance measurement value of the second candidate point is within the second threshold range, it is determined that the point cloud is not stratified. .
在根据第一方面的一些实施例中,当所述预定特征包括备选点的强度时,所述根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层,包括:In some embodiments according to the first aspect, when the predetermined characteristic includes the intensity of an alternative point, the predetermined characteristic according to the first alternative point and the predetermined characteristic of the second alternative point The comparison results between them determine whether the point cloud is delaminated, including:
响应于所有所述第一备选点的所述强度与最近邻点的所述强度之间的差值的均值在第三阈值范围内,确定所述点云未发生分层,其中,所述最近邻点为从所述第二视场的所述第二备选点中确定出的与所述第一视场中每个所述第一备选点之间的距离最近的点;In response to the mean of the differences between the intensities of all the first candidate points and the intensities of the nearest neighbor points being within a third threshold range, it is determined that the point cloud is not stratified, wherein, The nearest neighbor point is the point determined from the second alternative points in the second field of view that is closest to each of the first alternative points in the first field of view;
和/或,and / or,
响应于所有所述第一备选点的所述强度与最近邻点的所述强度之间的差值的均值在第三阈值范围外,确定所述点云发生分层,其中,所述最近邻点为从所述第二视场的所述第二备选点中确定出的与所述第一视场中每个所述第一备选点之间的距离最近的点。In response to a mean value of the differences between the intensities of all the first candidate points and the intensities of the nearest neighbor points being outside a third threshold range, it is determined that the point cloud is stratified, wherein the nearest neighbor point The neighbor point is the point determined from the second candidate points in the second field of view that is closest to each of the first candidate points in the first field of view.
在根据第一方面的一些实施例中,当所述预定特征包括备选点的法向量时,所述根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层,包括:In some embodiments according to the first aspect, when the predetermined feature includes a normal vector of an alternative point, the predetermined feature according to the first alternative point and the predetermined feature of the second alternative point The comparison results between features determine whether the point cloud is stratified, including:
响应于基于所述第一备选点确定的第一法向量和基于所述第二备选点确定的第二法向量之间的夹角在第四阈值范围内,确定所述点云未发生分层;In response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being within a fourth threshold range, it is determined that the point cloud has not occurred layered;
和/或,and / or,
响应于基于所述第一备选点确定的第一法向量和基于所述第二备选点确定的第二法向量之间的夹角在第四阈值范围外,确定所述点云发生分层。In response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being outside the fourth threshold range, it is determined that the point cloud is divided layer.
在根据第一方面的一些实施例中,所述确定所述点云是否发生分层,包括:In some embodiments according to the first aspect, determining whether delamination occurs in the point cloud includes:
响应于M帧点云中的N帧点云的所述比较结果为预定比较结果,确定所述点云发生分层,其中,所述M和所述N为大于0的整数,M≥N。In response to the comparison result of the N frame point clouds in the M frame point cloud being a predetermined comparison result, it is determined that the point cloud is stratified, wherein the M and N are integers greater than 0, M≥N.
在根据第一方面的一些实施例中,所述方法还包括:In some embodiments according to the first aspect, the method further includes:
根据所述激光雷达的标定角度及固定距离生成参考点云;Generate a reference point cloud according to the calibration angle and fixed distance of the lidar;
在所述参考点云中确定所述第一视场中的第一最近邻点;将所述第二视场中的点与所述第一最近邻点之间的距离在预定范围内的点确定为第二参考点,其中,所述第一最近邻点为从所述第一视场中的点中确定出的与所述第二视场中每个点之间的距离最近的点;在所述参考点云中确定所述第二视场中的第二最近邻点;将所述第一视场中的点与所述第二最近邻点之间的距离在预定范围内的点确定为第一参考点,其中,所述第二最近邻点为从所述第二视场中的点中确定出的与所述第一视场中每个点之间的距离最近的点;Determine a first nearest neighbor point in the first field of view in the reference point cloud; select a point whose distance between a point in the second field of view and the first nearest neighbor point is within a predetermined range Determined as a second reference point, wherein the first nearest neighbor point is the point closest to each point in the second field of view determined from the points in the first field of view; Determine a second nearest neighbor point in the second field of view in the reference point cloud; select a point whose distance between the point in the first field of view and the second nearest neighbor point is within a predetermined range. Determined as the first reference point, wherein the second nearest neighbor point is the point closest to each point in the first field of view determined from the points in the second field of view;
或者,在所述参考点云中根据交叠区域的边界拟合函数,确定第一参考点和第二参考点。Alternatively, the first reference point and the second reference point are determined according to the boundary fitting function of the overlapping area in the reference point cloud.
在根据第一方面的一些实施例中,所述方法还包括:In some embodiments according to the first aspect, the method further includes:
确定所述第一参考点和所述第二参考点的序号;Determine the serial numbers of the first reference point and the second reference point;
根据所述第一参考点和所述第二参考点的序号确定所述第一备选点和所述第二备选点。The first candidate point and the second candidate point are determined according to the serial numbers of the first reference point and the second reference point.
在根据第一方面的一些实施例中,所述方法还包括:获取感兴趣区域ROI,在所述ROI中确定出所述第一参考点和所述第二参考点。In some embodiments according to the first aspect, the method further includes: obtaining a region of interest ROI, in which the first reference point and the second reference point are determined.
本公开实施例第二方面提供一种确定激光雷达点云分层的装置,所述激光雷达包括第一视场和第二视场,所述第一视场和所述第二视场之间存在交叠区域;所述装置包括:A second aspect of the embodiment of the present disclosure provides a device for determining the layering of a lidar point cloud. The lidar includes a first field of view and a second field of view. There is a gap between the first field of view and the second field of view. There are areas of overlap; the means include:
获取模块,用于:获取所述激光雷达的点云的第一备选点,其中,所述第一备选点为包含于所述第一视场且位于所述交叠区域中的点;获取所述激光雷达的点云的第二备选点,其中,所述第二备选点为包含于所述第二视场且位于所述交叠区域中的点;An acquisition module, configured to: acquire a first candidate point of the point cloud of the lidar, where the first candidate point is a point included in the first field of view and located in the overlapping area; Obtain a second candidate point of the LiDAR point cloud, wherein the second candidate point is a point included in the second field of view and located in the overlapping area;
确定模块,用于:根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层。A determination module configured to determine whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
本公开实施例第三方面提供一种确定激光雷达点云分层的设备,包括:
The third aspect of the embodiment of the present disclosure provides a device for determining the layering of lidar point clouds, including:
存储器,存储有计算机可执行指令;Memory, which stores computer-executable instructions;
处理器,与所述存储器连接,用于通过执行所述计算机可执行指令,实现第一方面任意方案提供的确定点云分层的方法。A processor, connected to the memory, is configured to implement the method for determining point cloud layering provided by any solution of the first aspect by executing the computer-executable instructions.
本公开实施例第四方面提供的一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被处理器执行后,能够实现如第一方面任意方案提供的确定点云分层的方法。A fourth aspect of the embodiment of the present disclosure provides a computer storage medium, which stores computer-executable instructions; after the computer-executable instructions are executed by a processor, the determination provided by any solution of the first aspect can be realized Point cloud layering method.
本公开实施例提供的技术方案与现有技术相比存在的有益效果是:可以根据包含于第一视场且位于交叠区域中的第一备选点的预定特征,以及包含于第二视场且位于交叠区域中的第二备选点的预定特征,获得预定特征之间的比较结果,并基于比较结果确定点云是否发生分层。相较于利用人眼确定点云分层的方式,准确率更高,且在确定点云发生分层后就可以及时对激光雷达的异常进行处置,能够提升激光雷达工作的可靠性,减少与激光雷达关联业务的安全隐患。The technical solution provided by the embodiments of the present disclosure has a beneficial effect compared with the existing technology: it can be based on the predetermined characteristics of the first candidate point included in the first field of view and located in the overlapping area, and the predetermined characteristics of the first candidate point included in the second field of view. predetermined features of the second candidate point located in the overlapping area, obtain a comparison result between the predetermined features, and determine whether the point cloud is stratified based on the comparison result. Compared with the method of using the human eye to determine the point cloud layering, the accuracy is higher, and after determining that the point cloud is layered, lidar anomalies can be dealt with in a timely manner, which can improve the reliability of lidar work and reduce problems with Safety hazards in lidar-related businesses.
图1是本公开实施例提供的一种分层现象产生的原因的示意图;Figure 1 is a schematic diagram illustrating the cause of a delamination phenomenon provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种正常点云的示意图;Figure 2 is a schematic diagram of a normal point cloud provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种分层点云的示意图;Figure 3 is a schematic diagram of a layered point cloud provided by an embodiment of the present disclosure;
图4是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 4 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种交叠区域的示意图;Figure 5 is a schematic diagram of an overlapping area provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 6 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图7是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 7 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图8是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 8 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图9是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 9 is a schematic flow chart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图10是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 10 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图11是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 11 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图12是本公开实施例提供的一种确定交叠区域的示意图;Figure 12 is a schematic diagram of determining an overlapping area provided by an embodiment of the present disclosure;
图13是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 13 is a schematic flowchart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图14是本公开实施例提供的一种确定激光雷达点云分层的方法的流程示意图;Figure 14 is a schematic flow chart of a method for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图15是本公开实施例提供的一种确定交叠区域的示意图;Figure 15 is a schematic diagram of determining an overlapping area provided by an embodiment of the present disclosure;
图16是本公开实施例提供的一种确定激光雷达点云分层的装置的结构示意图;Figure 16 is a schematic structural diagram of a device for determining lidar point cloud layering provided by an embodiment of the present disclosure;
图17是本公开的实施例提供的一种确定激光雷达点云分层的设备的配置框图。Figure 17 is a configuration block diagram of a device for determining lidar point cloud layering provided by an embodiment of the present disclosure.
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本公开实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本公开。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本公开的描述。In the following description, specific details such as specific system structures and technologies are provided for the purpose of explanation and not limitation, so as to provide a thorough understanding of the embodiments of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the present disclosure with unnecessary detail.
为了更好地理解本公开实施例,首先,通过示例性实施例对相关应用场景进行说明:In order to better understand the embodiments of the present disclosure, first, the relevant application scenarios are described through exemplary embodiments:
激光雷达可以获取指示点在三维空间中的位置(例如,在X、Y和Z平面中的位置)的信息。还可以获取属性信息,例如,颜色属性(例如,RGB值)、纹理属性、强度(Intensity)属性、反射率属性、运动相关属性、模态属性和/或各种其他属性。在一些情况下,可以将附加属性分配给相应点,例如,获取该点时的时间戳。激光雷达获取到的点可以构成“点云”,该“点云”包括各自具有相关联的空间信息和一个或多个相关联的属性的一组点。在一些情况下,点云可以包括数千个点、数十万个点、数百万个点或甚至更多的点。另外,在一些情况下,可以在软件中生成点云。需要说明的是,“点”为“三维点”。LiDAR can obtain information indicating the location of a point in three-dimensional space (for example, its location in the X, Y, and Z planes). Attribute information may also be obtained, such as color attributes (eg, RGB values), texture attributes, intensity attributes, reflectivity attributes, motion-related attributes, modal attributes, and/or various other attributes. In some cases, additional properties can be assigned to the corresponding point, for example, the timestamp when the point was obtained. The points acquired by LiDAR can constitute a "point cloud", which includes a set of points each having associated spatial information and one or more associated attributes. In some cases, a point cloud can include thousands of points, hundreds of thousands of points, millions of points, or even more points. Additionally, in some cases, point clouds can be generated in software. It should be noted that "point" is a "three-dimensional point".
在一个实施例中,微机电系统(MEMS,micro-electro-mechanical system)扫描式激光雷达的激光器为固定连接,光只能沿着相应的角度传播,使得MEMS扫描式激光雷达中的单个激光器往往只具有有限的视场。为了实现激光大视场,甚至全视场覆盖的应用要求,可以在MEMS扫描式激光雷达中配
置多个不同角度的激光器,不同角度的激光器通过小视场拼接的方式扩大MEMS扫描式激光雷达的视场变为大视场。同时,为了防止不同小视场之间具有盲区,影响探测准确性,小视场之间常常具有一定的交叠区域。In one embodiment, the laser of a micro-electro-mechanical system (MEMS) scanning lidar is fixedly connected, and light can only propagate along corresponding angles, so that a single laser in the MEMS scanning lidar often Only has a limited field of view. In order to achieve the application requirements of large laser field of view or even full field of view coverage, MEMS scanning lidar can be equipped with Multiple lasers at different angles are installed, and the lasers at different angles are spliced into small fields of view to expand the field of view of the MEMS scanning lidar into a large field of view. At the same time, in order to prevent blind areas between different small fields of view and affect detection accuracy, there are often certain overlapping areas between small fields of view.
由于雪崩型光电二极管(APD,Avalanche Photo Diode)位移、MEMS行为异常和内部时钟异常等原因会造成交叠区域点云分层的现象。Due to reasons such as avalanche photodiode (APD, Avalanche Photo Diode) displacement, abnormal MEMS behavior, and internal clock abnormalities, the point cloud in the overlapping area will be layered.
产生点云分层现象的根本原因是实际测距与标定好的发射角度不匹配。示例性地,请参见图1,激光雷达O发射出一道激光OP,正常情况下测距值应该为d。但由于上述造成点云分层的原因,测距点发生了变化,从P变为P',测距值也相应从d变为d'。但激光雷达仍会按照预定参数计算,根据异常的测距值和预定参数中对应的发射角度计算得到了错误的三维点P”。若相邻视场中,有一个视场中的点都正常(例如,点P),而另一个视场中的点都如P”,就会产生点云分层现象。请参见图2,为未发生点云分层现象的点云图;请参见图3,为发生点云分层现象的点云图。本公开中,“点云图”也可以理解为“点云”。The fundamental reason for the point cloud layering phenomenon is that the actual ranging does not match the calibrated launch angle. For example, please refer to Figure 1. Lidar O emits a laser OP. Under normal circumstances, the ranging value should be d. However, due to the above reasons for the stratification of the point cloud, the ranging point has changed, from P to P', and the ranging value has correspondingly changed from d to d'. However, the lidar will still be calculated according to the predetermined parameters, and the wrong three-dimensional point P" is calculated based on the abnormal ranging value and the corresponding emission angle in the predetermined parameters. If there is a point in the adjacent field of view that is normal (For example, point P), and the points in another field of view are all like P", a point cloud layering phenomenon will occur. Please refer to Figure 2, which is a point cloud image without point cloud stratification; please refer to Figure 3, which is a point cloud image with point cloud stratification. In this disclosure, “point cloud image” can also be understood as “point cloud”.
为了说明本发明所述的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solution of the present invention, specific examples will be described below.
如图4所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;方法包括:As shown in Figure 4, an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
步骤41、获取激光雷达的点云的第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;Step 41: Obtain the first candidate point of the LiDAR point cloud, where the first candidate point is a point included in the first field of view and located in the overlapping area;
步骤42、获取激光雷达的点云的第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;Step 42: Obtain a second candidate point of the LiDAR point cloud, where the second candidate point is a point included in the second field of view and located in the overlapping area;
步骤43、根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。Step 43: Determine whether the point cloud is stratified according to the comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
本公开实施例提供的确定激光雷达点云分层的方法可以应用于LiDAR中,上述步骤的执行可以是由LiDAR的处理模块完成。但是,本公开实施例提供的确定点云分层的方法不限于应用于LiDAR中,也可以应用于其他各种类型的包含光电探测器或者光电接收电路的光电设备或光电传感器中,在此不做限定。需要说明的是,确定激光雷达点云分层的方法还可以是由激光雷达连接的上位机执行。The method for determining lidar point cloud layering provided by the embodiments of the present disclosure can be applied to LiDAR, and the execution of the above steps can be completed by the processing module of LiDAR. However, the method for determining point cloud layering provided by the embodiments of the present disclosure is not limited to application in LiDAR, and can also be applied to various other types of optoelectronic devices or photoelectric sensors including photodetectors or photoelectric receiving circuits. This is not the case here. Make limitations. It should be noted that the method of determining the lidar point cloud layering can also be performed by a host computer connected to the lidar.
在一个实施例中,激光雷达的点云可以是基于多个视场确定的。视场可以是由三维点构成的(例如,第一备选点和第二备选点都是三维点,三维点可以通过三维坐标或者其他特征信息量化表示)。本公开中,相邻的视场之间存在相互交叠的交叠区域,相互交叠的交叠区域也可以理解为相互重叠的重叠区域。例如,请参见图5,点云包括A视场和B视场,A视场和B视场之间的重叠区域为C区域,则C区域为交叠区域。需要说明的是,每个视场可以与激光雷达的扫描角度范围对应,激光雷达可以划分出不同的扫描角度范围,例如,激光雷达的一个扫描角度范围为30度,则该30度角度范围的扫描区域可以对应一个视场。不同的扫描角度范围可以重合,从而不同的视场也可以重合。需要说明的是,扫描角度可以包括方位角的角度和俯仰角的角度。上述例举中的扫描角度范围可以是方位角的角度范围和/或俯仰角的角度范围,在此不做限定。In one embodiment, the lidar point cloud may be determined based on multiple fields of view. The field of view may be composed of three-dimensional points (for example, the first candidate point and the second candidate point are both three-dimensional points, and the three-dimensional points may be quantitatively represented by three-dimensional coordinates or other feature information). In the present disclosure, there are mutually overlapping overlapping areas between adjacent fields of view, and the mutually overlapping overlapping areas can also be understood as mutually overlapping overlapping areas. For example, see Figure 5. The point cloud includes field of view A and field B. The overlapping area between field of view A and field B is area C, and area C is the overlapping area. It should be noted that each field of view can correspond to the scanning angle range of the lidar, and the lidar can be divided into different scanning angle ranges. For example, if a scanning angle range of the lidar is 30 degrees, then the 30-degree angle range The scanning area can correspond to a field of view. Different scanning angle ranges can overlap, and thus different fields of view can also overlap. It should be noted that the scanning angle may include an azimuth angle and an elevation angle. The scanning angle range in the above example may be an azimuth angle range and/or an elevation angle range, which is not limited here.
在一个实施例中,每个视场都可以通过该视场所包含的三维点构成的一个点集表示。例如,第一视场包括多个三维点,则第一视场中的该多个三维点就可以构成一个点集,如,P1点集,即第一视场可以通过该点集表示。本公开中与第一视场关联的三维点可以是P1点集中的任一三维点。又例如,第二视场包括多个三维点,则第二视场中的该多个三维点就可以构成一个点集,如,P2点集,即第二视场可以通过该点集表示。本公开中与第一视场关联的三维点可以是P2点集中的任一三维点。这里,视场对应的点集可以用于本公开方案的运算实现。在一个实施例中,第一视场和第二视场可以是相邻的视场。需要说明的是,第一视场和第二视场并不特指视场中的某两个视场。可以理解的是,第一视场和第二视场可以为视场中的任意相邻的视场,在此不做限定。In one embodiment, each field of view can be represented by a point set composed of three-dimensional points contained in the field of view. For example, if the first field of view includes multiple three-dimensional points, then the multiple three-dimensional points in the first field of view can constitute a point set, such as the P1 point set, that is, the first field of view can be represented by this point set. The three-dimensional point associated with the first field of view in the present disclosure may be any three-dimensional point in the P1 point set. For another example, if the second field of view includes multiple three-dimensional points, the multiple three-dimensional points in the second field of view can constitute a point set, such as the P2 point set, that is, the second field of view can be represented by this point set. The three-dimensional point associated with the first field of view in the present disclosure may be any three-dimensional point in the P2 point set. Here, the point set corresponding to the visual field can be used for the operation implementation of the disclosed solution. In one embodiment, the first field of view and the second field of view may be adjacent fields of view. It should be noted that the first field of view and the second field of view do not specifically refer to any two fields of view. It can be understood that the first field of view and the second field of view can be any adjacent fields of view in the field of view, and there is no limitation here.
在一个实施例中,预定特征包括以下一种或者多种:In one embodiment, the predetermined characteristics include one or more of the following:
备选点的测距值;The distance measurement value of the alternative point;
备选点的强度;The strength of alternative points;
备选点的法向量。The normal vector of the alternative point.
在一个实施例中,获取第一备选点和第二备选点;按照预定周期,根据第一备选点的预定特征和
第二备选点的预定特征之间的比较结果,周期性确定点云是否发生分层。其中,可以是根据要求的异常响应时延确定预定周期。示例性地,响应于要求的异常响应时延小于时延阈值,确定预定周期小于周期阈值;或者,响应于要求的异常响应时延大于时延阈值,确定预定周期大于周期阈值。如此,预定周期可以适应于要求的异常响应时延。In one embodiment, the first candidate point and the second candidate point are obtained; according to a predetermined period, according to the predetermined characteristics of the first candidate point and The comparison results between the predetermined characteristics of the second candidate point periodically determine whether the point cloud is stratified. The predetermined period may be determined based on the required abnormal response delay. For example, in response to the required abnormal response delay being less than the delay threshold, it is determined that the predetermined period is less than the period threshold; or in response to the required abnormal response delay being greater than the delay threshold, it is determined that the predetermined period is greater than the period threshold. In this way, the predetermined period can be adapted to the required exception response delay.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。响应于确定点云发生分层,确定激光雷达出现以下至少之一的异常:激光器的位移、光电探测器的位移、MEMS行为异常和内部时钟异常。如此,在确定点云发生分层后,可以及时进行异常处置,提升激光雷达工作的可靠性。示例性地,响应于确定点云发生分层,输出激光雷达出现上述异常的提示信息。需要说明的是,光电探测器可以是APD或者单光子雪崩二极管(SPAD,Single Photon Avalanche Diode)等。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point, it is determined whether the point cloud is stratified. In response to determining that the point cloud is stratified, it is determined that the lidar has at least one of the following abnormalities: displacement of the laser, displacement of the photodetector, abnormal MEMS behavior, and abnormal internal clock. In this way, after it is determined that the point cloud is stratified, abnormal processing can be carried out in time to improve the reliability of lidar work. For example, in response to determining that the point cloud is stratified, prompt information indicating that the above-mentioned abnormality occurs in the lidar is output. It should be noted that the photodetector can be an APD or a single photon avalanche diode (SPAD, Single Photon Avalanche Diode), etc.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的单个预定特征和第二备选点的单个预定特征之间的比较结果,确定点云是否发生分层。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison result between a single predetermined feature of the first candidate point and a single predetermined feature of the second candidate point, it is determined whether the point cloud is stratified.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的测距值和第二备选点的测距值之间的比较结果,确定点云是否发生分层。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison result between the ranging value of the first candidate point and the ranging value of the second candidate point, it is determined whether the point cloud is stratified.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的测距值的均值和第二备选点的测距值的均值之间的差值,确定点云是否发生分层。示例性地,响应于该差值在第一阈值范围内,确定点云未发生分层;或者,响应于该差值在第一阈值范围外,确定点云发生分层。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the difference between the mean value of the distance measurement value of the first candidate point and the mean value of the range measurement value of the second candidate point, determine whether the point cloud Delamination occurs. For example, in response to the difference being within the first threshold range, it is determined that the point cloud is not stratified; or in response to the difference being outside the first threshold range, it is determined that the point cloud is stratified.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的测距值的均值和第二备选点的测距值的均值之间的差值,以及根据第一备选点的测距值的标准差和第二备选点的测距值的标准差之间的差值,确定点云是否发生分层。示例性地,响应于该两个差值均在预定范围内(例如,均值的差值在第一阈值范围内,标准差的差值在第二阈值范围内),确定点云未发生分层;或者,响应于该两个差值均在预定范围外,确定点云发生分层,或者,响应于该两个差值中的一个在预定范围外,确定点云发生分层。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; the difference between the mean value of the ranging values according to the first candidate point and the mean value of the ranging values of the second candidate point, and according to the first The difference between the standard deviation of the ranging value of the candidate point and the standard deviation of the ranging value of the second candidate point determines whether the point cloud is stratified. Exemplarily, in response to the two differences being within a predetermined range (for example, the difference between the mean is within the first threshold range, and the difference between the standard deviation is within the second threshold range), it is determined that the point cloud is not stratified. ; Or, in response to both the difference values being outside the predetermined range, it is determined that the point cloud is stratified, or in response to one of the two difference values being outside the predetermined range, it is determined that the point cloud is stratified.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;响应于所有第一备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围内,确定点云未发生分层,其中,最近邻点为从第二视场的第二备选点中确定出的与第一视场中每个第一备选点之间的距离最近的点。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; in response to the mean value of the difference between the intensity of all first candidate points and the intensity of the nearest neighbor point being within the third threshold range, it is determined that the point cloud has not Stratification occurs where the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;响应于所有第一备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围外,确定点云发生分层,其中,最近邻点为从第二视场的第二备选点中确定出的与第一视场中每个第一备选点之间的距离最近的点。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; in response to the mean value of the difference between the intensity of all first candidate points and the intensity of the nearest neighbor point being outside the third threshold range, it is determined that the point cloud occurs Hierarchical, wherein the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的第一法向量和第二备选点的第二法向量之间的夹角,确定点云是否发生分层。示例性地,响应于基于第一备选点确定的第一法向量和基于第二备选点确定的第二法向量之间的夹角在第四阈值范围内,确定点云未发生分层。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the angle between the first normal vector of the first candidate point and the second normal vector of the second candidate point, determine whether the point cloud is divided. layer. Exemplarily, in response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being within a fourth threshold range, it is determined that the point cloud is not delaminated. .
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的第一法向量和第二备选点的第二法向量之间的夹角,确定点云是否发生分层。示例性地,响应于基于第一备选点确定的第一法向量和基于第二备选点确定的第二法向量之间的夹角在第四阈值范围外,确定点云发生分层。
In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the angle between the first normal vector of the first candidate point and the second normal vector of the second candidate point, determine whether the point cloud is divided. layer. Exemplarily, in response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being outside a fourth threshold range, it is determined that the point cloud is stratified.
在一个实施例中,获取第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的多个预定特征和第二备选点的多个预定特征之间的比较结果,确定点云是否发生分层。其中,多个预定特征包括以下多种:备选点的测距值;备选点的强度;备选点的法向量。这里,基于多个预定特征之间的比较结果,确定点云是否发生分层,可以提升确定点云是否发生分层的准确性。In one embodiment, a first candidate point is obtained, wherein the first candidate point is a point included in the first field of view and located in an overlapping area; a second candidate point is obtained, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison results between the multiple predetermined features of the first candidate point and the multiple predetermined features of the second candidate point, it is determined whether the point cloud is divided. layer. Among them, the plurality of predetermined features include the following: the distance measurement value of the candidate point; the intensity of the candidate point; and the normal vector of the candidate point. Here, determining whether the point cloud is delaminated based on the comparison results between multiple predetermined features can improve the accuracy of determining whether the point cloud is delaminated.
本公开实施例提供的技术方案与现有技术相比存在的有益效果是:可以根据包含于第一视场且位于交叠区域中的第一备选点的预定特征,以及包含于第二视场且位于交叠区域中的第二备选点的预定特征,获得预定特征之间的比较结果,并基于比较结果确定点云是否发生分层。相较于利用人眼确定点云分层的方式,准确率更高,且在确定点云发生分层后就可以及时对激光雷达的异常进行处置,能够提升激光雷达工作的可靠性,减少与激光雷达关联业务的安全隐患。The technical solution provided by the embodiments of the present disclosure has a beneficial effect compared with the existing technology: it can be based on the predetermined characteristics of the first candidate point included in the first field of view and located in the overlapping area, and the predetermined characteristics of the first candidate point included in the second field of view. predetermined features of the second candidate point located in the overlapping area, obtain a comparison result between the predetermined features, and determine whether the point cloud is stratified based on the comparison result. Compared with the method of using the human eye to determine the point cloud layering, the accuracy is higher, and after determining that the point cloud is layered, lidar anomalies can be dealt with in a timely manner, which can improve the reliability of lidar work and reduce problems with Safety hazards in lidar-related businesses.
需要说明的是,本领域内技术人员可以理解,本公开实施例提供的方法,可以被单独执行,也可以与本公开实施例中一些方法或相关技术中的一些方法一起被执行。It should be noted that those skilled in the art can understand that the methods provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
如图6所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;方法包括:As shown in Figure 6, an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
步骤61、响应于确定点云发生分层,确定激光雷达出现以下至少之一的异常:激光器的位移、光电探测器的位移、MEMS行为异常和内部时钟异常。Step 61: In response to determining that the point cloud is stratified, it is determined that the lidar has at least one of the following abnormalities: displacement of the laser, displacement of the photodetector, abnormal MEMS behavior, and abnormal internal clock.
在一个实施例中,获取激光雷达的点云的第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取激光雷达的点云的第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。响应于确定n帧点云中的m帧点云发生分层,确定激光雷达出现以下至少之一的异常:激光器的位移、光电探测器的位移、MEMS行为异常和内部时钟异常。如此,在确定点云发生分层后,可以及时进行异常处置,提升激光雷达工作的可靠性。这里,n和m为正整数,m和n的比值大于预定阈值。在一个实施例中,响应于异常处置的要求准确率大于准确率阈值,确定预定阈值大于参考值;或者,响应于异常处置的要求准确率小于准确率阈值,确定预定阈值小于参考值。In one embodiment, the first candidate point of the point cloud of the lidar is obtained, where the first candidate point is a point included in the first field of view and located in the overlapping area; and the first candidate point of the point cloud of the lidar is obtained. Two candidate points, wherein the second candidate point is a point included in the second field of view and located in the overlapping area; based on the comparison between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point As a result, it is determined whether the point cloud is delaminated. In response to determining that the m frame point clouds in the n frame point clouds are stratified, it is determined that the lidar has at least one of the following abnormalities: displacement of the laser, displacement of the photodetector, abnormal MEMS behavior, and abnormal internal clock. In this way, after it is determined that the point cloud is stratified, abnormal processing can be carried out in time to improve the reliability of lidar work. Here, n and m are positive integers, and the ratio of m and n is greater than a predetermined threshold. In one embodiment, in response to the required accuracy of abnormal handling being greater than the accuracy threshold, it is determined that the predetermined threshold is greater than the reference value; or in response to the required accuracy of abnormal handling being less than the accuracy threshold, it is determined that the predetermined threshold is less than the reference value.
需要说明的是,本领域内技术人员可以理解,本公开实施例提供的方法,可以被单独执行,也可以与本公开实施例中一些方法或相关技术中的一些方法一起被执行。It should be noted that those skilled in the art can understand that the methods provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
如图7所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;当预定特征包括备选点的测距值时,方法包括:As shown in Figure 7, the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. Area; when the predetermined features include ranging values of candidate points, the method includes:
步骤71、响应于第一备选点的测距值的均值和第二备选点的测距值的均值之间的差值在第一阈值范围内,确定点云未发生分层;Step 71: In response to the difference between the mean value of the ranging value of the first candidate point and the mean value of the ranging value of the second candidate point being within the first threshold range, it is determined that the point cloud is not stratified;
和/或,and / or,
响应于第一备选点的测距值的均值和第二备选点的测距值的均值之间的差值在第一阈值范围外,确定点云发生分层。In response to the difference between the mean value of the ranging values of the first candidate point and the mean value of the ranging values of the second candidate point being outside the first threshold range, it is determined that the point cloud is stratified.
在一个实施例中,响应于第一备选点的测距值的均值和第二备选点的测距值的均值之间的差值在第一阈值范围内,且第一备选点的测距值的标准差和第二备选点的测距值的标准差之间的差值在第二阈值范围内,确定点云未发生分层。In one embodiment, in response to a difference between the mean value of the ranging values of the first candidate point and the mean value of the ranging values of the second candidate point being within a first threshold range, and the value of the mean value of the ranging value of the first candidate point If the difference between the standard deviation of the ranging value and the standard deviation of the ranging value of the second candidate point is within the second threshold range, it is determined that the point cloud is not stratified.
本公开实施例中步骤71部分的的具体说明,请参见步骤41、步骤42和步骤43部分的描述,在此不再赘述。For specific description of step 71 in the embodiment of the present disclosure, please refer to the description of step 41, step 42 and step 43, which will not be described again here.
需要说明的是,本领域内技术人员可以理解,本公开实施例提供的方法,可以被单独执行,也可以与本公开实施例中一些方法或相关技术中的一些方法一起被执行。It should be noted that those skilled in the art can understand that the methods provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
如图8所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;当预定特征包括备选点的强度时,方法包括:As shown in Figure 8, an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. Area; when the predetermined characteristics include the intensity of candidate points, the method includes:
步骤81、响应于所有第一备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围内,确定点云未发生分层,其中,最近邻点为从第二视场的第二备选点中确定出的与第一视场中每个第一备选点之间的距离最近的点;Step 81: In response to the mean value of the difference between the intensity of all first candidate points and the intensity of the nearest neighbor point being within the third threshold range, determine that the point cloud has not been stratified, where the nearest neighbor point is from the second The point closest to each first candidate point in the first field of view determined among the second candidate points in the field of view;
和/或,and / or,
响应于所有第一备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围外,确定点云
发生分层,其中,最近邻点为从第二视场的第二备选点中确定出的与第一视场中每个第一备选点之间的距离最近的点;Determining the point cloud in response to a mean of differences between the intensities of all first candidate points and the intensities of nearest neighbor points being outside a third threshold range Stratification occurs, wherein the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view;
和/或,and / or,
响应于所有第二备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围内,确定点云未发生分层,其中,最近邻点为从第一视场的第一备选点中确定出的与第二视场中每个第二备选点之间的距离最近的点;In response to the mean of the differences between the intensities of all second candidate points and the intensities of the nearest neighbor points being within the third threshold range, it is determined that the point cloud is not stratified, wherein the nearest neighbor points are from the first field of view. The point closest to the determined distance between the first candidate point and each second candidate point in the second field of view;
和/或,and / or,
响应于所有第二备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围外,确定点云发生分层,其中,最近邻点为从第一视场的第一备选点中确定出的与第二视场中每个第二备选点之间的距离最近的点。In response to the mean value of the difference between the intensities of all second candidate points and the intensity of the nearest neighbor point being outside the third threshold range, it is determined that the point cloud is stratified, wherein the nearest neighbor point is the third point from the first field of view. The point closest to each second candidate point in the second field of view is determined among the candidate points.
本公开实施例中步骤81部分的的具体说明,请参见步骤41、步骤42和步骤43部分的描述,在此不再赘述。For specific description of step 81 in the embodiment of the present disclosure, please refer to the description of step 41, step 42 and step 43, which will not be described again here.
需要说明的是,本领域内技术人员可以理解,本公开实施例提供的方法,可以被单独执行,也可以与本公开实施例中一些方法或相关技术中的一些方法一起被执行。It should be noted that those skilled in the art can understand that the methods provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
如图9所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;当预定特征包括备选点的法向量时,方法包括:As shown in Figure 9, the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. Area; when the predetermined feature includes the normal vector of the candidate point, the method includes:
步骤91、响应于基于第一备选点确定的第一法向量和基于第二备选点确定的第二法向量之间的夹角在第四阈值范围内,确定点云未发生分层;Step 91: In response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being within the fourth threshold range, it is determined that the point cloud is not stratified;
和/或,and / or,
响应于基于第一备选点确定的第一法向量和基于第二备选点确定的第二法向量之间的夹角在第四阈值范围外,确定点云发生分层。In response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being outside the fourth threshold range, it is determined that the point cloud is stratified.
本公开实施例中步骤91部分的的具体说明,请参见步骤41和步骤42和步骤43部分的描述,在此不再赘述。For the specific description of step 91 in the embodiment of the present disclosure, please refer to the description of step 41, step 42, and step 43, which will not be described again here.
需要说明的是,本领域内技术人员可以理解,本公开实施例提供的方法,可以被单独执行,也可以与本公开实施例中一些方法或相关技术中的一些方法一起被执行。It should be noted that those skilled in the art can understand that the methods provided by the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
如图10所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;方法包括:As shown in Figure 10, an embodiment of the present disclosure provides a method for determining the layering of a lidar point cloud. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
步骤101、响应于M帧点云中的N帧点云的比较结果为预定比较结果,确定点云发生分层,其中,M和N为大于0的整数,M≥N。Step 101: In response to the comparison result of the N frame point clouds in the M frame point cloud being a predetermined comparison result, it is determined that the point cloud is stratified, where M and N are integers greater than 0, and M≥N.
在一个实施例中,获取激光雷达的点云的第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取激光雷达的点云的第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。示例性地,响应于M帧点云中的N帧点云的比较结果为预定比较结果,确定点云发生分层,其中,M和N为大于0的整数,M≥N。In one embodiment, the first candidate point of the point cloud of the lidar is obtained, where the first candidate point is a point included in the first field of view and located in the overlapping area; and the first candidate point of the point cloud of the lidar is obtained. Two alternative points, wherein the second alternative point is a point included in the second field of view and located in the overlapping area; based on the comparison between the predetermined characteristics of the first alternative point and the predetermined characteristics of the second alternative point As a result, it is determined whether the point cloud is delaminated. For example, in response to the comparison result of the N frame point clouds in the M frame point cloud being a predetermined comparison result, it is determined that the point cloud is stratified, where M and N are integers greater than 0, and M≥N.
在一个实施例中,响应于M帧点云中的N帧点云的第一备选点的测距值的均值和第二备选点的测距值的均值之间的差值在第一阈值范围内,确定比较结果不为预定比较结果。In one embodiment, in response to the difference between the average of the ranging values of the first candidate points and the average of the ranging values of the second candidate points in the N frame point clouds in the M frame point clouds, the first Within the threshold range, it is determined that the comparison result is not the predetermined comparison result.
在一个实施例中,响应于M帧点云中的N帧点云的第一备选点的测距值的均值和第二备选点的测距值的均值之间的差值在第一阈值范围外,确定比较结果为预定比较结果。In one embodiment, in response to the difference between the average of the ranging values of the first candidate points and the average of the ranging values of the second candidate points in the N frame point clouds in the M frame point clouds, the first If the value is outside the threshold range, the comparison result is determined to be the predetermined comparison result.
在一个实施例中,响应于M帧点云中的N帧点云的每个第一备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围内,确定比较结果不为预定比较结果,其中,最近邻点为从第二视场的第二备选点中确定出的与第一视场中每个第一备选点之间的距离最近的点。In one embodiment, in response to a mean value of the difference between the intensity of each first candidate point and the intensity of the nearest neighbor point of the N frame point clouds in the M frame point cloud being within a third threshold range, determining the comparison The result is not a predetermined comparison result, wherein the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
在一个实施例中,响应于M帧点云中的N帧点云的每个第一备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围外,确定比较结果为预定比较结果,其中,最近邻点为从第二视场的第二备选点中确定出的与第一视场中每个第一备选点之间的距离最近的点。In one embodiment, in response to a mean value of the difference between the intensity of each first candidate point and the intensity of the nearest neighbor point of the N frame point clouds in the M frame point cloud being outside a third threshold range, determining the comparison The result is a predetermined comparison result, wherein the nearest neighbor point is the point determined from the second candidate points in the second field of view that is closest to each first candidate point in the first field of view.
在一个实施例中,响应于M帧点云中的N帧点云的每个第二备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围内,确定比较结果不为预定比较结果,其中,最近邻点为从第一视场的第一备选点中确定出的与第二视场中每个第二备选点之间的距离最近的点。
In one embodiment, in response to a mean value of the difference between the intensity of each second candidate point and the intensity of the nearest neighbor point of the N frame point clouds in the M frame point cloud being within a third threshold range, determining the comparison The result is not a predetermined comparison result, wherein the nearest neighbor point is the point determined from the first candidate points in the first field of view that is closest to each second candidate point in the second field of view.
在一个实施例中,响应于M帧点云中的N帧点云的每个第二备选点的强度与最近邻点的强度之间的差值的均值在第三阈值范围外,确定比较结果为预定比较结果,其中,最近邻点为从第一视场的第一备选点中确定出的与第二视场中每个第二备选点之间的距离最近的点。In one embodiment, in response to a mean value of the difference between the intensity of each second candidate point and the intensity of the nearest neighbor point of the N frame point clouds in the M frame point cloud being outside a third threshold range, determining the comparison The result is a predetermined comparison result, in which the nearest neighbor point is the point determined from the first candidate points in the first field of view that is closest to each second candidate point in the second field of view.
在一个实施例中,响应于M帧点云中的N帧点云的响应于基于第一备选点确定的第一法向量和基于第二备选点确定的第二法向量之间的夹角在第四阈值范围内,确定比较结果不为预定比较结果。In one embodiment, in response to the N frame point cloud in the M frame point cloud, the response is between a first normal vector determined based on the first candidate point and a second normal vector determined based on the second candidate point. The angle is within the fourth threshold range, and it is determined that the comparison result is not the predetermined comparison result.
在一个实施例中,响应于M帧点云中的N帧点云的响应于基于第一备选点确定的第一法向量和基于第二备选点确定的第二法向量之间的夹角在阈值范围外,确定点云发生分层,确定比较结果为预定比较结果。In one embodiment, in response to the N frame point cloud in the M frame point cloud, the response is between a first normal vector determined based on the first candidate point and a second normal vector determined based on the second candidate point. If the angle is outside the threshold range, it is determined that the point cloud is stratified, and the comparison result is determined to be the predetermined comparison result.
需要说明的是,本领域内技术人员可以理解,本公开实施例提供的方法,可以被单独执行,也可以与本公开实施例中一些方法或相关技术中的一些方法一起被执行。It should be noted that those skilled in the art can understand that the methods provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
如图11所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;方法包括:As shown in Figure 11, the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
步骤111、根据激光雷达的标定角度及固定距离生成参考点云;Step 111. Generate a reference point cloud based on the calibration angle and fixed distance of the lidar;
步骤112、在参考点云中确定第一视场中的第一最近邻点;将第二视场中的点与第一最近邻点之间的距离在预定范围内的点确定为第二参考点,其中,第一最近邻点为从第一视场中的点中确定出的与第二视场中每个点之间的距离最近的点;Step 112: Determine the first nearest neighbor point in the first field of view in the reference point cloud; determine a point whose distance between the point in the second field of view and the first nearest neighbor point is within a predetermined range as the second reference points, wherein the first nearest neighbor point is the point closest to each point in the second field of view determined from the points in the first field of view;
在参考点云中确定第二视场中的第二最近邻点;将第一视场中的点与第二最近邻点之间的距离在预定范围内的点确定为第一参考点,其中,第二最近邻点为从第二视场中的点中确定出的与第一视场中每个点之间的距离最近的点;Determine the second nearest neighbor point in the second field of view in the reference point cloud; determine a point whose distance between the point in the first field of view and the second nearest neighbor point is within a predetermined range as the first reference point, where , the second nearest neighbor point is the point closest to each point in the first field of view determined from the points in the second field of view;
或者,在参考点云中根据交叠区域的边界拟合函数,确定第一参考点和第二参考点。Alternatively, the first reference point and the second reference point are determined according to the boundary fitting function of the overlapping area in the reference point cloud.
在一些实施例中,标定角度是激光雷达的标定文件中指示的标定信息,而固定距离是根据应用场景设置的距离。In some embodiments, the calibration angle is the calibration information indicated in the calibration file of the lidar, and the fixed distance is the distance set according to the application scenario.
需要说明的是,标定信息可以是激光雷达出厂时激光雷达工作在实际工作状态下的参数的信息;标定信息可以至少包含扫描角度信息。根据扫描角度信息和预定距离(distance)可以生成参考点云。参考点云也可以被称为辅助点云。It should be noted that the calibration information may be information about the parameters of the lidar under actual working conditions when the lidar leaves the factory; the calibration information may at least include scanning angle information. A reference point cloud can be generated based on the scan angle information and a predetermined distance. The reference point cloud may also be called an auxiliary point cloud.
在一个实施例中,根据激光雷达的标定角度及固定距离生成参考点云;在参考点云中确定第一视场中的第一最近邻点;将第二视场中的点与第一最近邻点之间的距离在预定范围内的点确定为第二参考点,其中,第一最近邻点为从第一视场中的点中确定出的与第二视场中每个点之间的距离最近的点;在参考点云中确定第二视场中的第二最近邻点;将第一视场中的点与第二最近邻点之间的距离在预定范围内的点确定为第一参考点,其中,第二最近邻点为从第二视场中的点中确定出的与第一视场中每个点之间的距离最近的点;基于第一参考点和第二参考点的序号确定第一备选点和第二备选点。根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。In one embodiment, a reference point cloud is generated based on the calibration angle and fixed distance of the lidar; the first nearest neighbor point in the first field of view is determined in the reference point cloud; and the point in the second field of view is compared with the first nearest point cloud. A point whose distance between adjacent points is within a predetermined range is determined as the second reference point, wherein the first nearest neighbor point is determined from the points in the first field of view and each point in the second field of view. the closest point to A first reference point, wherein the second nearest neighbor point is the point closest to each point in the first field of view determined from the points in the second field of view; based on the first reference point and the second The serial number of the reference point determines the first candidate point and the second candidate point. It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
需要说明的是,视场中的点可以都对应唯一的序号,以实现快速的遍历运算。本公开中,在确定出第一参考点和第二参考点后,可以确定第一参考点和第二参考点的序号,如此,在确定序号后,就可以快速基于序号确定第一备选点和第二备选点。It should be noted that points in the field of view can all correspond to unique serial numbers to achieve fast traversal operations. In the present disclosure, after the first reference point and the second reference point are determined, the serial numbers of the first reference point and the second reference point can be determined. In this way, after the serial numbers are determined, the first candidate point can be quickly determined based on the serial numbers. and a second alternative point.
在一个实施例中,可以是根据标定信息(包含扫描角度信息)以及预定距离生成单帧参考点云;遍历视场A中的三维点,利用KD-Tree在相邻视场B中搜索与A视场中每个三维点的一个最邻近的最近邻点;如果该视场A中的三维点与该最近邻点之间的欧式距离小于预定值,则可以确定该视场A中的三维点位于不同视场的交叠区域,为用于确定备选点的参考点。例如,请参见图12,以视场A左上角三维点P1和右上角三维点P2为例进行说明,分别计算P1和P2到视场B中最近邻点的欧氏距离,如果P1到B中最近邻点的距离远大于设定的阈值X(例如,0.02米)。则P1不属于A视场和B视场的交叠区域,如果P2点到视场B中最近邻点的距离在阈值范围内,则P2属于A视场和B视场的交叠区域,为用于确定备选点的参考点。需要说明的是,上述示例中,若A为第一视场,则B为第二视场,对应的最近邻点为第二最近邻点,对应的参考点为第一参考点;若A为第二视场,则B为第一视场,对应的最近邻点为第一最近邻点,对应的参考点为第二参考点。In one embodiment, a single frame reference point cloud can be generated based on the calibration information (including scanning angle information) and a predetermined distance; traverse the three-dimensional points in the field of view A, and use KD-Tree to search in the adjacent field of view B with A A nearest neighbor point of each three-dimensional point in the field of view; if the Euclidean distance between the three-dimensional point in the field of view A and the nearest neighbor point is less than a predetermined value, the three-dimensional point in the field of view A can be determined The overlapping areas located in different fields of view are the reference points used to determine candidate points. For example, please refer to Figure 12. Taking the three-dimensional point P1 in the upper left corner of the field of view A and the three-dimensional point P2 in the upper right corner as an example, calculate the Euclidean distances from P1 and P2 to the nearest neighbor point in the field of view B. If P1 is in B The distance of the nearest neighbor point is much greater than the set threshold X (for example, 0.02 meters). Then P1 does not belong to the overlapping area of field of view A and field of view B. If the distance from point P2 to the nearest neighbor point in field of view B is within the threshold range, then P2 belongs to the overlapping area of field of view A and field of view B, as The reference point used to determine alternative points. It should be noted that in the above example, if A is the first field of view, B is the second field of view, the corresponding nearest neighbor point is the second nearest neighbor point, and the corresponding reference point is the first reference point; if A is The second field of view, then B is the first field of view, the corresponding nearest neighbor point is the first nearest neighbor point, and the corresponding reference point is the second reference point.
在一个实施例中,根据激光雷达的标定角度及固定距离生成参考点云;根据交叠区域的边界拟合函数,从参考点云中确定出第一参考点和第二参考点。基于第一参考点和第二参考点的序号确定第一
备选点和第二备选点。根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。In one embodiment, a reference point cloud is generated based on the calibration angle and fixed distance of the lidar; the first reference point and the second reference point are determined from the reference point cloud based on the boundary fitting function of the overlapping area. The first reference point is determined based on the serial numbers of the first reference point and the second reference point. Alternative point and second alternative point. It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
在一个实施例中,可以是根据标定信息生成单帧参考点云(或者辅助点云),其中,参考点云包含多个视场;由于每个视场的边缘点号(可以是视场边界的点的序号)在激光雷达出厂标定时已经确定,因此,可以根据基于标定信息确定的边缘点号确定每个视场的边缘点,根据边缘点的信息可以拟合出不同视场的一组边界曲线的方程组,如此,将视场中每个点的坐标代入该方程组,即可确定该点是否属于不同视场的交叠区域。如果该点属于交叠区域,就为参考点。这样,就可以确定出交叠区域中参考点的序号。该序号可以用于快速确定第一备选点和第二备选点。需要说明的是,如果边界拟合函数对应为第一视场,则参考点为第一参考点;或者,如果边界拟合函数对应为第二视场,则参考点为第二参考点。In one embodiment, a single-frame reference point cloud (or auxiliary point cloud) may be generated based on the calibration information, where the reference point cloud contains multiple fields of view; since the edge point number of each field of view (which may be the boundary of the field of view) The point number) has been determined when the lidar is calibrated at the factory. Therefore, the edge points of each field of view can be determined based on the edge point numbers determined based on the calibration information. A set of different fields of view can be fitted based on the information of the edge points. The system of equations of the boundary curve, so that by substituting the coordinates of each point in the field of view into the system of equations, it can be determined whether the point belongs to the overlapping area of different fields of view. If the point belongs to the overlapping area, it is the reference point. In this way, the serial number of the reference point in the overlapping area can be determined. This serial number can be used to quickly determine the first alternative point and the second alternative point. It should be noted that if the boundary fitting function corresponds to the first field of view, the reference point is the first reference point; or, if the boundary fitting function corresponds to the second field of view, the reference point is the second reference point.
在一个实施例中,每个视场的上、下、左和右四个边界曲线都可以采用三次函数来进行拟合。示例性地,该三次函数可以是:Ax3+Bx2+Cx+D=0。如此,通过不同视场的多个三次函数确定的三次函数方程组就可以确定第一参考点或者第二参考点。In one embodiment, the upper, lower, left and right boundary curves of each field of view can be fitted using a cubic function. For example, the cubic function may be: Ax3+Bx2+Cx+D=0. In this way, the first reference point or the second reference point can be determined through a cubic function equation set determined by multiple cubic functions in different fields of view.
需要说明的是,本领域内技术人员可以理解,本公开实施例提供的方法,可以被单独执行,也可以与本公开实施例中一些方法或相关技术中的一些方法一起被执行。It should be noted that those skilled in the art can understand that the methods provided in the embodiments of the present disclosure can be executed alone or together with some methods in the embodiments of the present disclosure or some methods in related technologies.
如图13所示,本公开实施例提供一种确定激光雷达点云分层的方法,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;方法包括:As shown in Figure 13, the embodiment of the present disclosure provides a method for determining the layering of lidar point clouds. The lidar includes a first field of view and a second field of view, and there is overlap between the first field of view and the second field of view. area; methods include:
步骤131、获取感兴趣区域ROI,在ROI中确定出第一参考点和第二参考点。Step 131: Obtain the region of interest ROI, and determine the first reference point and the second reference point in the ROI.
在一个实施例中,可以是根据激光雷达的发射角度确定感兴趣区域(ROI,Region of Interest),仅在该ROI确定第一参考点和第二参考点。示例性地,ROI为水平发射角度在B视场Azimuth方位角的最小值到A视场Azimuth方位角的最大值之间的区域,则可以基于该ROI确定A视场和B视场的交叠区域中的三维点的水平发射角度在B视场Azimuth方位角的最小值到A视场Azimuth方位角的最大值之间。基于步骤112的方法,只需要遍历ROI中的点云,来确定第一参考点和第二参考点。通过该方式,可以减少计算量,因此可以加速确定出第一参考点和第二参考点。In one embodiment, the region of interest (ROI, Region of Interest) may be determined based on the emission angle of the lidar, and the first reference point and the second reference point are determined only in the ROI. For example, the ROI is the area where the horizontal emission angle is between the minimum value of the Azimuth azimuth angle of the B field of view and the maximum value of the Azimuth azimuth angle of the A field of view, then the overlap of the A field of view and the B field of view can be determined based on this ROI The horizontal emission angle of the three-dimensional point in the area is between the minimum value of the Azimuth azimuth angle of the B field of view and the maximum value of the Azimuth azimuth angle of the A field of view. Based on the method of step 112, it is only necessary to traverse the point cloud in the ROI to determine the first reference point and the second reference point. In this way, the amount of calculation can be reduced, and therefore the determination of the first reference point and the second reference point can be accelerated.
在一个实施例中,获取感兴趣区域ROI,在ROI中确定出第一参考点和第二参考点。基于第一参考点和第二参考点的序号确定第一备选点和第二备选点。根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。In one embodiment, a region of interest ROI is obtained, and a first reference point and a second reference point are determined in the ROI. The first candidate point and the second candidate point are determined based on the serial numbers of the first reference point and the second reference point. It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
为了更好地理解本公开实施例,以下通过一个示例性实施例对本公开实施例进行进一步说明:In order to better understand the embodiments of the present disclosure, the following further describes the embodiments of the present disclosure through an exemplary embodiment:
请参见图14,本示例提供一种确定激光雷达点云分层的方法,包括:See Figure 14. This example provides a method to determine the layering of lidar point clouds, including:
步骤a1:根据激光激光雷达出厂标定文件(例如,角度标定文件)和固定距离,确定每两个视场交叠区域分别属于两个视场的点集的所有三维点。其中,每个三维点都对应一个序号。示例性地,可以是根据角度标定文件,根据固定距离生成一帧参考点云,遍历该某个视场点云,利用KD-Tree在相邻视场搜索每个三维点的一个最近邻点,判断该三维点到相邻视场中最近邻点的欧式距离小于设定阈值则认为该点属于视场交叠区域。请再次参图12,以视场A左上角三维点P1和右上角三维点P2为例,分别计算P1和P2到视场B中最近邻点的欧氏距离,显然P1到B中最近邻的距离远大于我们设定的阈值0.02米,因此P1不属于AB视场交叠区点,而P2点到B中最近邻点的距离在阈值范围内,因此P2属于AB视场交叠区点集,该点集包含的点为参考点(例如,第一参考点或者第二参考点),该参考点都对应有一个序号。需要说明的是,步骤a1只用在激光激光雷达上电或检测算法起始时执行一次即可,为了加速搜索可以先根据发射角度确定一个ROI。示例性地,A视场和B视场交叠区的点水平发射角度在B视场Azimuth方位角最小值到A视场Azimuth方位角最大值之间。然后,只在在ROI中确定出参考点。Step a1: Based on the laser lidar factory calibration file (for example, angle calibration file) and the fixed distance, determine all three-dimensional points belonging to the point sets of the two fields of view in each overlapping area of the two fields of view. Among them, each three-dimensional point corresponds to a serial number. For example, you can generate a frame of reference point cloud based on the angle calibration file and a fixed distance, traverse the point cloud of a certain field of view, and use KD-Tree to search for the nearest neighbor point of each three-dimensional point in the adjacent field of view. If the Euclidean distance between the three-dimensional point and the nearest neighbor point in the adjacent field of view is less than the set threshold, the point is considered to belong to the overlapping field of view area. Please refer to Figure 12 again. Taking the three-dimensional point P1 in the upper left corner of the field of view A and the three-dimensional point P2 in the upper right corner as an example, calculate the Euclidean distances from P1 and P2 to the nearest neighbor point in the field of view B. Obviously, the distance from P1 to the nearest neighbor in B is The distance is much greater than the threshold 0.02 meters we set, so P1 does not belong to the AB field of view overlap area point, and the distance from point P2 to the nearest neighbor point in B is within the threshold range, so P2 belongs to the AB field of view overlap area point set , the points included in this point set are reference points (for example, the first reference point or the second reference point), and each reference point corresponds to a sequence number. It should be noted that step a1 only needs to be executed once when the laser lidar is powered on or the detection algorithm is started. In order to speed up the search, an ROI can first be determined based on the emission angle. For example, the point horizontal emission angle of the overlap area of the A field of view and the B field of view is between the minimum Azimuth azimuth angle of the B field of view and the maximum Azimuth azimuth angle of the A field of view. Then, determine the reference point only in the ROI.
步骤a2:在激光激光雷达正常使用过程中,计算每个交叠区分别属于两个视场的点集P1和P2的特征值。以图15为例,主要的交叠区一共有10个,如图15所示。以编号为①的视场交叠区域为例,该交叠区域上视场点集为P1,下视场点集为P2,统计该交叠区域分属两个视场的两个点集P1和P2中距离值(这里,可以是在排序后,删除最大和最小各10%数量的距离值)的均值和/或标准差作为特征值A。需要说明的是,还可以利用的特征值还有强度(特征值B)以及点云的法向量(特征值C)等。
Step a2: During the normal use of the laser lidar, calculate the eigenvalues of the point sets P1 and P2 belonging to the two fields of view in each overlapping area. Taking Figure 15 as an example, there are a total of 10 main overlapping areas, as shown in Figure 15. Take the field of view overlapping area numbered ① as an example. The upper field of view point set in this overlapping area is P1, and the lower field of view point set is P2. The statistics of the two point sets P1 belonging to the two fields of view in this overlapping area are And the mean and/or standard deviation of the distance values in P2 (here, after sorting, delete the largest and smallest 10% of the distance values) as the feature value A. It should be noted that the eigenvalues that can also be used include intensity (eigenvalue B) and the normal vector of the point cloud (eigenvalue C).
步骤a3:根据特征值判断单帧点云是否发生分层。可以根据单个特征值进行判断,以特征值A为例,若某个交叠区域两组点集P1,P2的距离值均值的差值与标准差的差值均在设定阈值内,则认为该交叠区没有发生分层现象,否则判断该帧的该交叠区发生了分层现象(离散程度相近,但均值相差较大)。Step a3: Determine whether the single frame point cloud is delaminated based on the feature value. It can be judged based on a single eigenvalue. Taking eigenvalue A as an example, if the difference between the mean distance value and the standard deviation of the two sets of point sets P1 and P2 in an overlapping area are both within the set threshold, it is considered There is no stratification phenomenon in this overlapping area, otherwise it is judged that stratification phenomenon has occurred in this overlapping area of this frame (the degree of dispersion is similar, but the mean value is quite different).
特征值还可以是特征B的值,特征B是点云的强度信息,跟距离一样属于原始测量信息,理论上交叠区域相近点的强度也应该是一致的。判断方法为:遍历P1中每个点,寻找P2中对应最近邻点,记录两个点的强度差值,遍历结束后求所有差值的均值,若超过阈值则判断点云发生分层。The feature value can also be the value of feature B. Feature B is the intensity information of the point cloud. It belongs to the original measurement information like the distance. In theory, the intensity of similar points in the overlapping area should also be consistent. The judgment method is: traverse each point in P1, find the corresponding nearest neighbor point in P2, record the intensity difference between the two points, and find the mean of all differences after the traversal. If it exceeds the threshold, it is judged that the point cloud is stratified.
特征值还可以是特征C的值,特征C是点云的法向量,根据法向量的夹角设定阈值判断是否发生分层,计算两组点云P1和P2的法向量x1和x2的夹角θ,若θ超过阈值则判断点云发生分层。The feature value can also be the value of feature C, which is the normal vector of the point cloud. Set a threshold based on the angle between the normal vectors to determine whether delamination occurs, and calculate the angle between the normal vectors x1 and x2 of the two sets of point clouds P1 and P2. Angle θ, if θ exceeds the threshold, the point cloud is judged to be stratified.
也可以将上述三个特征值综合进行判断,多个特征结合的方案可以根据三个特征中有两个特征满足分层的条件即可判断点云发生分层,提高判断的准确性。The above three feature values can also be combined for judgment. The solution of combining multiple features can determine whether the point cloud is stratified according to whether two of the three features meet the conditions for stratification, thus improving the accuracy of the judgment.
步骤a4:统计多帧中出现分层的帧的数量占比,若分层点云数超过一定阈值则上报异常。如:连续50帧点云中至少有40帧发生了分层,则判断该设备发生了分层现象,上报异常。Step a4: Count the proportion of frames with layered points in multiple frames. If the number of layered point clouds exceeds a certain threshold, an exception will be reported. For example, if at least 40 frames of 50 consecutive point cloud frames are delaminated, it will be judged that the device is delaminated and an exception will be reported.
如图16所示,本公开实施例提供一种确定激光雷达点云分层的装置,激光雷达包括第一视场和第二视场,第一视场和第二视场之间存在交叠区域;装置包括:As shown in Figure 16, an embodiment of the present disclosure provides a device for determining the layering of a lidar point cloud. The lidar includes a first field of view and a second field of view. There is overlap between the first field of view and the second field of view. Area; devices include:
获取模块161,用于:获取激光雷达的点云的第一备选点,其中,第一备选点为包含于第一视场且位于交叠区域中的点;获取激光雷达的点云的第二备选点,其中,第二备选点为包含于第二视场且位于交叠区域中的点;The acquisition module 161 is used to: acquire the first candidate point of the laser radar point cloud, where the first candidate point is a point included in the first field of view and located in the overlapping area; obtain the first candidate point of the laser radar point cloud. A second candidate point, wherein the second candidate point is a point included in the second field of view and located in the overlapping area;
确定模块162,用于:根据第一备选点的预定特征和第二备选点的预定特征之间的比较结果,确定点云是否发生分层。The determination module 162 is configured to determine whether the point cloud is stratified according to the comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
如图17所示,本公开实施例提供一种确定激光雷达点云分层的设备1700,包括:As shown in Figure 17, the embodiment of the present disclosure provides a device 1700 for determining LiDAR point cloud layering, including:
存储器1704,存储有计算机可执行指令;Memory 1704, which stores computer-executable instructions;
处理器1703,与存储器1704连接,用于通过执行计算机可执行指令,实现前述任意技术方案提供的信号接收组件的失效检测方法,示例性地,该处理器1703通过执行可执行指令,可以实现本公开任意方法。The processor 1703 is connected to the memory 1704 and is used to implement the failure detection method of the signal receiving component provided by any of the foregoing technical solutions by executing computer executable instructions. For example, the processor 1703 can implement this method by executing the executable instructions. Expose any method.
设备1700可为任何类型的通用或专用计算设备,诸如台式计算机、膝上型计算机、服务器、大型计算机、基于云的计算机、平板计算机、可穿戴设备、车辆电子装置等。如图17所示,设备1700包括输入输出(Input/Output,I/O)接口1701、网络接口1702、存储器1704和处理器1703。Device 1700 may be any type of general or special purpose computing device, such as a desktop computer, laptop computer, server, mainframe computer, cloud-based computer, tablet computer, wearable device, vehicle electronics, etc. As shown in FIG. 17 , device 1700 includes an input/output (I/O) interface 1701 , a network interface 1702 , a memory 1704 and a processor 1703 .
I/O接口1701是可以从用户接收输入和/或向用户提供输出的组件的集合。I/O接口1701可以包括但不限于按钮、键盘、小键盘、LCD显示器、LED显示器或其它类似的显示设备,包括具有触摸屏能力使得能够进行用户和设备之间的交互的显示设备。I/O interface 1701 is a collection of components that can receive input from and/or provide output to the user. I/O interface 1701 may include, but is not limited to, buttons, keyboards, keypads, LCD displays, LED displays, or other similar display devices, including display devices with touch screen capabilities that enable interaction between the user and the device.
网络接口1702可以包括各种适配器以及以软件和/或硬件实现的电路系统,以便能够使用有线或无线协议与激光雷达通信。有线协议例如是串口协议、并口协议、以太网协议、USB协议或其它有线通信协议中的任何一种或多种。无线协议例如是任何IEEE 802.11Wi-Fi协议、蜂窝网络通信协议等。Network interface 1702 may include various adapters and circuitry implemented in software and/or hardware to enable communication with the lidar using wired or wireless protocols. The wired protocol is, for example, any one or more of a serial port protocol, a parallel port protocol, an Ethernet protocol, a USB protocol or other wired communication protocols. The wireless protocol is, for example, any IEEE 802.11 Wi-Fi protocol, cellular network communication protocol, etc.
存储器1704包括单个存储器或一个或多个存储器或存储位置,包括但不限于随机存取存储器(RAM)、动态随机存取存储器(DRAM)、静态随机存取存储器(SRAM)、只读存储器(ROM)、EPROM、EEPROM、闪存、FPGA的逻辑块、硬盘或存储器层次结构的任何其他各层。存储器1704可以用于存储任何类型的指令、软件或算法,包括用于控制设备1700的一般功能和操作的指令1705。Memory 1704 includes a single memory or one or more memories or storage locations, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read only memory (ROM) ), EPROM, EEPROM, flash memory, logic blocks of FPGA, hard disk, or any other layer of the memory hierarchy. Memory 1704 may be used to store any type of instructions, software, or algorithms, including instructions 1705 for controlling the general functionality and operation of device 1700 .
处理器1703控制设备1700的一般操作。处理器1703可以包括但不限于CPU、硬件微处理器、硬件处理器、多核处理器、单核处理器、微控制器、专用集成电路(ASIC)、DSP或其他类似的处理设备,能够执行根据本公开中描述的实施例的用于控制设备1700的操作和功能的任何类型的指令、算法或软件。处理器1703可以是在计算系统中执行功能的数字电路系统、模拟电路系统或混合信号(模拟和数字的组合)电路系统的各种实现。处理器1703可以包括例如诸如集成电路(IC)、单独处理器核心的部分或电路、整个处理器核心、单独的处理器、诸如现场可编程门阵列(FPGA)的可编程硬件设备、和/或包括多个处理器的系统。Processor 1703 controls the general operation of device 1700. The processor 1703 may include, but is not limited to, a CPU, a hardware microprocessor, a hardware processor, a multi-core processor, a single-core processor, a microcontroller, an application specific integrated circuit (ASIC), a DSP, or other similar processing device capable of executing Any type of instructions, algorithms, or software for controlling the operation and functionality of device 1700 of the embodiments described in this disclosure. Processor 1703 may be various implementations of digital circuitry, analog circuitry, or mixed-signal (a combination of analog and digital) circuitry that perform functions in a computing system. Processor 1703 may include, for example, a portion or circuit such as an integrated circuit (IC), a separate processor core, an entire processor core, a separate processor, a programmable hardware device such as a field programmable gate array (FPGA), and/or Systems that include multiple processors.
处理器1703与存储器1704之间可以通过总线1706等通信接口连接。The processor 1703 and the memory 1704 may be connected through a communication interface such as a bus 1706.
本公开实施例还提供一种计算机存储介质,计算机存储介质存储有计算机可执行指令;计算机可
执行指令被处理器执行后,能够实现前述任意技术方案提供的确定激光雷达点云分层的方法,示例性地,该处理器通过执行可执行指令,可以实现本公开任意方法。Embodiments of the present disclosure also provide a computer storage medium that stores computer-executable instructions; the computer-executable instructions are stored in the computer storage medium; After the execution instruction is executed by the processor, the method for determining the lidar point cloud layer provided by any of the foregoing technical solutions can be implemented. For example, the processor can implement any method of the present disclosure by executing the executable instruction.
根据本公开实施例的计算机可读存储介质或程序产品中的计算机可执行指令可以被配置为执行与上述设备和方法实施例相应的操作。当参考上述设备和方法实施例时,计算机可读存储介质或程序产品的实施例对于本领域技术人员而言是明晰的,因此不再重复描述。用于承载或包括上述计算机可执行指令的计算机可读存储介质和程序产品也落在本公开的范围内。这样的存储介质可以包括但不限于软盘、光盘、磁光盘、存储卡、存储棒等等。Computer-executable instructions in the computer-readable storage medium or program product according to embodiments of the present disclosure may be configured to perform operations corresponding to the above-described apparatus and method embodiments. When referring to the above-described apparatus and method embodiments, the embodiments of the computer-readable storage medium or program product will be clear to those skilled in the art, and therefore will not be described again. Computer-readable storage media and program products for carrying or including the computer-executable instructions described above are also within the scope of the present disclosure. Such storage media may include, but are not limited to, floppy disks, optical disks, magneto-optical disks, memory cards, memory sticks, and the like.
本领域技术人员可以理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本公开实施例的实施过程构成任何限定。Those skilled in the art can understand that the size of the sequence numbers of each step in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, and should not be determined by the implementation process of the embodiments of the present disclosure. constitute any limitation.
以上所述实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的精神和范围,均应包含在本公开的保护范围之内。
The above-described embodiments are only used to illustrate the technical solutions of the present disclosure, but not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still implement the foregoing implementations. Modifications are made to the technical solutions described in the examples, or equivalent substitutions are made to some of the technical features; these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of each embodiment of the present disclosure, and should be included in within the scope of this disclosure.
Claims (24)
- 一种确定激光雷达点云分层的方法,其中,所述激光雷达包括第一视场和第二视场,所述第一视场和所述第二视场之间存在交叠区域;所述方法包括:A method for determining the layering of lidar point clouds, wherein the lidar includes a first field of view and a second field of view, and there is an overlapping area between the first field of view and the second field of view; The methods include:获取所述激光雷达的点云的第一备选点,其中,所述第一备选点为包含于所述第一视场且位于所述交叠区域中的点;Obtaining a first candidate point of the LiDAR point cloud, wherein the first candidate point is a point included in the first field of view and located in the overlapping area;获取所述激光雷达的点云的第二备选点,其中,所述第二备选点为包含于所述第二视场且位于所述交叠区域中的点;Obtain a second candidate point of the LiDAR point cloud, wherein the second candidate point is a point included in the second field of view and located in the overlapping area;根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层。It is determined whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, further comprising:响应于确定所述点云发生分层,确定所述激光雷达出现以下至少之一的异常:In response to determining that the point cloud is stratified, it is determined that at least one of the following anomalies occurs in the lidar:激光器的位移、光电探测器的位移、MEMS振镜行为异常和内部时钟异常。Displacement of the laser, displacement of the photodetector, abnormal behavior of the MEMS galvanometer and abnormal internal clock.
- 根据权利要求1所述的方法,其中,所述预定特征包括以下一种或者多种:The method according to claim 1, wherein the predetermined characteristics include one or more of the following:备选点的测距值;The distance measurement value of the alternative point;备选点的强度;The strength of alternative points;备选点的法向量。The normal vector of the alternative point.
- 根据权利要求3所述的方法,其中,当所述预定特征包括备选点的测距值时,所述根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层,包括:The method of claim 3, wherein when the predetermined feature includes a distance measurement value of an alternative point, the predetermined feature according to the first alternative point and the second alternative point are Comparison results between predetermined features to determine whether the point cloud is stratified, including:响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,确定所述点云未发生分层;In response to a difference between the mean of the ranging values of the first candidate point and the mean of the ranging values of the second candidate point being within a first threshold range, determining the point cloud No delamination occurs;和/或,and / or,响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围外,确定所述点云发生分层。In response to a difference between the mean of the ranging values of the first candidate point and the mean of the ranging values of the second candidate point being outside a first threshold range, determining the point cloud Delamination occurs.
- 根据权利要求4所述的方法,其中,所述响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,确定所述点云未发生分层,包括:The method of claim 4, wherein the difference between the mean of the ranging values in response to the first alternative point and the mean of the ranging values of the second alternative point If the value is within the first threshold range, it is determined that the point cloud is not stratified, including:响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,且所述第一备选点的所述测距值的标准差和所述第二备选点的所述测距值的标准差之间的差值在第二阈值范围内,确定所述点云未发生分层。In response to a difference between the mean of the ranging values of the first candidate point and the mean of the ranging values of the second candidate point being within a first threshold range, and the first If the difference between the standard deviation of the distance measurement value of the candidate point and the standard deviation of the distance measurement value of the second candidate point is within the second threshold range, it is determined that the point cloud is not stratified. .
- 根据权利要求3所述的方法,其中,当所述预定特征包括备选点的强度时,所述根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层,包括:The method of claim 3, wherein when the predetermined feature includes an intensity of a candidate point, the predetermined feature according to the first candidate point and the predetermined feature of the second candidate point The comparison results between them determine whether the point cloud is delaminated, including:响应于所有所述第一备选点的所述强度与最近邻点的所述强度之间的差值的均值在第三阈值范围内,确定所述点云未发生分层,其中,所述最近邻点为从所述第二视场的所述第二备选点中确定出的与所述第一视场中每个所述第一备选点之间的距离最近的点;In response to the mean of the differences between the intensities of all the first candidate points and the intensities of the nearest neighbor points being within a third threshold range, it is determined that the point cloud is not stratified, wherein, The nearest neighbor point is the point determined from the second alternative points in the second field of view that is closest to each of the first alternative points in the first field of view;和/或,and / or,响应于所有所述第一备选点的所述强度与最近邻点的所述强度之间的差值的均值在第三阈值范围外,确定所述点云发生分层,其中,所述最近邻点为从所述第二视场的所述第二备选点中确定出的与所述第一视场中每个所述第一备选点之间的距离最近的点。In response to a mean value of the differences between the intensities of all the first candidate points and the intensities of the nearest neighbor points being outside a third threshold range, it is determined that the point cloud is stratified, wherein the nearest neighbor point The neighbor point is the point determined from the second candidate points in the second field of view that is closest to each of the first candidate points in the first field of view.
- 根据权利要求3所述的方法,其中,当所述预定特征包括备选点的法向量时,所述根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层,包括:The method of claim 3, wherein when the predetermined feature includes a normal vector of an alternative point, the predetermined feature based on the first alternative point and the predetermined feature of the second alternative point The comparison results between features determine whether the point cloud is stratified, including:响应于基于所述第一备选点确定的第一法向量和基于所述第二备选点确定的第二法向量之间的夹角在第四阈值范围内,确定所述点云未发生分层;In response to the angle between the first normal vector determined based on the first candidate point and the second normal vector determined based on the second candidate point being within a fourth threshold range, it is determined that the point cloud has not occurred layered;和/或,and / or,响应于基于所述第一备选点确定的第一法向量和基于所述第二备选点确定的第二法向量之间的夹 角在第四阈值范围外,确定所述点云发生分层。In response to a sandwich between a first normal vector determined based on the first alternative point and a second normal vector determined based on the second alternative point If the angle is outside the fourth threshold range, it is determined that the point cloud is stratified.
- 根据权利要求1至7任一项所述的方法,其中,所述确定所述点云是否发生分层,包括:The method according to any one of claims 1 to 7, wherein determining whether delamination occurs in the point cloud includes:响应于M帧点云中的N帧点云的所述比较结果为预定比较结果,确定所述点云发生分层,其中,所述M和所述N为大于0的整数,M≥N。In response to the comparison result of the N frame point clouds in the M frame point cloud being a predetermined comparison result, it is determined that the point cloud is stratified, wherein the M and N are integers greater than 0, M≥N.
- 根据权利要求1至7任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 7, wherein the method further includes:根据所述激光雷达的标定角度及固定距离生成参考点云;Generate a reference point cloud according to the calibration angle and fixed distance of the lidar;在所述参考点云中确定所述第一视场中的第一最近邻点;将所述第二视场中的点与所述第一最近邻点之间的距离在预定范围内的点确定为第二参考点,其中,所述第一最近邻点为从所述第一视场中的点中确定出的与所述第二视场中每个点之间的距离最近的点;在所述参考点云中确定所述第二视场中的第二最近邻点;将所述第一视场中的点与所述第二最近邻点之间的距离在预定范围内的点确定为第一参考点,其中,所述第二最近邻点为从所述第二视场中的点中确定出的与所述第一视场中每个点之间的距离最近的点;Determine a first nearest neighbor point in the first field of view in the reference point cloud; select a point whose distance between a point in the second field of view and the first nearest neighbor point is within a predetermined range Determined as a second reference point, wherein the first nearest neighbor point is the point closest to each point in the second field of view determined from the points in the first field of view; Determine a second nearest neighbor point in the second field of view in the reference point cloud; select a point whose distance between the point in the first field of view and the second nearest neighbor point is within a predetermined range. Determined as the first reference point, wherein the second nearest neighbor point is the point closest to each point in the first field of view determined from the points in the second field of view;或者,在所述参考点云中根据交叠区域的边界拟合函数,确定第一参考点和第二参考点。Alternatively, the first reference point and the second reference point are determined according to the boundary fitting function of the overlapping area in the reference point cloud.
- 根据权利要求9所述的方法,其中,所述方法还包括:The method of claim 9, further comprising:确定所述第一参考点和所述第二参考点的序号;Determine the serial numbers of the first reference point and the second reference point;根据所述第一参考点和所述第二参考点的序号确定所述第一备选点和所述第二备选点。The first candidate point and the second candidate point are determined according to the serial numbers of the first reference point and the second reference point.
- 根据权利要求9所述的方法,其中,所述方法还包括:获取感兴趣区域ROI,在所述ROI中确定出所述第一参考点和所述第二参考点。The method of claim 9, further comprising: obtaining a region of interest (ROI) in which the first reference point and the second reference point are determined.
- 一种确定激光雷达点云分层的装置,其中,所述激光雷达包括第一视场和第二视场,所述第一视场和所述第二视场之间存在交叠区域;所述装置包括:A device for determining the layering of lidar point clouds, wherein the lidar includes a first field of view and a second field of view, and there is an overlapping area between the first field of view and the second field of view; The devices include:获取模块,用于:获取所述激光雷达的点云的第一备选点,其中,所述第一备选点为包含于所述第一视场且位于所述交叠区域中的点;获取所述激光雷达的点云的第二备选点,其中,所述第二备选点为包含于所述第二视场且位于所述交叠区域中的点;An acquisition module, configured to: acquire a first candidate point of the point cloud of the lidar, where the first candidate point is a point included in the first field of view and located in the overlapping area; Obtain a second candidate point of the LiDAR point cloud, wherein the second candidate point is a point included in the second field of view and located in the overlapping area;确定模块,用于:根据所述第一备选点的预定特征和所述第二备选点的所述预定特征之间的比较结果,确定所述点云是否发生分层。A determination module configured to determine whether the point cloud is stratified according to a comparison result between the predetermined characteristics of the first candidate point and the predetermined characteristics of the second candidate point.
- 根据权利要求12所述的装置,其中,所述装置用于响应于确定所述点云发生分层,确定所述激光雷达出现以下至少之一的异常:激光器的位移、光电探测器的位移、MEMS振镜行为异常和内部时钟异常。The device according to claim 12, wherein the device is configured to determine that the laser radar has at least one of the following abnormalities in response to determining that stratification occurs in the point cloud: displacement of the laser, displacement of the photodetector, Abnormal behavior of MEMS galvanometer and abnormal internal clock.
- 根据权利要求12所述的装置,其中,所述预定特征包括以下一种或者多种:备选点的测距值;备选点的强度;备选点的法向量。The device according to claim 12, wherein the predetermined characteristics include one or more of the following: a distance measurement value of the candidate point; an intensity of the candidate point; and a normal vector of the candidate point.
- 根据权利要求14所述的装置,其中,当所述预定特征包括备选点的测距值时,所述确定模块用于响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,确定所述点云未发生分层;和/或,响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围外,确定所述点云发生分层。The apparatus of claim 14, wherein when the predetermined feature includes a ranging value of an alternative point, the determining module is configured to respond to a mean sum of the ranging values of the first alternative point If the difference between the mean values of the ranging values of the second candidate point is within the first threshold range, it is determined that the point cloud is not stratified; and/or in response to the first candidate point If the difference between the mean value of the ranging values and the mean value of the ranging values of the second candidate point is outside the first threshold range, it is determined that the point cloud is stratified.
- 根据权利要求15所述的装置,其中,所述确定模块用于响应于所述第一备选点的所述测距值的均值和所述第二备选点的所述测距值的均值之间的差值在第一阈值范围内,且所述第一备选点的所述测距值的标准差和所述第二备选点的所述测距值的标准差之间的差值在第二阈值范围内,确定所述点云未发生分层。The apparatus of claim 15, wherein the determining module is configured to respond to an average of the ranging values of the first alternative point and an average of the ranging values of the second alternative point The difference between them is within the first threshold range, and the difference between the standard deviation of the distance measurement value of the first alternative point and the standard deviation of the distance measurement value of the second alternative point If the value is within the second threshold range, it is determined that the point cloud is not stratified.
- 根据权利要求14所述的装置,其中,当所述预定特征包括备选点的强度时,所述确定模块用于响应于所有所述第一备选点的所述强度与最近邻点的所述强度之间的差值的均值在第三阈值范围内,确定所述点云未发生分层,其中,所述最近邻点为从所述第二视场的所述第二备选点中确定出的与所述第一视场中每个所述第一备选点之间的距离最近的点;和/或,响应于所有所述第一备选点的所述强度与最近邻点的所述强度之间的差值的均值在第三阈值范围外,确定所述点云发生分层,其中,所述最近邻点为从所述第二视场的所述第二备选点中确定出的与所述第一视场中每个所述第一备选点之间的距离最近的点。The apparatus according to claim 14, wherein when the predetermined characteristic includes the intensity of candidate points, the determining module is configured to respond to the intensity of all the first candidate points and all the nearest neighbor points. If the mean value of the difference between the intensities is within the third threshold range, it is determined that the point cloud has not been stratified, wherein the nearest neighbor point is from the second alternative point in the second field of view. The determined point closest to each of the first alternative points in the first field of view; and/or, in response to the intensity of all the first alternative points and the nearest neighbor point The mean value of the difference between the intensities is outside the third threshold range, it is determined that the point cloud is stratified, wherein the nearest neighbor point is the second candidate point from the second field of view The point closest to each of the first candidate points in the first field of view is determined.
- 根据权利要求14所述的装置,其中,当所述预定特征包括备选点的法向量时,所述确定模块用于响应于基于所述第一备选点确定的第一法向量和基于所述第二备选点确定的第二法向量之间的夹 角在第四阈值范围内,确定所述点云未发生分层;和/或,响应于基于所述第一备选点确定的第一法向量和基于所述第二备选点确定的第二法向量之间的夹角在第四阈值范围外,确定所述点云发生分层。The apparatus of claim 14, wherein when the predetermined feature includes a normal vector of an alternative point, the determining module is configured to respond to a first normal vector determined based on the first alternative point and the first normal vector determined based on the first alternative point. between the second normal vectors determined by the second alternative points angle is within the fourth threshold range, it is determined that the point cloud has not been layered; and/or, in response to the first normal vector determined based on the first alternative point and the third normal vector determined based on the second alternative point. If the angle between the two normal vectors is outside the fourth threshold range, it is determined that the point cloud is stratified.
- 根据权利要求12-18任一项所述的装置,其中,所述确定模块用于响应于M帧点云中的N帧点云的所述比较结果为预定比较结果,确定所述点云发生分层,其中,所述M和所述N为大于0的整数,M≥N。The device according to any one of claims 12 to 18, wherein the determining module is configured to determine that the point cloud occurs in response to the comparison result of the N frame point clouds in the M frame point cloud being a predetermined comparison result. Stratification, wherein said M and said N are integers greater than 0, M≥N.
- 根据权利要求12-18任一项所述的装置,其中,所述装置还用于:The device according to any one of claims 12-18, wherein the device is also used for:根据所述激光雷达的标定角度及固定距离生成参考点云;Generate a reference point cloud according to the calibration angle and fixed distance of the lidar;在所述参考点云中确定所述第一视场中的第一最近邻点;将所述第二视场中的点与所述第一最近邻点之间的距离在预定范围内的点确定为第二参考点,其中,所述第一最近邻点为从所述第一视场中的点中确定出的与所述第二视场中每个点之间的距离最近的点;在所述参考点云中确定所述第二视场中的第二最近邻点;将所述第一视场中的点与所述第二最近邻点之间的距离在预定范围内的点确定为第一参考点,其中,所述第二最近邻点为从所述第二视场中的点中确定出的与所述第一视场中每个点之间的距离最近的点;Determine a first nearest neighbor point in the first field of view in the reference point cloud; select a point whose distance between a point in the second field of view and the first nearest neighbor point is within a predetermined range Determined as a second reference point, wherein the first nearest neighbor point is the point closest to each point in the second field of view determined from the points in the first field of view; Determine a second nearest neighbor point in the second field of view in the reference point cloud; select a point whose distance between the point in the first field of view and the second nearest neighbor point is within a predetermined range. Determined as the first reference point, wherein the second nearest neighbor point is the point closest to each point in the first field of view determined from the points in the second field of view;或者,在所述参考点云中根据交叠区域的边界拟合函数,确定第一参考点和第二参考点。Alternatively, the first reference point and the second reference point are determined according to the boundary fitting function of the overlapping area in the reference point cloud.
- 根据权利要求20所述的装置,其中,所述装置还用于确定所述第一参考点和所述第二参考点的序号;根据所述第一参考点和所述第二参考点的序号确定所述第一备选点和所述第二备选点。The device according to claim 20, wherein the device is further used to determine the serial numbers of the first reference point and the second reference point; according to the serial numbers of the first reference point and the second reference point The first alternative point and the second alternative point are determined.
- 根据权利要求20所述的装置,其中,所述装置还用于获取感兴趣区域ROI,在所述ROI中确定出所述第一参考点和所述第二参考点。The device of claim 20, wherein the device is further configured to acquire a region of interest (ROI) in which the first reference point and the second reference point are determined.
- 一种确定激光雷达点云分层的设备,其中,包括:A device for determining lidar point cloud layering, including:存储器,存储有计算机可执行指令;Memory, which stores computer-executable instructions;处理器,与所述存储器连接,用于通过执行所述计算机可执行指令,实现权利要求1至11任一项提供的所述方法。A processor, connected to the memory, configured to implement the method provided in any one of claims 1 to 11 by executing the computer-executable instructions.
- 一种计算机存储介质,其中,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被处理器执行后,能够实现如权利要求1至11任一项提供的所述方法。 A computer storage medium, wherein the computer storage medium stores computer-executable instructions; after the computer-executable instructions are executed by a processor, the method as provided in any one of claims 1 to 11 can be implemented.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210328377.4 | 2022-03-30 | ||
CN202210328377.4A CN115047471B (en) | 2022-03-30 | 2022-03-30 | Method, device, equipment and storage medium for determining laser radar point cloud layering |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023185927A1 true WO2023185927A1 (en) | 2023-10-05 |
Family
ID=83157950
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/084709 WO2023185927A1 (en) | 2022-03-30 | 2023-03-29 | Method, apparatus and device for determining layering of point cloud of lidar, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115047471B (en) |
WO (1) | WO2023185927A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115047471B (en) * | 2022-03-30 | 2023-07-04 | 北京一径科技有限公司 | Method, device, equipment and storage medium for determining laser radar point cloud layering |
CN117689536B (en) * | 2024-02-01 | 2024-05-10 | 浙江华是科技股份有限公司 | Laser radar splicing registration method, system, device and computer storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109993700A (en) * | 2019-04-03 | 2019-07-09 | 百度在线网络技术(北京)有限公司 | Data processing method, device, electronic equipment and computer readable storage medium |
US20190391270A1 (en) * | 2018-06-25 | 2019-12-26 | Toyota Motor Engineering & Manufacturing North America, Inc. | Systems and methods for mitigating effects of high-reflectivity objects in lidar data |
CN111487641A (en) * | 2020-03-19 | 2020-08-04 | 福瑞泰克智能系统有限公司 | Method and device for detecting object by using laser radar, electronic equipment and storage medium |
CN112106370A (en) * | 2018-03-20 | 2020-12-18 | Pcms控股公司 | System and method for optimizing dynamic point clouds based on prioritized transformation |
CN112816993A (en) * | 2020-12-25 | 2021-05-18 | 北京一径科技有限公司 | Laser radar point cloud processing method and device |
CN115047471A (en) * | 2022-03-30 | 2022-09-13 | 北京一径科技有限公司 | Method, device and equipment for determining laser radar point cloud layering and storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3963414A2 (en) * | 2019-05-02 | 2022-03-09 | Kodak Alaris Inc. | Automated 360-degree dense point object inspection |
CN110335295B (en) * | 2019-06-06 | 2021-05-11 | 浙江大学 | Plant point cloud acquisition registration and optimization method based on TOF camera |
CN114026461A (en) * | 2020-05-19 | 2022-02-08 | 深圳市大疆创新科技有限公司 | Method for constructing point cloud frame, target detection method, distance measuring device, movable platform and storage medium |
EP3950180A1 (en) * | 2020-08-05 | 2022-02-09 | Siemens Energy Global GmbH & Co. KG | Computer-implemented correlation between monitoring data and according inspection data in powder-bed additive manufacturing |
CN114252870A (en) * | 2021-11-30 | 2022-03-29 | 深圳元戎启行科技有限公司 | Laser radar self-checking method, laser radar self-checking equipment and computer readable storage medium |
-
2022
- 2022-03-30 CN CN202210328377.4A patent/CN115047471B/en active Active
-
2023
- 2023-03-29 WO PCT/CN2023/084709 patent/WO2023185927A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112106370A (en) * | 2018-03-20 | 2020-12-18 | Pcms控股公司 | System and method for optimizing dynamic point clouds based on prioritized transformation |
US20190391270A1 (en) * | 2018-06-25 | 2019-12-26 | Toyota Motor Engineering & Manufacturing North America, Inc. | Systems and methods for mitigating effects of high-reflectivity objects in lidar data |
CN109993700A (en) * | 2019-04-03 | 2019-07-09 | 百度在线网络技术(北京)有限公司 | Data processing method, device, electronic equipment and computer readable storage medium |
CN111487641A (en) * | 2020-03-19 | 2020-08-04 | 福瑞泰克智能系统有限公司 | Method and device for detecting object by using laser radar, electronic equipment and storage medium |
CN112816993A (en) * | 2020-12-25 | 2021-05-18 | 北京一径科技有限公司 | Laser radar point cloud processing method and device |
CN115047471A (en) * | 2022-03-30 | 2022-09-13 | 北京一径科技有限公司 | Method, device and equipment for determining laser radar point cloud layering and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN115047471A (en) | 2022-09-13 |
CN115047471B (en) | 2023-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023185927A1 (en) | Method, apparatus and device for determining layering of point cloud of lidar, and storage medium | |
WO2023185943A1 (en) | Method, apparatus and device for determining lidar point cloud layering, and storage medium | |
US11987250B2 (en) | Data fusion method and related device | |
US10880541B2 (en) | Stereo correspondence and depth sensors | |
US9135710B2 (en) | Depth map stereo correspondence techniques | |
US20180053311A1 (en) | Method, terminal, and storage medium for detecting collision between colliders in real-time virtual scene | |
US20220215565A1 (en) | Method for generating depth map, elecronic device and storage medium | |
WO2023155793A1 (en) | Point cloud processing method and apparatus, and laser radar | |
US20150091904A1 (en) | Ray tracing processing apparatus and method | |
WO2023179718A1 (en) | Point cloud processing method and apparatus for lidar, and device and storage medium | |
WO2022143285A1 (en) | Cleaning robot and distance measurement method therefor, apparatus, and computer-readable storage medium | |
KR20220110034A (en) | A method of generating an intensity information with extended expression range by reflecting a geometric characteristic of object and a LiDAR device that performs the method | |
CN112991459A (en) | Camera calibration method, device, equipment and storage medium | |
Shen et al. | Accurate extraction of brick shapes in masonry walls from dense terrestrial laser scanning point cloud | |
US20160349918A1 (en) | Calibration for touch detection on projected display surfaces | |
CN118519120A (en) | Laser radar shielding detection method and device, storage medium and laser radar | |
CN113325381A (en) | Method, apparatus, device and storage medium for processing data | |
US20240242356A1 (en) | Ground point cloud segmentation method and apparatus and automatic vehicle | |
US11609307B2 (en) | Object detection apparatus, vehicle, object detection method, and computer readable medium | |
EP4310549A1 (en) | Sensing system | |
US20160314592A1 (en) | Method and apparatus for registration of interior and exterior three dimensional scans based on a semantic feature of a structure | |
CN116412757A (en) | Loading rate measuring method, device, equipment and medium | |
JP6758152B2 (en) | Surveillance image processing device and monitoring device | |
WO2023004792A1 (en) | Laser radar attitude calibration method and related apparatus, and storage medium | |
US20180308362A1 (en) | Differential detection device and differential detection method |
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: 23778292 Country of ref document: EP Kind code of ref document: A1 |