WO2023284705A1 - Laser radar point cloud clustering method and apparatus, laser radar, and vehicle - Google Patents

Laser radar point cloud clustering method and apparatus, laser radar, and vehicle Download PDF

Info

Publication number
WO2023284705A1
WO2023284705A1 PCT/CN2022/105047 CN2022105047W WO2023284705A1 WO 2023284705 A1 WO2023284705 A1 WO 2023284705A1 CN 2022105047 W CN2022105047 W CN 2022105047W WO 2023284705 A1 WO2023284705 A1 WO 2023284705A1
Authority
WO
WIPO (PCT)
Prior art keywords
point
distance
obstacle
lidar
laser radar
Prior art date
Application number
PCT/CN2022/105047
Other languages
French (fr)
Chinese (zh)
Inventor
郭鑫
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023284705A1 publication Critical patent/WO2023284705A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/02Systems using the reflection of electromagnetic waves other than radio waves
    • G01S17/06Systems determining position data of a target
    • G01S17/08Systems determining position data of a target for measuring distance only
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/89Lidar systems specially adapted for specific applications for mapping or imaging
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/93Lidar systems specially adapted for specific applications for anti-collision purposes
    • G01S17/931Lidar systems specially adapted for specific applications for anti-collision purposes of land vehicles

Definitions

  • the present application relates to the technical field of radar imaging in perception, and in particular to a laser radar point cloud clustering method, device, laser radar and vehicle.
  • the current vehicle-mounted radar (such as lidar) will form point cloud data when imaging a target.
  • the present application provides a laser radar point cloud clustering method, device, laser radar and vehicle, the clustering process is simple, and the effect of saving computing power is achieved.
  • the first aspect of the present application provides a laser radar point cloud clustering method, including:
  • the first distance between the first point on the obstacle and the lidar, the second distance between the second point on the obstacle and the lidar, and the laser beam and obstacle corresponding to the first point on the obstacle Angle information between the laser beams corresponding to the second point on the obstacle; according to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle , to obtain reference data from the pre-built clustering parameter table; wherein, the clustering parameter table is constructed according to the internal reference of the lidar; according to the reference data and the second distance, the second point on the obstacle and the first point on the obstacle Clustering at one point.
  • the first aspect of the present application provides a laser radar point cloud clustering method, which constructs a clustering parameter table through the internal parameters of the laser radar, takes into account the physical characteristics of the laser radar itself, and can make the clustering more accurate. Secondly, based on the pre-built clustering parameter table, the amount of calculation in actual clustering can be simplified, which is very suitable for scenarios where computing resources are scarce.
  • the first point and the second point are adjacent points.
  • the internal parameters of the lidar include: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
  • the clustering parameter table is constructed based on the internal parameters of the lidar, specifically including: obtaining the angle information between adjacent laser beams of the lidar and the detection multiple of the lidar; among them, the laser The detection multiple of the radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar; the index of the clustering parameter table is constructed with the angle information between adjacent laser beams as the first dimension and the detection multiple as the second dimension Information; obtain the reference data in the clustering parameter table based on the angle information between adjacent laser beams and the detection multiple.
  • the clustering parameter table has the advantage of being simple to make.
  • the included angle information includes the size of the longitudinal included angle and the size of the horizontal included angle.
  • the number of elements in the first dimension is determined according to the number of beams of the laser radar.
  • the number of elements in the second dimension is determined according to the detection multiple of the lidar.
  • the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including: calculating the detection distance of the laser beam and the detection distance resolution of the laser radar , to get the detection multiple of lidar.
  • the reference data includes a first threshold and a second threshold, where the first threshold is greater than the second threshold.
  • the reference data in the clustering parameter table is calculated and obtained according to the angle information between adjacent laser beams and the detection multiple, including: determining according to the detection multiple and the detection distance resolution of the laser radar a third distance; determining the first threshold based on the third distance and a preset distance threshold; determining a second threshold based on the third distance, angle information between adjacent laser beams, and a preset angle threshold.
  • a method for determining the first threshold and the second threshold in the reference data takes into account the detection distance of the laser radar, the angle information between adjacent laser beams, etc., so that the calculation process is scientific and reasonable.
  • the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle from the pre-built Obtain reference data in the class parameter table, including: obtain the first dimension according to the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle; determine according to the first distance The detection multiple corresponding to the first distance, and obtain the second dimension according to the detection multiple corresponding to the first distance; based on the first dimension and the second dimension, obtain the corresponding reference data from the pre-built clustering parameter table lookup table.
  • the first dimension of the clustering parameter table is located through the angle information between the laser beam corresponding to the first point and the laser beam corresponding to the second point. Through the first The second dimension of the clustering parameter table is located by the detection multiple corresponding to the distance, and accordingly, the reference data corresponding to the first dimension and the second dimension can be obtained.
  • clustering the second point on the obstacle and the first point on the obstacle according to the reference data and the second distance includes: if the second distance is within the range of the reference data, Then the second point on the obstacle is of the same type as the first point on the obstacle; otherwise, the second point on the obstacle is not the same type as the first point on the obstacle.
  • the second aspect of the present application provides a lidar point cloud clustering device, including: a first acquisition module, a second acquisition module and a clustering module.
  • the first acquisition module is used to acquire the first distance between the first point on the obstacle and the laser radar, the second distance between the second point on the obstacle and the laser radar, and the first distance between the second point on the obstacle and the laser radar.
  • the second acquisition module is used for the laser beam corresponding to the first point on the obstacle and the obstacle according to the first distance
  • the angle information between the laser beams corresponding to the second point on the object and obtain reference data from the pre-built clustering parameter table; wherein, the clustering parameter table is constructed according to the internal parameters of the lidar; the clustering module uses The second point on the obstacle and the first point on the obstacle are clustered according to the reference data and the second distance.
  • the internal parameters of the lidar in the second acquisition module include: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
  • the clustering parameter table in the second acquisition module is constructed according to the internal parameters of the lidar, specifically including: an acquisition sub-module, used to acquire the gap between adjacent laser beams of the lidar The angle information and the detection multiple of the laser radar; wherein, the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar; the sub-module is constructed to use the angle information between adjacent laser beams as In the first dimension, the index information of the clustering parameter table is constructed with the detection multiple as the second dimension; the calculation sub-module is used to calculate and obtain the reference data in the clustering parameter table according to the angle information between adjacent laser beams and the detection multiple .
  • the included angle information includes the size of the longitudinal included angle and the size of the horizontal included angle.
  • the number of elements in the first dimension in the construction sub-module is determined according to the number of beams of the laser radar.
  • the number of elements in the second dimension in the construction sub-module is determined according to the detection multiple of the lidar.
  • the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including: the detection distance of the laser beam and the detection distance resolution of the laser radar are traded , to get the detection multiple of lidar.
  • the reference data in the calculation submodule includes a first threshold and a second threshold, where the first threshold is greater than the second threshold.
  • the calculation submodule is specifically used to: determine the third distance according to the detection multiple and the detection distance resolution of the laser radar; determine the first threshold based on the third distance and the preset distance threshold; The second threshold is determined by the third distance, angle information between adjacent laser beams and a preset angle threshold.
  • the second acquisition module is specifically configured to: according to the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle Obtain the first dimension; determine the detection multiple corresponding to the first distance according to the first distance, and obtain the second dimension according to the detection multiple corresponding to the first distance; based on the first dimension and the second dimension, check from the pre-built clustering parameter table Get the corresponding reference data from the table.
  • the clustering module is specifically configured to: if the second distance is within the range of the reference data, the second point on the obstacle is of the same type as the first point on the obstacle.
  • the third aspect of the present application provides a laser radar, including: a communication interface; at least one processor, which is connected to the communication interface; and at least one memory, which is connected to the processor and stores program instructions.
  • a laser radar including: a communication interface; at least one processor, which is connected to the communication interface; and at least one memory, which is connected to the processor and stores program instructions.
  • the program instructions are processed by at least one
  • the processor is executed, at least one processor is made to execute a lidar point cloud clustering method according to any one of the first aspect.
  • the fourth aspect of the present application provides a vehicle, including: a laser radar, used to collect point cloud data; a processor, used to use a laser radar point cloud clustering method according to any one of the first aspect point cloud data clustering.
  • the fifth aspect of the present application provides a computing device, a computer-readable storage medium, on which program instructions are stored, and it is characterized in that, when the program instructions are executed by a computer, the computer executes any one of the above-mentioned first aspects. Lidar point cloud clustering method.
  • the sixth aspect of the present application provides a computer program product, which is characterized in that, when the computer program product is run on the computing device, the computing device is made to execute a lidar point cloud clustering method according to any one of the above-mentioned first aspects.
  • Figure 1(a) is the front view of the three-dimensional coordinate system constructed with the lidar as the origin;
  • Figure 1(b) is a side view of the three-dimensional coordinate system constructed with the lidar as the origin;
  • Figure 1(c) is a top view of the three-dimensional coordinate system constructed with the lidar as the origin;
  • FIG. 2 is a schematic diagram of a scene applied by a lidar point cloud clustering method provided in an embodiment of the present application
  • FIG. 3 is a schematic diagram of another scene applied by a lidar point cloud clustering method provided in the embodiment of the present application;
  • FIG. 4 is a flowchart of a laser radar point cloud clustering method provided in an embodiment of the present application.
  • Fig. 5 is the flow chart of constructing the clustering parameter table provided by the embodiment of the present application.
  • Fig. 6 is the clustering parameter table provided by the embodiment of the present application.
  • FIG. 7 is a schematic diagram of a point cloud data grid provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a laser radar point cloud clustering device provided in an embodiment of the present application.
  • FIG. 9 is a schematic structural diagram of a computing device provided by an embodiment of the present application.
  • Lidar Lidar
  • Lidar A radar system that emits laser beams to detect target-related feature quantities. Its working principle is to send a detection signal (laser beam) to the target, and then compare the received signal reflected from the target with the transmitted detection signal, and after proper processing, the relevant information of the target can be obtained, such as the distance of the target, Azimuth, altitude, etc.
  • FIG. 1 is a three-dimensional coordinate system constructed with the lidar as the origin, where Figure 1(a) is the main view, and Figure 1(b) It is a side view, and Figure 1(c) is a top view.
  • Point p is a point detected by the lidar.
  • the angle between the projection line and the Y axis is the longitudinal angle, which is ⁇ in Figure 1.
  • Horizontal angle that is, horizontal rotation angle (azimuth) or yaw angle (yaw): as shown in Figure 1, when point p is projected onto the X-Y plane, the angle between the projection line and the laser beam from the origin of the radar to point p angle, which is ⁇ in Figure 1.
  • Number of beams that is, the number of laser lines that the laser radar can emit. For example: for a 16-line lidar, the corresponding number of bundles is 16; for a 64-line lidar, the corresponding number of bundles is 64; for an 8-line lidar, the corresponding number of bundles is 8, etc. .
  • Point cloud clustering According to the characteristics, similarity or distance of the point cloud data points, the point cloud data points are grouped into several "classes" or “clusters”.
  • the point cloud clustering method of this solution is as follows: First, convert the point cloud data collected by the lidar to the corresponding logical plane, wherein the logical plane is used to describe the origin of the lidar and the relationship between each point to be clustered Relative positional relationship; then, perform a breadth-first search on each point on the corresponding logical plane to find the same point of each point; finally output the clustering results.
  • a laser radar point cloud clustering method provided in an embodiment of the present application can be applied to an autonomous vehicle (AV, Autonomous Vehicle) or an intelligent driving vehicle. Its application scenario can be to cluster the point cloud data collected by the vehicle lidar, and then use the clustered data to perform subsequent calculations. For example, the subsequent calculations can be target recognition calculations.
  • AV autonomous vehicle
  • AV Autonomous Vehicle
  • the subsequent calculations can be target recognition calculations.
  • FIG. 2 it is a scenario where a laser radar point cloud clustering method provided in the embodiment of the present application is applied.
  • the lidar point cloud clustering method can be built into the lidar 10 entity. After the laser radar 10 collects point cloud data, the point cloud data is clustered in the laser radar 10 body, and then the clustered data is transmitted to the host terminal 20 through a protocol such as a network for subsequent processing.
  • FIG. 3 it is another scenario in which a lidar point cloud clustering method provided in the embodiment of the present application is applied.
  • the laser radar point cloud clustering method can be placed on the host end 20 .
  • the laser radar 10 transmits the collected original point cloud data to the host terminal 20, and the laser radar point cloud clustering method provided by the embodiment of the application is used at the host terminal 20 to cluster the original point cloud data to obtain the clustered The data are used for subsequent calculations.
  • Fig. 2 and Fig. 3 are only examples showing the scene where the lidar point cloud clustering method is applied, and the present application does not limit which component the lidar point cloud clustering method is stored in. In other applications In the scene, the storage location of the lidar point cloud clustering method can be changed arbitrarily according to actual needs.
  • a laser radar point cloud clustering method provided in an embodiment of the present application will be described in detail below with reference to each figure.
  • the laser radar is taken as an example for the following description.
  • FIG. 4 it is a flow chart of the lidar point cloud clustering method provided by the embodiment of the present application.
  • the process mainly includes steps S110-S130, each step will be introduced in sequence below:
  • S110 Obtain the first distance between the first point on the obstacle and the laser radar, the second distance between the second point on the obstacle and the laser radar, and the correspondence between the first point on the obstacle Angle information between the laser beam and the laser beam corresponding to the second point on the obstacle.
  • the first distance may be determined by the time difference between the emitted light emitted by the laser radar to the first point and the reflected light reflected from the first point back to the laser radar; similarly, the first distance
  • the second distance can also be determined by the time difference between the emitted light emitted by the lidar to the second point and the reflected light reflected from the second point back to the lidar.
  • Angle information between the laser beam corresponding to the first point and the laser beam corresponding to the second point can be obtained from the factory manual of the laser radar.
  • the included angle information includes longitudinal included angle information and horizontal included angle information.
  • the velodyne 16-line mechanical lidar can emit 16 laser beams, and a pitch angle (longitudinal angle) can be formed between every two laser beams, but the angle of each pitch angle is different; for the velodyne 16-line mechanical lidar, it also includes a fixed aimuth angle (horizontal angle).
  • adjacent points have a higher probability of being of the same class, therefore, the first point and the second point in this embodiment may be selected as adjacent points.
  • step S120 According to the first distance obtained in step S110, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, from the pre-built Get the reference data in the cluster parameter table.
  • the clustering can be determined in the form of table lookup One dimension of the parameter table; then according to the lidar detection multiple corresponding to the first distance, the other dimension of the clustering parameter table can be determined in the form of table lookup; based on the determined two dimensions, the second point and The corresponding clustering reference data in the clustering parameter table when the first point is clustered.
  • the clustering parameter table is constructed according to the internal reference of the lidar, wherein the internal reference of the lidar includes: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
  • the angle information includes the size of the longitudinal angle and the size of the horizontal angle; the number of beams of the laser radar is the number of laser beams that the laser radar can emit.
  • the process of constructing the clustering parameter table may include steps S121-S123, as shown in FIG. 5 , the steps of constructing the clustering parameter table are introduced below:
  • the angle information between adjacent laser beams of the lidar may include two aspects of information: the first aspect is the positional relationship between the angles between adjacent laser beams, that is, the adjacent laser beams are longitudinal The angle is still a horizontal angle; the second aspect is the size of the angle.
  • the angle information between adjacent laser beams has been set when the laser radar leaves the factory, and it only needs to be determined according to the model of the laser radar.
  • the detection multiple of the lidar refers to how many times the distance resolution of the lidar has been experienced from the origin of the lidar to each laser point.
  • the detectable multiple of the lidar has been set when the lidar leaves the factory, and it only needs to be determined according to the model of the lidar.
  • the detection multiple of the lidar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar.
  • S122 Construct index information of the clustering parameter table with angle information between adjacent laser beams as a first dimension and with the detection multiple as a second dimension. Wherein, the index information is used to index reference data in the clustering parameter table.
  • the first dimension may be used as a row index dimension
  • the second dimension may be used as a column index dimension.
  • the first dimension and the second dimension may also be interchanged, that is, the first dimension is used as a column index dimension, and the second dimension is used as a row index dimension. This application does not limit it.
  • the number of elements in the first dimension may be determined according to the number of beams of the lidar.
  • the number of beams is 16, that is, the lidar can emit 16 laser beams, and each two laser beams form a longitudinal angle, then the lidar corresponds to 15 longitudinal angles Angle
  • velodyne16-line mechanical lidar has a fixed horizontal angle, therefore, for velodyne16-line mechanical lidar, the number of elements in the first dimension is 16.
  • S123 Calculate and obtain the reference data in the clustering parameter table according to the angle information between the adjacent laser beams and the detection multiple.
  • the reference data includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold.
  • the upper limit data may be used to replace the first threshold
  • the lower limit data may be used to replace the second threshold.
  • the range data is constituted by the upper limit data and the lower limit data to cluster related points.
  • the detection multiple is multiplied by the resolution of the lidar to obtain the third distance. Then determine the upper limit data based on the third distance and a preset distance threshold; and determine the lower limit data based on the third distance, angle information between adjacent laser beams and a preset angle threshold.
  • the upper limit data upper can be determined as follows:
  • the lower limit data floor can be determined as follows:
  • d 1 n*f
  • d 1 is the detection distance corresponding to the point in the lidar point cloud, that is, the third distance
  • n is the detection multiple of the lidar
  • f is the detection distance resolution of the lidar
  • is the preset Distance threshold
  • is the angle between adjacent laser beams
  • is the preset angle threshold
  • the second point on the obstacle is of the same type as the first point on the obstacle; correspondingly, when the second When the second distance is not within the upper and lower limits of the reference data, the second point on the obstacle is not of the same type as the first point on the obstacle.
  • FIG. 6-FIG. 7 the specific implementation of a laser radar point cloud clustering method provided in the embodiment of the present application will be described in detail.
  • the laser radar point cloud clustering method provided in the embodiment of the present application is clustering based on the clustering parameter table. Therefore, the construction process of the clustering parameter table is firstly introduced. It should be understood that the clustering parameter table may be pre-built and obtained.
  • the clustering parameter table may include two dimensions, the first dimension may be angle information between adjacent laser beams, specifically, the angle information may include the size of the horizontal angle and the size of the vertical angle.
  • the second dimension may be the detection multiple of the laser radar, wherein the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar. For example, the maximum detectable distance of the lidar is 120m, and the detection distance resolution of the lidar is 1m, so the corresponding detection multiple of the lidar is any integer value from 0 to 120.
  • both the angle information and the detection multiple of the lidar can be obtained from the lidar factory manual.
  • the first dimension of the velodyne 16-line mechanical radar includes 15 pitch angles and a fixed aimuth angle, that is, 16 data. Its second dimension includes 32500 data, therefore, for the velodyne 16-line mechanical radar, its clustering parameter table shares 16*32500 data (elements).
  • FIG. 6 it is a schematic diagram of a clustering parameter table constructed based on the construction method of the above clustering parameter table.
  • the column index dimension is the angle information between adjacent laser beams
  • the row index dimension is the detection multiple of the laser radar, where 0-m is the detection multiple of the laser radar, which can also be understood as m times the laser
  • the detection distance resolution of the radar the upper limit is the quotient of the maximum detectable distance and the distance resolution of the lidar
  • pitch 1 -pitch m is the corresponding longitudinal angle between adjacent laser beams
  • aimuth 1 -aimuth w is The corresponding horizontal angle between adjacent laser beams
  • upper is the upper limit of the elements in the clustering parameter table
  • floor is the lower limit of the elements in the clustering parameter table.
  • the positions of the horizontal angle and the vertical angle in the clustering parameter table in this figure are just an example and do not constitute a limitation.
  • the row and column indexes can also be interchanged, that is, the column index is the detection multiple of the lidar, and the row index is the angle information between adjacent laser beams.
  • FIG. 7 it is a schematic diagram of the point cloud data grid collected by the lidar (only part of the data is shown).
  • A is regarded as the first point on the obstacle, that is, the reference point
  • the process of judging whether A1 and A2 are of the same type as A is as follows:
  • the distance from the reference point A to the origin of the laser radar is converted into the detection multiple of the laser radar, and the row information corresponding to the reference point A can be determined from the clustering parameter table shown in FIG. 6 .
  • the relationship between the point A1 to be clustered and the point A2 to be clustered is determined. Whether the reference point A is of the same class. If the distance is within the upper and lower limits of the corresponding element, the point is of the same class as the reference point, otherwise, the two are not of the same class.
  • a radar point cloud clustering device which may be implemented by a software system, may also be implemented by a hardware device, and may also be implemented by a combination of a software system and a hardware device.
  • FIG. 8 is only an exemplary structural diagram showing a lidar point cloud clustering device, and the present application does not limit the division of functional modules in the head pose measurement device.
  • the lidar point cloud clustering device can be logically divided into multiple modules, each module can have different functions, and the functions of each module can be read and executed by the processor in the computing device memory Instructions in to achieve.
  • the radar point cloud clustering device includes a first acquisition module 710 , a second acquisition module 720 and a clustering module 730 .
  • the lidar point cloud clustering apparatus is used to execute the content described in steps S110-S130 shown in FIG. 4 .
  • a first acquisition module 710 configured to acquire the first distance between the first point on the obstacle and the laser radar, and the second distance between the second point on the obstacle and the laser radar , and angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle.
  • the second acquiring module 720 is configured to, according to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, from Obtain reference data from a pre-built clustering parameter table; wherein, the clustering parameter table is constructed according to the internal reference of the lidar.
  • a clustering module 730 configured to cluster the second point on the obstacle and the first point on the obstacle according to the reference data and the second distance.
  • the internal parameters of the lidar in the second acquisition module 720 include: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
  • the clustering parameter table in the second acquisition module 720 is constructed according to the internal reference of the lidar, and specifically includes: an acquisition submodule 721 , a construction submodule 722 and a calculation submodule 723 .
  • the obtaining sub-module 721 is used to obtain the angle information between adjacent laser beams of the lidar and the detection multiple of the laser radar; wherein, the detection multiple of the laser radar is based on the detection distance of the laser beam and the detection range resolution of the lidar is determined.
  • the construction sub-module 722 is configured to construct the index information of the clustering parameter table with the angle information between the adjacent laser beams as the first dimension and the detection multiple as the second dimension.
  • the calculation sub-module 723 is configured to calculate and obtain the reference data in the clustering parameter table according to the angle information between the adjacent laser beams and the detection multiple.
  • the included angle information includes the size of the longitudinal included angle and the size of the horizontal included angle.
  • the number of elements in the first dimension in the construction submodule 722 is determined according to the number of beams of the lidar.
  • the number of elements in the second dimension of 722 in the construction submodule is determined according to the detection multiple of the lidar.
  • the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including:
  • the detection distance of the laser beam is multiplied by the detection distance resolution of the laser radar to obtain the detection multiple of the laser radar.
  • the reference data in the calculation submodule 723 includes a first threshold and a second threshold, where the first threshold is greater than the second threshold.
  • the calculation submodule 723 is specifically configured to: determine a third distance according to the detection multiple and the detection range resolution of the lidar; based on the third distance and a preset distance The threshold determines the first threshold; and determines the second threshold based on the third distance, angle information between adjacent laser beams and a preset angle threshold.
  • the second acquisition module 720 is specifically configured to: according to the difference between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle Obtain the first dimension from the angle information between them; determine the detection multiple corresponding to the first distance according to the first distance, and obtain the second dimension according to the detection multiple corresponding to the first distance; based on the For the first dimension and the second dimension, corresponding reference data are obtained from the pre-built clustering parameter table lookup table.
  • the clustering module 730 is specifically configured to: if the second distance is within the range of the reference data, the second point on the obstacle is The first point is the same class.
  • a laser radar which includes:
  • At least one processor connected to the communication interface; and:
  • At least one memory which is connected to the processor and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes the laser radar described in the above embodiments
  • this embodiment does not repeat the lidar point cloud clustering method.
  • Another embodiment of the present application provides a vehicle, which may include the laser radar and the processor in the previous embodiment.
  • the processor is used to cluster the point cloud data collected by the laser radar by using the laser radar point cloud clustering method described in the above embodiment. This application will not repeat it.
  • FIG. 9 is a schematic structural diagram of a computing device 900 provided by an embodiment of the present application.
  • the computing device 900 includes: a processor 910 , a memory 920 , and a communication interface 930 .
  • the communication interface 930 in the computing device 900 shown in FIG. 9 can be used to communicate with other devices.
  • the processor 910 may be connected to the memory 920 .
  • the memory 920 can be used to store the program codes and data. Therefore, the memory 920 may be a storage unit inside the processor 910, or an external storage unit independent of the processor 910, or may include a storage unit inside the processor 910 and an external storage unit independent of the processor 910. part.
  • computing device 900 may further include a bus.
  • the memory 920 and the communication interface 930 may be connected to the processor 910 through a bus.
  • the bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus can be divided into address bus, data bus, control bus and so on.
  • the processor 910 may be a central processing unit (central processing unit, CPU).
  • the processor can also be other general-purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (Application specific integrated circuit, ASIC), off-the-shelf programmable gate matrix (field programmable gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the processor 910 adopts one or more integrated circuits for executing related programs, so as to implement the technical solutions provided by the embodiments of the present application.
  • the memory 920 may include read-only memory and random-access memory, and provides instructions and data to the processor 910 .
  • a portion of processor 910 may also include non-volatile random access memory.
  • processor 910 may also store device type information.
  • the processor 910 executes the computer-executed instructions in the memory 920 to perform the operation steps of the above method.
  • the computing device 900 may correspond to a corresponding body executing the methods according to the various embodiments of the present application, and the above-mentioned and other operations and/or functions of the modules in the computing device 900 are for realizing the present invention For the sake of brevity, the corresponding processes of the methods in the embodiments are not repeated here.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the computer software products are stored in a storage medium, and include several instructions to make a computer device (which can It is a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
  • the embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it is used to perform a method for clustering a laser radar point cloud. At least one of the described programs.
  • the computer storage medium in the embodiments of the present application may use any combination of one or more computer-readable media.
  • the computer readable medium may be a computer readable signal medium or a computer readable storage medium.
  • a computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
  • a computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
  • Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wires, optical cables, radio, etc., or any suitable combination of the foregoing.
  • Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language.
  • the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
  • the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect).
  • LAN local area network
  • WAN wide area network
  • connect such as via the Internet using an Internet service provider

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 laser radar (10) point cloud clustering method and apparatus, a laser radar (10), and a vehicle. The method comprises: obtaining a first distance between a first point on an obstacle and the laser radar (10), a second distance between a second point on the obstacle and the laser radar (10), and included angle information between a laser beam corresponding to the first point on the obstacle and a laser beam corresponding to the second point on the obstacle; obtaining reference data from a pre-constructed clustering parameter table according to the first distance and the included angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle (S120, S130), wherein the clustering parameter table is constructed according to intrinsic parameters of the laser radar; and clustering the second point on the obstacle and the first point on the obstacle according to the reference data and the second distance. When clustering original point cloud data collected by the laser radar (10), a large amount of computing power is saved.

Description

一种激光雷达点云聚类方法、装置、激光雷达及车辆A laser radar point cloud clustering method, device, laser radar and vehicle
本申请要求于2021年7月13日提交中国国家知识产权局、申请号202110791099.1、申请名称为“一种激光雷达点云聚类方法、装置、激光雷达及车辆”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the State Intellectual Property Office of China on July 13, 2021, with the application number 202110791099.1, and the title of the application is "A Lidar Point Cloud Clustering Method, Device, Lidar and Vehicle", The entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及感知中的雷达成像技术领域,特别涉及一种激光雷达点云聚类方法、装置、激光雷达及车辆。The present application relates to the technical field of radar imaging in perception, and in particular to a laser radar point cloud clustering method, device, laser radar and vehicle.
背景技术Background technique
随着无人驾驶技术的发展,对车载雷达的探测距离、角度分辨率等性能提出了更高的要求。目前的车载雷达(例如激光雷达)在对一个目标进行成像时会形成点云数据,为了对同一时刻检测的多个目标进行目标区分,首先需要通过聚类算法对车载雷达采集到的点云数据进行聚类。With the development of unmanned driving technology, higher requirements are put forward for the detection range and angular resolution of vehicle radar. The current vehicle-mounted radar (such as lidar) will form point cloud data when imaging a target. In order to distinguish multiple targets detected at the same time, it is first necessary to cluster the point cloud data collected by the vehicle-mounted radar. for clustering.
传统的聚类算法对芯片算力的要求较高,因此并不适用于类似车载计算中心这种计算资源紧俏的场景。Traditional clustering algorithms have high requirements on chip computing power, so they are not suitable for scenarios where computing resources are scarce, such as on-board computing centers.
发明内容Contents of the invention
鉴于现有技术的以上问题,本申请提供一种激光雷达点云聚类方法、装置、激光雷达及车辆,聚类过程简单,达到了节省算力的效果。In view of the above problems in the prior art, the present application provides a laser radar point cloud clustering method, device, laser radar and vehicle, the clustering process is simple, and the effect of saving computing power is achieved.
为达到上述目的,本申请第一方面提供了一种激光雷达点云聚类方法,包括:In order to achieve the above purpose, the first aspect of the present application provides a laser radar point cloud clustering method, including:
获取障碍物上的第一点和激光雷达之间的第一距离、障碍物上的第二点和激光雷达之间的第二距离、以及障碍物上的第一点对应的激光束和障碍物上的第二点对应的激光束之间的夹角信息;根据第一距离、障碍物上的第一点对应的激光束和障碍物上的第二点对应的激光束之间的夹角信息,从预先构建的聚类参数表中获取参考数据;其中,聚类参数表是根据激光雷达的内参构建的;根据参考数据和第二距离对障碍物上的第二点和障碍物上的第一点进行聚类。Obtain the first distance between the first point on the obstacle and the lidar, the second distance between the second point on the obstacle and the lidar, and the laser beam and obstacle corresponding to the first point on the obstacle Angle information between the laser beams corresponding to the second point on the obstacle; according to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle , to obtain reference data from the pre-built clustering parameter table; wherein, the clustering parameter table is constructed according to the internal reference of the lidar; according to the reference data and the second distance, the second point on the obstacle and the first point on the obstacle Clustering at one point.
本申请第一方面提供的一种激光雷达点云聚类方法,通过激光雷达内参构建聚类参数表,考虑了激光雷达自身的物理特性,可以使聚类更准确。其次,基于预先构建的聚类参数表,可以简化在实际聚类时的计算量,非常适用于计算资源紧缺的场景。The first aspect of the present application provides a laser radar point cloud clustering method, which constructs a clustering parameter table through the internal parameters of the laser radar, takes into account the physical characteristics of the laser radar itself, and can make the clustering more accurate. Secondly, based on the pre-built clustering parameter table, the amount of calculation in actual clustering can be simplified, which is very suitable for scenarios where computing resources are scarce.
作为第一方面一种可能的实现方式,第一点和第二点为相邻点。As a possible implementation manner of the first aspect, the first point and the second point are adjacent points.
作为第一方面一种可能的实现方式,激光雷达的内参包括:激光雷达相邻激光束之间的夹角信息和激光雷达的线束数量。As a possible implementation of the first aspect, the internal parameters of the lidar include: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
作为第一方面一种可能的实现方式,聚类参数表是根据激光雷达的内参构建的,具体包括:获取激光雷达相邻激光束之间的夹角信息以及激光雷达的探测倍数;其中,激光雷达的探测倍数根据激光束的探测距离和激光雷达的探测距离分辨率确定;以相邻激光束之间的夹角信息为第一维度、以探测倍数为第二维度构建聚类参数表的索引信息;根据相邻 激光束之间的夹角信息和探测倍数计算获得聚类参数表中的参考数据。As a possible implementation of the first aspect, the clustering parameter table is constructed based on the internal parameters of the lidar, specifically including: obtaining the angle information between adjacent laser beams of the lidar and the detection multiple of the lidar; among them, the laser The detection multiple of the radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar; the index of the clustering parameter table is constructed with the angle information between adjacent laser beams as the first dimension and the detection multiple as the second dimension Information; obtain the reference data in the clustering parameter table based on the angle information between adjacent laser beams and the detection multiple.
由上,通过以相邻激光束之间的夹角信息和激光雷达的探测倍数作为聚类参数表的索引信息,可以准确的描述激光雷达所采集的点云的位置,使点云标识唯一化。另外,相邻激光束之间的夹角信息和激光雷达的探测倍数均是可以直接由激光雷达出厂信息获得的,不需要进行额外处理,因此,该聚类参数表还有制作简单的好处。From the above, by using the angle information between adjacent laser beams and the detection multiple of the laser radar as the index information of the clustering parameter table, the position of the point cloud collected by the laser radar can be accurately described, and the point cloud identification can be unique . In addition, the angle information between adjacent laser beams and the detection multiple of the lidar can be obtained directly from the lidar factory information without additional processing. Therefore, the clustering parameter table has the advantage of being simple to make.
作为第一方面一种可能的实现方式,夹角信息包括纵向夹角的大小和水平夹角的大小。As a possible implementation manner of the first aspect, the included angle information includes the size of the longitudinal included angle and the size of the horizontal included angle.
作为第一方面一种可能的实现方式,第一维度的元素个数根据激光雷达的线束数量确定。As a possible implementation of the first aspect, the number of elements in the first dimension is determined according to the number of beams of the laser radar.
作为第一方面一种可能的实现方式,第二维度的元素个数根据激光雷达的探测倍数确定。As a possible implementation of the first aspect, the number of elements in the second dimension is determined according to the detection multiple of the lidar.
作为第一方面一种可能的实现方式,激光雷达的探测倍数根据激光束的探测距离和激光雷达的探测距离分辨率确定,包括:将激光束的探测距离和激光雷达的探测距离分辨率作商,以得到激光雷达的探测倍数。As a possible implementation of the first aspect, the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including: calculating the detection distance of the laser beam and the detection distance resolution of the laser radar , to get the detection multiple of lidar.
作为第一方面一种可能的实现方式,参考数据包括第一阈值和第二阈值,其中,第一阈值大于第二阈值。As a possible implementation manner of the first aspect, the reference data includes a first threshold and a second threshold, where the first threshold is greater than the second threshold.
作为第一方面一种可能的实现方式,根据相邻激光束之间的夹角信息和探测倍数计算获得聚类参数表中的参考数据,包括:根据探测倍数和激光雷达的探测距离分辨率确定第三距离;基于第三距离和预设距离阈值确定第一阈值;基于第三距离、相邻激光束之间的夹角信息和预设角度阈值确定第二阈值。As a possible implementation of the first aspect, the reference data in the clustering parameter table is calculated and obtained according to the angle information between adjacent laser beams and the detection multiple, including: determining according to the detection multiple and the detection distance resolution of the laser radar a third distance; determining the first threshold based on the third distance and a preset distance threshold; determining a second threshold based on the third distance, angle information between adjacent laser beams, and a preset angle threshold.
由上,提供了参考数据中第一阈值和第二阈值的确定方法。该方法考虑了激光雷达的探测距离、相邻激光束之间的夹角信息等,使该计算过程科学合理。From the above, a method for determining the first threshold and the second threshold in the reference data is provided. This method takes into account the detection distance of the laser radar, the angle information between adjacent laser beams, etc., so that the calculation process is scientific and reasonable.
作为第一方面一种可能的实现方式,根据第一距离、障碍物上的第一点对应的激光束和障碍物上的第二点对应的激光束之间的夹角信息从预先构建的聚类参数表中获取参考数据,包括:根据障碍物上的第一点对应的激光束和障碍物上的第二点对应的激光束之间的夹角信息获取第一维度;根据第一距离确定第一距离对应的探测倍数,并根据第一距离对应的探测倍数获取第二维度;基于第一维度和第二维度,从预先构建的聚类参数表查表获得相应的参考数据。As a possible implementation of the first aspect, according to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle from the pre-built Obtain reference data in the class parameter table, including: obtain the first dimension according to the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle; determine according to the first distance The detection multiple corresponding to the first distance, and obtain the second dimension according to the detection multiple corresponding to the first distance; based on the first dimension and the second dimension, obtain the corresponding reference data from the pre-built clustering parameter table lookup table.
由上,提供了查询聚类参数表的具体过程,通过第一点对应的激光束和第二点对应的激光束之间的夹角信息来定位聚类参数表的第一维度,通过第一距离对应的探测倍数来定位聚类参数表的第二维度,据此,可以获得第一维度和第二维度对应的参考数据。From the above, the specific process of querying the clustering parameter table is provided. The first dimension of the clustering parameter table is located through the angle information between the laser beam corresponding to the first point and the laser beam corresponding to the second point. Through the first The second dimension of the clustering parameter table is located by the detection multiple corresponding to the distance, and accordingly, the reference data corresponding to the first dimension and the second dimension can be obtained.
作为第一方面一种可能的实现方式,根据参考数据和第二距离对障碍物上的第二点和障碍物上的第一点进行聚类,包括:若第二距离在参考数据范围内,则障碍物上的第二点与障碍物上的第一点为同一类;否则,障碍物上的第二点与障碍物上的第一点不是同一类。As a possible implementation of the first aspect, clustering the second point on the obstacle and the first point on the obstacle according to the reference data and the second distance includes: if the second distance is within the range of the reference data, Then the second point on the obstacle is of the same type as the first point on the obstacle; otherwise, the second point on the obstacle is not the same type as the first point on the obstacle.
本申请第二方面提供一种激光雷达点云聚类装置,包括:第一获取模块、第二获取模块和聚类模块。其中,第一获取模块,用于获取障碍物上的第一点和激光雷达之间的第一距离、障碍物上的第二点和激光雷达之间的第二距离、以及障碍物上的第一点对应的激光束和障碍物上的第二点对应的激光束之间的夹角信息;第二获取模块,用于根据第一距离、障碍物上的第一点对应的激光束和障碍物上的第二点对应的激光束之间的夹角信息,从预先构建的聚类参数表中获取参考数据;其中,聚类参数表是根据激光雷达的内参构建的; 聚类模块,用于根据参考数据和第二距离对障碍物上的第二点和障碍物上的第一点进行聚类。The second aspect of the present application provides a lidar point cloud clustering device, including: a first acquisition module, a second acquisition module and a clustering module. Among them, the first acquisition module is used to acquire the first distance between the first point on the obstacle and the laser radar, the second distance between the second point on the obstacle and the laser radar, and the first distance between the second point on the obstacle and the laser radar. Angle information between the laser beam corresponding to one point and the laser beam corresponding to the second point on the obstacle; the second acquisition module is used for the laser beam corresponding to the first point on the obstacle and the obstacle according to the first distance The angle information between the laser beams corresponding to the second point on the object, and obtain reference data from the pre-built clustering parameter table; wherein, the clustering parameter table is constructed according to the internal parameters of the lidar; the clustering module uses The second point on the obstacle and the first point on the obstacle are clustered according to the reference data and the second distance.
作为第二方面一种可能的实现方式,第二获取模块中的激光雷达的内参包括:激光雷达相邻激光束之间的夹角信息和激光雷达的线束数量。As a possible implementation of the second aspect, the internal parameters of the lidar in the second acquisition module include: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
作为第二方面一种可能的实现方式,第二获取模块中的聚类参数表是根据激光雷达的内参构建的,具体包括:获取子模块,用于获取激光雷达相邻激光束之间的夹角信息以及激光雷达的探测倍数;其中,激光雷达的探测倍数根据激光束的探测距离和激光雷达的探测距离分辨率确定;构建子模块,用于以相邻激光束之间的夹角信息为第一维度、以探测倍数为第二维度构建聚类参数表的索引信息;计算子模块,用于根据相邻激光束之间的夹角信息和探测倍数计算获得聚类参数表中的参考数据。As a possible implementation of the second aspect, the clustering parameter table in the second acquisition module is constructed according to the internal parameters of the lidar, specifically including: an acquisition sub-module, used to acquire the gap between adjacent laser beams of the lidar The angle information and the detection multiple of the laser radar; wherein, the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar; the sub-module is constructed to use the angle information between adjacent laser beams as In the first dimension, the index information of the clustering parameter table is constructed with the detection multiple as the second dimension; the calculation sub-module is used to calculate and obtain the reference data in the clustering parameter table according to the angle information between adjacent laser beams and the detection multiple .
作为第二方面一种可能的实现方式,夹角信息包括纵向夹角的大小和水平夹角的大小。As a possible implementation manner of the second aspect, the included angle information includes the size of the longitudinal included angle and the size of the horizontal included angle.
作为第二方面一种可能的实现方式,构建子模块中的第一维度的元素个数根据激光雷达的线束数量确定。As a possible implementation of the second aspect, the number of elements in the first dimension in the construction sub-module is determined according to the number of beams of the laser radar.
作为第二方面一种可能的实现方式,构建子模块中的第二维度的元素个数根据激光雷达的探测倍数确定。As a possible implementation of the second aspect, the number of elements in the second dimension in the construction sub-module is determined according to the detection multiple of the lidar.
作为第二方面一种可能的实现方式,激光雷达的探测倍数根据激光束的探测距离和激光雷达的探测距离分辨率确定,包括:将激光束的探测距离和激光雷达的探测距离分辨率作商,以得到激光雷达的探测倍数。As a possible implementation of the second aspect, the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including: the detection distance of the laser beam and the detection distance resolution of the laser radar are traded , to get the detection multiple of lidar.
作为第二方面一种可能的实现方式,计算子模块中的参考数据包括第一阈值和第二阈值,其中,第一阈值大于第二阈值。As a possible implementation manner of the second aspect, the reference data in the calculation submodule includes a first threshold and a second threshold, where the first threshold is greater than the second threshold.
作为第二方面一种可能的实现方式,计算子模块,具体用于:根据探测倍数和激光雷达的探测距离分辨率确定第三距离;基于第三距离和预设距离阈值确定第一阈值;基于第三距离、相邻激光束之间的夹角信息和预设角度阈值确定第二阈值。As a possible implementation of the second aspect, the calculation submodule is specifically used to: determine the third distance according to the detection multiple and the detection distance resolution of the laser radar; determine the first threshold based on the third distance and the preset distance threshold; The second threshold is determined by the third distance, angle information between adjacent laser beams and a preset angle threshold.
作为第二方面一种可能的实现方式,第二获取模块,具体用于:根据障碍物上的第一点对应的激光束和障碍物上的第二点对应的激光束之间的夹角信息获取第一维度;根据第一距离确定第一距离对应的探测倍数,并根据第一距离对应的探测倍数获取第二维度;基于第一维度和第二维度,从预先构建的聚类参数表查表获得相应的参考数据。As a possible implementation of the second aspect, the second acquisition module is specifically configured to: according to the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle Obtain the first dimension; determine the detection multiple corresponding to the first distance according to the first distance, and obtain the second dimension according to the detection multiple corresponding to the first distance; based on the first dimension and the second dimension, check from the pre-built clustering parameter table Get the corresponding reference data from the table.
作为第二方面一种可能的实现方式,聚类模块,具体用于:若第二距离在参考数据范围内,则障碍物上的第二点与障碍物上的第一点为同一类。As a possible implementation of the second aspect, the clustering module is specifically configured to: if the second distance is within the range of the reference data, the second point on the obstacle is of the same type as the first point on the obstacle.
本申请第三方面提供一种激光雷达,包括:通信接口;至少一个处理器,其与通信接口连接;以及至少一个存储器,其与处理器连接并存储有程序指令,程序指令当被至少一个处理器执行时,使得至少一个处理器执行第一方面任一项的一种激光雷达点云聚类方法。The third aspect of the present application provides a laser radar, including: a communication interface; at least one processor, which is connected to the communication interface; and at least one memory, which is connected to the processor and stores program instructions. When the program instructions are processed by at least one When the processor is executed, at least one processor is made to execute a lidar point cloud clustering method according to any one of the first aspect.
本申请第四方面提供一种车辆,包括:激光雷达,用于采集点云数据;处理器,用于利用第一方面任一项的一种激光雷达点云聚类方法对激光雷达采集到的点云数据进行聚类。The fourth aspect of the present application provides a vehicle, including: a laser radar, used to collect point cloud data; a processor, used to use a laser radar point cloud clustering method according to any one of the first aspect point cloud data clustering.
本申请第五方面提供一种计算设备一种计算机可读存储介质,其上存储有程序指令,其特征在于,程序指令当被计算机执行时,使得计算机执行上述第一方面任一项的一种激光雷达点云聚类方法。The fifth aspect of the present application provides a computing device, a computer-readable storage medium, on which program instructions are stored, and it is characterized in that, when the program instructions are executed by a computer, the computer executes any one of the above-mentioned first aspects. Lidar point cloud clustering method.
本申请第六方面提供一种计算机程序产品,其特征在于,当计算机程序产品在计算设 备上运行时,使得计算设备执行上述第一方面任一项的一种激光雷达点云聚类方法。The sixth aspect of the present application provides a computer program product, which is characterized in that, when the computer program product is run on the computing device, the computing device is made to execute a lidar point cloud clustering method according to any one of the above-mentioned first aspects.
本申请的这些和其它方面在以下(多个)实施例的描述中会更加简明易懂。These and other aspects of the present application will be made more apparent in the following description of the embodiment(s).
附图说明Description of drawings
以下参照附图来进一步说明本申请的各个特征和各个特征之间的联系。附图均为示例性的,一些特征并不以实际比例示出,并且一些附图中可能省略了本申请所涉及领域的惯常的且对于本申请非必要的特征,或是额外示出了对于本申请非必要的特征,附图所示的各个特征的组合并不用以限制本申请。另外,在本说明书全文中,相同的附图标记所指代的内容也是相同的。具体的附图说明如下:The various features of the present application and the connections between the various features are further described below with reference to the accompanying drawings. The drawings are exemplary, some features are not shown to scale, and in some drawings, features customary in the field to which the application pertains and are not necessary for the application may be omitted, or additionally shown for the The application is not an essential feature, and the combination of the various features shown in the drawings is not intended to limit the application. In addition, in the whole specification, the content indicated by the same reference numeral is also the same. The specific accompanying drawings are explained as follows:
图1(a)为以激光雷达为原点构建的三维坐标系的主视图;Figure 1(a) is the front view of the three-dimensional coordinate system constructed with the lidar as the origin;
图1(b)为以激光雷达为原点构建的三维坐标系的侧视图;Figure 1(b) is a side view of the three-dimensional coordinate system constructed with the lidar as the origin;
图1(c)为以激光雷达为原点构建的三维坐标系的俯视图;Figure 1(c) is a top view of the three-dimensional coordinate system constructed with the lidar as the origin;
图2为本申请实施例提供的一种激光雷达点云聚类方法所应用的一种场景示意图;FIG. 2 is a schematic diagram of a scene applied by a lidar point cloud clustering method provided in an embodiment of the present application;
图3为本申请实施例提供的一种激光雷达点云聚类方法所应用的另外一种场景示意图;FIG. 3 is a schematic diagram of another scene applied by a lidar point cloud clustering method provided in the embodiment of the present application;
图4为本申请实施例提供的一种激光雷达点云聚类方法的流程图;FIG. 4 is a flowchart of a laser radar point cloud clustering method provided in an embodiment of the present application;
图5为本申请实施例提供的聚类参数表的构建流程图;Fig. 5 is the flow chart of constructing the clustering parameter table provided by the embodiment of the present application;
图6为本申请实施例提供的聚类参数表;Fig. 6 is the clustering parameter table provided by the embodiment of the present application;
图7为本申请实施例提供的点云数据网格示意图;FIG. 7 is a schematic diagram of a point cloud data grid provided by an embodiment of the present application;
图8为本申请实施例提供的一种激光雷达点云聚类装置的结构示意图;FIG. 8 is a schematic structural diagram of a laser radar point cloud clustering device provided in an embodiment of the present application;
图9为本申请实施例提供的一种计算设备的结构示意图。FIG. 9 is a schematic structural diagram of a computing device provided by an embodiment of the present application.
具体实施方式detailed description
说明书和权利要求书中的词语“第一、第二、第三等”或模块A、模块B、模块C等类似用语,仅用于区别类似的对象,不代表针对对象的特定排序,可以理解地,在允许的情况下可以互换特定的顺序或先后次序,以使这里描述的本申请实施例能够以除了在这里图示或描述的以外的顺序实施。The words "first, second, third, etc." or similar terms such as module A, module B, and module C in the description and claims are only used to distinguish similar objects, and do not represent a specific ordering of objects. It can be understood that Obviously, where permitted, the specific order or sequence can be interchanged such that the embodiments of the application described herein can be practiced in other sequences than those illustrated or described herein.
在以下的描述中,所涉及的表示步骤的标号,如S110、S120……等,并不表示一定会按此步骤执行,在允许的情况下可以互换前后步骤的顺序,或同时执行。In the following description, the involved reference numerals representing steps, such as S110, S120, etc., do not mean that this step must be executed, and the order of the previous and subsequent steps can be interchanged or executed simultaneously if allowed.
说明书和权利要求书中使用的术语“包括”不应解释为限制于其后列出的内容;它不排除其它的元件或步骤。因此,其应当诠释为指定所提到的所述特征、整体、步骤或部件的存在,但并不排除存在或添加一个或更多其它特征、整体、步骤或部件及其组群。因此,表述“包括装置A和B的设备”不应局限为仅由部件A和B组成的设备。The term "comprising" used in the description and claims should not be interpreted as being restricted to what is listed thereafter; it does not exclude other elements or steps. Therefore, it should be interpreted as specifying the presence of said features, integers, steps or components, but not excluding the presence or addition of one or more other features, integers, steps or components and groups thereof. Therefore, the expression "apparatus comprising means A and B" should not be limited to an apparatus consisting of parts A and B only.
本说明书中提到的“一个实施例”或“实施例”意味着与该实施例结合描述的特定特征、结构或特性包括在本申请的至少一个实施例中。因此,在本说明书各处出现的用语“在一个实施例中”或“在实施例中”并不一定都指同一实施例,但可以指同一实施例。此外,在一个或多个实施例中,能够以任何适当的方式组合各特定特征、结构或特性,如从本公开对本领域的普通技术人员显而易见的那样。Reference in this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, appearances of the phrases "in one embodiment" or "in an embodiment" in various places in this specification do not necessarily all refer to the same embodiment, but may. Furthermore, the particular features, structures or characteristics may be combined in any suitable manner, as would be apparent to one of ordinary skill in the art from this disclosure, in one or more embodiments.
除非另有定义,本文所使用的所有的技术和科学术语与属于本申请的技术领域的 技术人员通常理解的含义相同。如有不一致,以本说明书中所说明的含义或者根据本说明书中记载的内容得出的含义为准。另外,本文中所使用的术语只是为了描述本申请实施例的目的,不是旨在限制本申请。Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the technical field to which this application belongs. In case of any inconsistency, the meaning stated in this manual or the meaning derived from the content recorded in this manual shall prevail. In addition, the terms used herein are only for the purpose of describing the embodiments of the application, and are not intended to limit the application.
为了准确地对本申请中的技术内容进行叙述,以及为了准确地理解本申请,在对具体实施方式进行说明之前先对本说明书中所使用的术语给出如下的解释说明或定义:In order to accurately describe the technical content of this application, and in order to accurately understand this application, the following explanations or definitions are given to the terms used in this specification before describing the specific implementation methods:
1)激光雷达(Lidar):一种以发射激光束来探测目标相关特征量的雷达系统。其工作原理是向目标发射探测信号(激光束),然后将接收到的从目标反射回来的信号与发射的探测信号进行比较,作适当处理后就可以获得目标的相关信息,例如目标的距离、方位、高度等。1) Lidar (Lidar): A radar system that emits laser beams to detect target-related feature quantities. Its working principle is to send a detection signal (laser beam) to the target, and then compare the received signal reflected from the target with the transmitted detection signal, and after proper processing, the relevant information of the target can be obtained, such as the distance of the target, Azimuth, altitude, etc.
2)纵向夹角,即俯仰角(pitch):如图1所示,图1为以激光雷达为原点,构建的三维坐标系,其中,图1(a)为主视图,图1(b)为侧视图,图1(c)为俯视图。p点为激光雷达探测到的一点,p点投影到X-Y平面时,投影线与Y轴的夹角为纵向夹角,即图1中的α。2) The longitudinal angle, that is, the pitch angle (pitch): as shown in Figure 1, Figure 1 is a three-dimensional coordinate system constructed with the lidar as the origin, where Figure 1(a) is the main view, and Figure 1(b) It is a side view, and Figure 1(c) is a top view. Point p is a point detected by the lidar. When point p is projected onto the X-Y plane, the angle between the projection line and the Y axis is the longitudinal angle, which is α in Figure 1.
3)水平夹角,即水平旋转角(azimuth)或偏航角(yaw):如图1所示,p点投影到X-Y平面时,投影线与从雷达原点到p点间激光束间的夹角,即图1中ω。3) Horizontal angle, that is, horizontal rotation angle (azimuth) or yaw angle (yaw): as shown in Figure 1, when point p is projected onto the X-Y plane, the angle between the projection line and the laser beam from the origin of the radar to point p angle, which is ω in Figure 1.
4)线束数量:即激光雷达可以发射激光线的数量。例如:对于16线激光雷达来说,其对应的线束数量为16,对于64线激光雷达来说,其对应的线束数量为64,对于8线激光雷达来说,其对应的线束数量为8等。4) Number of beams: that is, the number of laser lines that the laser radar can emit. For example: for a 16-line lidar, the corresponding number of bundles is 16; for a 64-line lidar, the corresponding number of bundles is 64; for an 8-line lidar, the corresponding number of bundles is 8, etc. .
5)点云聚类:依据点云数据点的特征、相似度或距离,将点云数据点归并到若干个“类”或者“簇”。5) Point cloud clustering: According to the characteristics, similarity or distance of the point cloud data points, the point cloud data points are grouped into several "classes" or "clusters".
下面,首先对相关技术提供的一种基于激光雷达对点云数据聚类的方法进行分析:Next, first analyze a method for clustering point cloud data based on lidar provided by related technologies:
该方案的点云聚类方法为:首先,将激光雷达采集到的点云数据转换到相应逻辑平面上,其中,所述逻辑平面用来描述激光雷达原点、各个待聚类的点之间的相对位置关系;然后,对相应逻辑平面上的每个点进行广度优先搜索,找到每个点的同类点;最后将聚类结果输出。The point cloud clustering method of this solution is as follows: First, convert the point cloud data collected by the lidar to the corresponding logical plane, wherein the logical plane is used to describe the origin of the lidar and the relationship between each point to be clustered Relative positional relationship; then, perform a breadth-first search on each point on the corresponding logical plane to find the same point of each point; finally output the clustering results.
在该方案中,各环节均是基于实时在线计算得出的,计算量很高,对于本就宝贵的车载计算中心算力消耗较大,因此并不是适用于车载计算中。In this solution, all links are calculated based on real-time online calculations, and the amount of calculation is very high, which consumes a lot of computing power for the precious on-board computing center, so it is not suitable for on-board computing.
下面结合附图对本申请的实施例进行详细说明,首先,介绍本申请实施例提供的一种激光雷达点云聚类方法所应用的场景。The embodiments of the present application will be described in detail below with reference to the accompanying drawings. First, the application scenarios of a laser radar point cloud clustering method provided in the embodiments of the present application will be introduced.
本申请实施例提供的一种激光雷达点云聚类方法可应用于自动驾驶车辆(AV,Autonomous Vehicle)或智能驾驶车辆中。其应用场景可以为对车载激光雷达采集到的点云数据进行聚类处理,再利用聚类后的数据进行后续计算,例如:该后续计算可以为目标识别计算等。A laser radar point cloud clustering method provided in an embodiment of the present application can be applied to an autonomous vehicle (AV, Autonomous Vehicle) or an intelligent driving vehicle. Its application scenario can be to cluster the point cloud data collected by the vehicle lidar, and then use the clustered data to perform subsequent calculations. For example, the subsequent calculations can be target recognition calculations.
示例性的,如图2所示,为本申请实施例提供的一种激光雷达点云聚类方法所应用的一种场景。在本示例中,该激光雷达点云聚类方法可以内置于激光雷达10实体中。当激光雷达10采集到点云数据后,在激光雷达10本体中对点云数据进行聚类,然后通过网络等协议将聚类后的数据传输至主机端20以进行后续处理。Exemplarily, as shown in FIG. 2 , it is a scenario where a laser radar point cloud clustering method provided in the embodiment of the present application is applied. In this example, the lidar point cloud clustering method can be built into the lidar 10 entity. After the laser radar 10 collects point cloud data, the point cloud data is clustered in the laser radar 10 body, and then the clustered data is transmitted to the host terminal 20 through a protocol such as a network for subsequent processing.
示例性的,如图3所示,为本申请实施例提供的一种激光雷达点云聚类方法所应用的另外一种场景。在本示例中,该激光雷达点云聚类方法可以置于主机端20。激光雷达10 将采集到的原始点云数据传输至主机端20,在主机端20利用本申请实施例提供的激光雷达点云聚类方法对原始点云数据进行聚类,以获得聚类后的数据用于后续计算。Exemplarily, as shown in FIG. 3 , it is another scenario in which a lidar point cloud clustering method provided in the embodiment of the present application is applied. In this example, the laser radar point cloud clustering method can be placed on the host end 20 . The laser radar 10 transmits the collected original point cloud data to the host terminal 20, and the laser radar point cloud clustering method provided by the embodiment of the application is used at the host terminal 20 to cluster the original point cloud data to obtain the clustered The data are used for subsequent calculations.
应理解,图2和图3仅是示例性地展示了该激光雷达点云聚类方法所应用的场景,本申请并不限定该激光雷达点云聚类方法存储于哪个部件中,在其他应用场景中,可以根据实际需要任意改变该激光雷达点云聚类方法所存储的位置。It should be understood that Fig. 2 and Fig. 3 are only examples showing the scene where the lidar point cloud clustering method is applied, and the present application does not limit which component the lidar point cloud clustering method is stored in. In other applications In the scene, the storage location of the lidar point cloud clustering method can be changed arbitrarily according to actual needs.
下面参见各图,对本申请实施例提供的一种激光雷达点云聚类方法进行详细说明。在本申请实施例中,以激光雷达为例进行下述说明。A laser radar point cloud clustering method provided in an embodiment of the present application will be described in detail below with reference to each figure. In the embodiment of the present application, the laser radar is taken as an example for the following description.
如图4所示,为本申请实施例提供的激光雷达点云聚类方法的流程图。该过程主要包括步骤S110-S130,下面对各个步骤依次进行介绍:As shown in FIG. 4 , it is a flow chart of the lidar point cloud clustering method provided by the embodiment of the present application. The process mainly includes steps S110-S130, each step will be introduced in sequence below:
S110:获取障碍物上的第一点和激光雷达之间的第一距离、障碍物上的第二点和所述激光雷达之间的第二距离、以及所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息。S110: Obtain the first distance between the first point on the obstacle and the laser radar, the second distance between the second point on the obstacle and the laser radar, and the correspondence between the first point on the obstacle Angle information between the laser beam and the laser beam corresponding to the second point on the obstacle.
作为一种可选的实现方式,所述第一距离可以通过激光雷达发射至第一点的发射光和从第一点反射回激光雷达的反射光之间的时间差确定;同理,所述第二距离也可以通过激光雷达发射至第二点的发射光和从第二点反射回激光雷达的反射光之间的时间差确定。所述第一点对应的激光束和所述第二点对应的激光束之间的夹角信息可以通过激光雷达的出厂手册获得。As an optional implementation, the first distance may be determined by the time difference between the emitted light emitted by the laser radar to the first point and the reflected light reflected from the first point back to the laser radar; similarly, the first distance The second distance can also be determined by the time difference between the emitted light emitted by the lidar to the second point and the reflected light reflected from the second point back to the lidar. Angle information between the laser beam corresponding to the first point and the laser beam corresponding to the second point can be obtained from the factory manual of the laser radar.
应理解,所述夹角信息包括纵向夹角信息和水平夹角信息。例如,对于velodyne16线机械激光雷达来说,其可以发射16条激光束,每两条激光束之间可以形成一个pitch角(纵向夹角),但是每个pitch角的角度大小是不同的;对于velodyne16线机械激光雷达来说,其还包括一个固定的aimuth角(水平夹角)。It should be understood that the included angle information includes longitudinal included angle information and horizontal included angle information. For example, for the velodyne 16-line mechanical lidar, it can emit 16 laser beams, and a pitch angle (longitudinal angle) can be formed between every two laser beams, but the angle of each pitch angle is different; for For the velodyne 16-line mechanical lidar, it also includes a fixed aimuth angle (horizontal angle).
一般的,相邻点为同一类的概率较大,因此,本实施例中的所述第一点和所述第二点可以选择为相邻点。将其中一点作为参考点,来对另外一点进行聚类运算。Generally, adjacent points have a higher probability of being of the same class, therefore, the first point and the second point in this embodiment may be selected as adjacent points. Use one point as a reference point to perform clustering operations on the other point.
S120:根据步骤S110中获得的第一距离、所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息、从预先构建的聚类参数表中获取参考数据。S120: According to the first distance obtained in step S110, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, from the pre-built Get the reference data in the cluster parameter table.
在本步骤中,首先基于障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息,可以通过查表的形式确定所述聚类参数表其中一个维度;然后根据第一距离对应的激光雷达探测倍数,可以通过查表的形式确定所述聚类参数表另外一个维度;基于确定出的两个维度,可以确定出第二点与第一点进行聚类时在聚类参数表中对应的聚类参考数据。In this step, first, based on the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, the clustering can be determined in the form of table lookup One dimension of the parameter table; then according to the lidar detection multiple corresponding to the first distance, the other dimension of the clustering parameter table can be determined in the form of table lookup; based on the determined two dimensions, the second point and The corresponding clustering reference data in the clustering parameter table when the first point is clustered.
在本实施例中,所述聚类参数表根据所述激光雷达的内参构建,其中,激光雷达的内参包括:激光雷达相邻激光束之间的夹角信息和所述激光雷达的线束数量。在本实施例中,夹角信息包括纵向夹角的大小和水平夹角的大小;激光雷达的线束数量为激光雷达可发射的激光束的数量。In this embodiment, the clustering parameter table is constructed according to the internal reference of the lidar, wherein the internal reference of the lidar includes: angle information between adjacent laser beams of the lidar and the number of beams of the lidar. In this embodiment, the angle information includes the size of the longitudinal angle and the size of the horizontal angle; the number of beams of the laser radar is the number of laser beams that the laser radar can emit.
具体的,构建聚类参数表的过程可以包括步骤S121-S123,如图5所示,下面对构建聚类参数表的各个步骤进行介绍:Specifically, the process of constructing the clustering parameter table may include steps S121-S123, as shown in FIG. 5 , the steps of constructing the clustering parameter table are introduced below:
S121:获取所述激光雷达相邻激光束之间的夹角信息以及所述激光雷达的探测倍数。S121: Obtain angle information between adjacent laser beams of the lidar and a detection multiple of the lidar.
在本步骤中,所述激光雷达相邻激光束之间的夹角信息可以包括两方面的信息:第一 方面是相邻激光束之间夹角的位置关系,即相邻的激光束是纵向夹角还是水平夹角;第二方面是夹角的大小。一般的,相邻激光束之间的夹角信息在激光雷达出厂时已经设定好,只需要根据激光雷达的型号确定即可。In this step, the angle information between adjacent laser beams of the lidar may include two aspects of information: the first aspect is the positional relationship between the angles between adjacent laser beams, that is, the adjacent laser beams are longitudinal The angle is still a horizontal angle; the second aspect is the size of the angle. Generally, the angle information between adjacent laser beams has been set when the laser radar leaves the factory, and it only needs to be determined according to the model of the laser radar.
在本步骤中,所述激光雷达的探测倍数指从激光雷达原点出发,到各个激光点经历了多少倍的激光雷达距离分辨率。一般的,激光雷达的可探测倍数在激光雷达出厂时已经设定好,只需要根据激光雷达的型号确定即可。为了方便理解激光雷达的探测倍数的概念,可以说激光雷达的探测倍数是根据激光束的探测距离和激光雷达的探测距离分辨率确定的,具体的:将激光雷达的探测距离分辨率和激光雷达的探测倍数作乘法运算,即可得到该探测倍数下的探测距离。例如:激光雷达的分辨率为1m,到某一激光点的探测倍数为5,则该激光点对应的探测距离为1*5=5m。In this step, the detection multiple of the lidar refers to how many times the distance resolution of the lidar has been experienced from the origin of the lidar to each laser point. Generally, the detectable multiple of the lidar has been set when the lidar leaves the factory, and it only needs to be determined according to the model of the lidar. In order to facilitate the understanding of the concept of the detection multiple of the lidar, it can be said that the detection multiple of the lidar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar. The detection multiple can be multiplied, and the detection distance under the detection multiple can be obtained. For example: the resolution of the laser radar is 1m, and the detection multiple to a certain laser point is 5, then the detection distance corresponding to the laser point is 1*5=5m.
S122:以所述相邻激光束之间的夹角信息为第一维度、以所述探测倍数为第二维度构建所述聚类参数表的索引信息。其中,所述索引信息用于索引聚类参数表中的参考数据。S122: Construct index information of the clustering parameter table with angle information between adjacent laser beams as a first dimension and with the detection multiple as a second dimension. Wherein, the index information is used to index reference data in the clustering parameter table.
作为一种可选的实现方式,可以将所述第一维度作为行索引维度,将所述第二维度作为列索引维度。作为另外一种可选的实现方式,还可以将第一维度和第二维度互换,即:将所述第一维度作为列索引维度,将所述第二维度作为行索引维度。本申请不对其进行限制。As an optional implementation manner, the first dimension may be used as a row index dimension, and the second dimension may be used as a column index dimension. As another optional implementation manner, the first dimension and the second dimension may also be interchanged, that is, the first dimension is used as a column index dimension, and the second dimension is used as a row index dimension. This application does not limit it.
在本实施例中,所述第一维度的元素个数可以根据所述激光雷达的线束数量确定。例如:对于velodyne16线机械激光雷达来说,其线束数量为16,即该激光雷达可以发射16条激光束,每两条激光束之间形成一个纵向夹角,则该激光雷达对应15个纵向夹角,velodyne16线机械激光雷达拥有一个固定的水平夹角,因此,对于velodyne16线机械激光雷达其第一维度的元素个数为16。In this embodiment, the number of elements in the first dimension may be determined according to the number of beams of the lidar. For example: for the velodyne 16-line mechanical lidar, the number of beams is 16, that is, the lidar can emit 16 laser beams, and each two laser beams form a longitudinal angle, then the lidar corresponds to 15 longitudinal angles Angle, velodyne16-line mechanical lidar has a fixed horizontal angle, therefore, for velodyne16-line mechanical lidar, the number of elements in the first dimension is 16.
在本实施例中,所述第二维度的元素个数根据所述激光雷达的探测倍数确定。例如:对于一个激光雷达来说,其探测分辨率2cm,最大探测倍数为50,则该雷达的最大可探测距离为2*50=100cm。对于该雷达来说,其第二维度元素的个数由激光雷达的最大探测倍数决定,则第二维度元素的个数为50。应理解,此处的雷达分辨率以及最大探测倍数仅是为了帮助理解第二维度的元素个数进行的虚拟设置,并不代表对激光雷达参数的限制。In this embodiment, the number of elements in the second dimension is determined according to the detection multiple of the lidar. For example: for a laser radar, its detection resolution is 2cm, and the maximum detection multiple is 50, then the maximum detectable distance of the radar is 2*50=100cm. For this radar, the number of second-dimensional elements is determined by the maximum detection multiple of the lidar, so the number of second-dimensional elements is 50. It should be understood that the radar resolution and maximum detection multiple here are only virtual settings to help understand the number of elements in the second dimension, and do not represent limitations on lidar parameters.
S123:根据所述相邻激光束之间的夹角信息和所述探测倍数计算获得所述聚类参数表中的所述参考数据。S123: Calculate and obtain the reference data in the clustering parameter table according to the angle information between the adjacent laser beams and the detection multiple.
在本步骤中,所述参考数据包括第一阈值和第二阈值,其中,所述第一阈值大于所述第二阈值。为了方便理解,下文中也可以用上限数据来代替第一阈值,用下限数据代替第二阈值。应理解,由所述上限数据和所述下限数据构成范围数据,以对相关点进行聚类。In this step, the reference data includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold. For the convenience of understanding, the upper limit data may be used to replace the first threshold, and the lower limit data may be used to replace the second threshold. It should be understood that the range data is constituted by the upper limit data and the lower limit data to cluster related points.
在本步骤中,作为一种可选的实现方式,首先将所述探测倍数和激光雷达的分辨率做乘法运算,获得第三距离。然后基于第三距离和预设距离阈值确定所述上限数据;并基于第三距离、相邻激光束之间的夹角信息和预设角度阈值确定下限数据。In this step, as an optional implementation manner, firstly, the detection multiple is multiplied by the resolution of the lidar to obtain the third distance. Then determine the upper limit data based on the third distance and a preset distance threshold; and determine the lower limit data based on the third distance, angle information between adjacent laser beams and a preset angle threshold.
作为一种可选的实现方式,可以按下式确定所述上限数据upper:As an optional implementation, the upper limit data upper can be determined as follows:
upper=ε+d 1 upper=ε+d 1
作为一种可选的实现方式,可以按下式确定所述下限数据floor:As an optional implementation, the lower limit data floor can be determined as follows:
Figure PCTCN2022105047-appb-000001
Figure PCTCN2022105047-appb-000001
其中,d 1=n*f,d 1为激光雷达点云中的点对应探测距离,即第三距离,n为激光雷达的探测倍数,f为激光雷达的探测距离分辨率,ε为预设距离阈值,β为相邻激光束之间的夹角,θ为预设角度阈值。 Among them, d 1 =n*f, d 1 is the detection distance corresponding to the point in the lidar point cloud, that is, the third distance, n is the detection multiple of the lidar, f is the detection distance resolution of the lidar, and ε is the preset Distance threshold, β is the angle between adjacent laser beams, θ is the preset angle threshold.
S130:根据所述第一距离、所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息从预先构建的聚类参数表中获取参考数据。S130: According to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, from the pre-built clustering parameter table Get reference data from.
在本步骤中,当第二距离在所述参考数据的上下限范围内时,则所述障碍物上的第二点与所述障碍物上的第一点为同一类;相应的,当第二距离不在所述参考数据的上下限范围内时,所述障碍物上的第二点与所述障碍物上的第一点则不是同一类。In this step, when the second distance is within the upper and lower limits of the reference data, the second point on the obstacle is of the same type as the first point on the obstacle; correspondingly, when the second When the second distance is not within the upper and lower limits of the reference data, the second point on the obstacle is not of the same type as the first point on the obstacle.
下面参照图6-图7,对本申请实施例提供的一种激光雷达点云聚类方法的具体实现方式进行详细说明。Referring to FIG. 6-FIG. 7, the specific implementation of a laser radar point cloud clustering method provided in the embodiment of the present application will be described in detail.
本申请实施例提供的激光雷达点云聚类方法是基于聚类参数表进行的聚类,因此,首先介绍聚类参数表的构建过程。应理解,该聚类参数表可以是预先构建获得的。The laser radar point cloud clustering method provided in the embodiment of the present application is clustering based on the clustering parameter table. Therefore, the construction process of the clustering parameter table is firstly introduced. It should be understood that the clustering parameter table may be pre-built and obtained.
作为一种可选的实现方式,聚类参数表可以包括两个维度,第一维度可以是相邻激光束之间的夹角信息,具体的,所述夹角信息可以包括水平夹角的大小和纵向夹角的大小。第二维度可以是激光雷达的探测倍数,其中,激光雷达的探测倍数是根据激光束的探测距离和激光雷达的探测距离分辨率确定的。例如,激光雷达可探测的最大距离为120m,该激光雷达的探测距离分辨率为1m,则该激光雷达对应的探测倍数为0-120中任意一整数数值。另外,所述夹角信息和所述激光雷达的探测倍数均可以由激光雷达出厂手册获得。例如:velodyne16线机械雷达的第一维度包括15个pitch角度和一个固定的aimuth角度,即16个数据。其第二个维度则包括32500个数据,因此,对于velodyne16线机械雷达来说,其聚类参数表共用16*32500个数据(元素)。As an optional implementation, the clustering parameter table may include two dimensions, the first dimension may be angle information between adjacent laser beams, specifically, the angle information may include the size of the horizontal angle and the size of the vertical angle. The second dimension may be the detection multiple of the laser radar, wherein the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar. For example, the maximum detectable distance of the lidar is 120m, and the detection distance resolution of the lidar is 1m, so the corresponding detection multiple of the lidar is any integer value from 0 to 120. In addition, both the angle information and the detection multiple of the lidar can be obtained from the lidar factory manual. For example: the first dimension of the velodyne 16-line mechanical radar includes 15 pitch angles and a fixed aimuth angle, that is, 16 data. Its second dimension includes 32500 data, therefore, for the velodyne 16-line mechanical radar, its clustering parameter table shares 16*32500 data (elements).
具体的,聚类参数表中的一个元素a(参考数据)由一个上限数据upper和一个下限数据floor组成,即a=(floor,upper)。其中,floor和upper的计算过程可参见上述实施例,本实施例不再对其进行赘述。Specifically, an element a (reference data) in the clustering parameter table is composed of an upper limit data upper and a lower limit data floor, that is, a=(floor, upper). For the calculation process of floor and upper, reference may be made to the foregoing embodiments, which will not be repeated in this embodiment.
如图6所示,为基于上述聚类参数表的构建方法构建得到的聚类参数表的示意图。在该图中:列索引维度为相邻激光束之间的夹角信息,行索引维度为激光雷达的探测倍数,其中,0-m为激光雷达的探测倍数,也可以理解为m倍的激光雷达的探测距离分辨率,其上限为激光雷达的可探测的最大距离与距离分辨率的商值;pitch 1-pitch m为相邻激光束之间对应的纵向夹角,aimuth 1-aimuth w为相邻激光束之间对应的水平夹角;upper为聚类参数表中元素的上限,floor为聚类参数表中元素的下限。应理解,此图中水平夹角和纵向夹角在聚类参数表中的位置只是一种示例,并不构成限制。另外,在行列索引也可以互换,即列索引为激光雷达的探测倍数,行索引为相邻激光束之间的夹角信息。 As shown in FIG. 6 , it is a schematic diagram of a clustering parameter table constructed based on the construction method of the above clustering parameter table. In this figure: the column index dimension is the angle information between adjacent laser beams, and the row index dimension is the detection multiple of the laser radar, where 0-m is the detection multiple of the laser radar, which can also be understood as m times the laser The detection distance resolution of the radar, the upper limit is the quotient of the maximum detectable distance and the distance resolution of the lidar; pitch 1 -pitch m is the corresponding longitudinal angle between adjacent laser beams, and aimuth 1 -aimuth w is The corresponding horizontal angle between adjacent laser beams; upper is the upper limit of the elements in the clustering parameter table, and floor is the lower limit of the elements in the clustering parameter table. It should be understood that the positions of the horizontal angle and the vertical angle in the clustering parameter table in this figure are just an example and do not constitute a limitation. In addition, the row and column indexes can also be interchanged, that is, the column index is the detection multiple of the lidar, and the row index is the angle information between adjacent laser beams.
然后介绍基于图6示出的聚类参数表对激光雷达点云进行聚类的过程。Then, the process of clustering the lidar point cloud based on the clustering parameter table shown in Fig. 6 is introduced.
如图7所示,为激光雷达采集到的点云数据网格示意图(只示出部分数据)。图中,A周围有A1、A2两个相邻点,若将A看作障碍物上的第一点,即参考点,分别判断A1、A2是否与A为同一类的过程如下:As shown in Figure 7, it is a schematic diagram of the point cloud data grid collected by the lidar (only part of the data is shown). In the figure, there are two adjacent points A1 and A2 around A. If A is regarded as the first point on the obstacle, that is, the reference point, the process of judging whether A1 and A2 are of the same type as A is as follows:
首先,获取参考点A和待聚类的点A1、A2之间的夹角信息。即获取参考点A与待聚类的点A1之间为水平夹角且夹角的大小为x,获取参考点A与待聚类的点A2之间为 垂直夹角且夹角的大小为y。基于参考点A和待聚类的点A1、A2之间的夹角信息,可以从图6示出的聚类参数表中确定各自对应的列信息。First, obtain the angle information between the reference point A and the points A1 and A2 to be clustered. That is, obtain the horizontal angle between the reference point A and the point A1 to be clustered and the size of the angle is x, and obtain the vertical angle between the reference point A and the point A2 to be clustered and the size of the angle is y . Based on the angle information between the reference point A and the points A1 and A2 to be clustered, corresponding column information can be determined from the clustering parameter table shown in FIG. 6 .
然后,将参考点A到激光雷达原点的距离换算成激光雷达的探测倍数,则可以从图6示出的聚类参数表中确定参考点A对应的行信息。Then, the distance from the reference point A to the origin of the laser radar is converted into the detection multiple of the laser radar, and the row information corresponding to the reference point A can be determined from the clustering parameter table shown in FIG. 6 .
最后,通过判断待聚类的点A1和待聚类的点A2分别到激光雷达原点的距离是否在对应元素的上下限范围内,来确定待聚类的点A1和待聚类的点A2与参考点A是否为同一类。若该距离在对应元素的上下限范围内,该点与参考点为同一类,否则,二者不是同一类。Finally, by judging whether the distance between the point A1 to be clustered and the point A2 to be clustered and the origin of the lidar is within the upper and lower limits of the corresponding elements, the relationship between the point A1 to be clustered and the point A2 to be clustered is determined. Whether the reference point A is of the same class. If the distance is within the upper and lower limits of the corresponding element, the point is of the same class as the reference point, otherwise, the two are not of the same class.
本申请的另一实施例提供一种雷达点云聚类装置,该装置可以由软件系统实现,也可以由硬件设备实现,还可以由软件系统和硬件设备结合来实现。Another embodiment of the present application provides a radar point cloud clustering device, which may be implemented by a software system, may also be implemented by a hardware device, and may also be implemented by a combination of a software system and a hardware device.
应理解,图8仅是示例性地展示了一种激光雷达点云聚类装置的一种结构化示意图,本申请并不限定对该头部姿态测量装置中功能模块的划分。如图8所示,该激光雷达点云聚类装置可以在逻辑上分成多个模块,每个模块可以具有不同的功能,每个模块的功能由可以计算设备中的处理器读取并执行存储器中的指令来实现。示例性的,该雷达点云聚类装置包括第一获取模块710、第二获取模块720和聚类模块730。在一种可选的实现方式中,该激光雷达点云聚类装置用于执行图4所示的步骤S110-S130中描述的内容。具体的,可以为:第一获取模块710,用于获取障碍物上的第一点和激光雷达之间的第一距离、障碍物上的第二点和所述激光雷达之间的第二距离、以及所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息。第二获取模块720,用于根据所述第一距离、所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息,从预先构建的聚类参数表中获取参考数据;其中,所述聚类参数表是根据所述激光雷达的内参构建的。聚类模块730,用于根据所述参考数据和所述第二距离对所述障碍物上的第二点和所述障碍物上的第一点进行聚类。It should be understood that FIG. 8 is only an exemplary structural diagram showing a lidar point cloud clustering device, and the present application does not limit the division of functional modules in the head pose measurement device. As shown in Figure 8, the lidar point cloud clustering device can be logically divided into multiple modules, each module can have different functions, and the functions of each module can be read and executed by the processor in the computing device memory Instructions in to achieve. Exemplarily, the radar point cloud clustering device includes a first acquisition module 710 , a second acquisition module 720 and a clustering module 730 . In an optional implementation manner, the lidar point cloud clustering apparatus is used to execute the content described in steps S110-S130 shown in FIG. 4 . Specifically, it may be: a first acquisition module 710, configured to acquire the first distance between the first point on the obstacle and the laser radar, and the second distance between the second point on the obstacle and the laser radar , and angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle. The second acquiring module 720 is configured to, according to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, from Obtain reference data from a pre-built clustering parameter table; wherein, the clustering parameter table is constructed according to the internal reference of the lidar. A clustering module 730, configured to cluster the second point on the obstacle and the first point on the obstacle according to the reference data and the second distance.
具体的,所述第二获取模块720中的激光雷达的内参包括:激光雷达相邻激光束之间的夹角信息和所述激光雷达的线束数量。Specifically, the internal parameters of the lidar in the second acquisition module 720 include: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
具体的,所述第二获取模块720中的所述聚类参数表是根据所述激光雷达的内参构建的,具体包括:获取子模块721、构建子模块722和计算子模块723。其中,获取子模块721,用于获取所述激光雷达相邻激光束之间的夹角信息以及所述激光雷达的探测倍数;其中,所述激光雷达的探测倍数根据所述激光束的探测距离和所述激光雷达的探测距离分辨率确定。构建子模块722,用于以所述相邻激光束之间的夹角信息为第一维度、以所述探测倍数为第二维度构建所述聚类参数表的索引信息。计算子模块723,用于根据所述相邻激光束之间的夹角信息和所述探测倍数计算获得所述聚类参数表中的所述参考数据。Specifically, the clustering parameter table in the second acquisition module 720 is constructed according to the internal reference of the lidar, and specifically includes: an acquisition submodule 721 , a construction submodule 722 and a calculation submodule 723 . Wherein, the obtaining sub-module 721 is used to obtain the angle information between adjacent laser beams of the lidar and the detection multiple of the laser radar; wherein, the detection multiple of the laser radar is based on the detection distance of the laser beam and the detection range resolution of the lidar is determined. The construction sub-module 722 is configured to construct the index information of the clustering parameter table with the angle information between the adjacent laser beams as the first dimension and the detection multiple as the second dimension. The calculation sub-module 723 is configured to calculate and obtain the reference data in the clustering parameter table according to the angle information between the adjacent laser beams and the detection multiple.
作为一种可选的实现方式,所述夹角信息包括纵向夹角的大小和水平夹角的大小。As an optional implementation manner, the included angle information includes the size of the longitudinal included angle and the size of the horizontal included angle.
作为一种可选的实现方式,所述构建子模块722中的所述第一维度的元素个数根据所述激光雷达的线束数量确定。As an optional implementation manner, the number of elements in the first dimension in the construction submodule 722 is determined according to the number of beams of the lidar.
作为一种可选的实现方式,所述构建子模块中722的所述第二维度的元素个数根据所述激光雷达的探测倍数确定。As an optional implementation manner, the number of elements in the second dimension of 722 in the construction submodule is determined according to the detection multiple of the lidar.
作为一种可选的实现方式,所述激光雷达的探测倍数根据所述激光束的探测距离和所述激光雷达的探测距离分辨率确定,包括:As an optional implementation, the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including:
将所述激光束的探测距离和所述激光雷达的探测距离分辨率作商,以得到所述激光雷达的探测倍数。The detection distance of the laser beam is multiplied by the detection distance resolution of the laser radar to obtain the detection multiple of the laser radar.
作为一种可选的实现方式,所述计算子模块723中的所述参考数据包括第一阈值和第二阈值,其中,所述第一阈值大于所述第二阈值。As an optional implementation manner, the reference data in the calculation submodule 723 includes a first threshold and a second threshold, where the first threshold is greater than the second threshold.
作为一种可选的实现方式,所述计算子模块723,具体用于:根据所述探测倍数和所述激光雷达的探测距离分辨率确定第三距离;基于所述第三距离和预设距离阈值确定所述第一阈值;基于所述第三距离、所述相邻激光束之间的夹角信息和预设角度阈值确定所述第二阈值。作为一种可选的实现方式,所述第二获取模块720,具体用于:根据所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息获取所述第一维度;根据所述第一距离确定所述第一距离对应的探测倍数,并根据所述第一距离对应的探测倍数获取所述第二维度;基于所述第一维度和所述第二维度,从所述预先构建的聚类参数表查表获得相应的参考数据。As an optional implementation, the calculation submodule 723 is specifically configured to: determine a third distance according to the detection multiple and the detection range resolution of the lidar; based on the third distance and a preset distance The threshold determines the first threshold; and determines the second threshold based on the third distance, angle information between adjacent laser beams and a preset angle threshold. As an optional implementation manner, the second acquisition module 720 is specifically configured to: according to the difference between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle Obtain the first dimension from the angle information between them; determine the detection multiple corresponding to the first distance according to the first distance, and obtain the second dimension according to the detection multiple corresponding to the first distance; based on the For the first dimension and the second dimension, corresponding reference data are obtained from the pre-built clustering parameter table lookup table.
作为一种可选的实现方式,所述聚类模块730,具体用于:若所述第二距离在所述参考数据范围内,则所述障碍物上的第二点与所述障碍物上的第一点为同一类。As an optional implementation manner, the clustering module 730 is specifically configured to: if the second distance is within the range of the reference data, the second point on the obstacle is The first point is the same class.
其中,该实施例中各个功能模块的具体实现方式可以参见上述方法实施例中的介绍,本实施例不再对其进行赘述。Wherein, for the specific implementation manner of each functional module in this embodiment, reference may be made to the introduction in the foregoing method embodiments, and details are not repeated in this embodiment.
本申请的另一实施例提供一种激光雷达,该激光雷达包括:Another embodiment of the present application provides a laser radar, which includes:
通信接口;Communication Interface;
至少一个处理器,其与所述通信接口连接;以及:at least one processor connected to the communication interface; and:
至少一个存储器,其与所述处理器连接并存储有程序指令,所述程序指令当被所述至少一个处理器执行时,使得所述至少一个处理器执行上述实施例所述的一种激光雷达点云聚类方法,本实施例不再对激光雷达点云聚类方法进行赘述。At least one memory, which is connected to the processor and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes the laser radar described in the above embodiments For the point cloud clustering method, this embodiment does not repeat the lidar point cloud clustering method.
本申请的另一实施例提供一种车辆,该车辆可以包括上一实施例中的激光雷达和处理器。该处理器用于利用上述实施例所述的一种激光雷达点云聚类方法对所述激光雷达采集到的点云数据进行聚类。本申请不再对其进行赘述。Another embodiment of the present application provides a vehicle, which may include the laser radar and the processor in the previous embodiment. The processor is used to cluster the point cloud data collected by the laser radar by using the laser radar point cloud clustering method described in the above embodiment. This application will not repeat it.
图9是本申请实施例提供的一种计算设备900的结构性示意性图。该计算设备900包括:处理器910、存储器920、通信接口930。FIG. 9 is a schematic structural diagram of a computing device 900 provided by an embodiment of the present application. The computing device 900 includes: a processor 910 , a memory 920 , and a communication interface 930 .
应理解,该图9中所示的计算设备900中的通信接口930可以用于与其他设备之间进行通信。It should be understood that the communication interface 930 in the computing device 900 shown in FIG. 9 can be used to communicate with other devices.
其中,该处理器910可以与存储器920连接。该存储器920可以用于存储该程序代码和数据。因此,该存储器920可以是处理器910内部的存储单元,也可以是与处理器910独立的外部存储单元,还可以是包括处理器910内部的存储单元和与处理器910独立的外部存储单元的部件。Wherein, the processor 910 may be connected to the memory 920 . The memory 920 can be used to store the program codes and data. Therefore, the memory 920 may be a storage unit inside the processor 910, or an external storage unit independent of the processor 910, or may include a storage unit inside the processor 910 and an external storage unit independent of the processor 910. part.
可选的,计算设备900还可以包括总线。其中,存储器920、通信接口930可以通过总线与处理器910连接。总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。Optionally, computing device 900 may further include a bus. Wherein, the memory 920 and the communication interface 930 may be connected to the processor 910 through a bus. The bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (Extended Industry Standard Architecture, EISA) bus or the like. The bus can be divided into address bus, data bus, control bus and so on.
应理解,在本申请实施例中,该处理器910可以采用中央处理单元(central processing unit,CPU)。该处理器还可以是其它通用处理器、数字信号处理器(digital  signal processor,DSP)、专用集成电路(Application specific integrated circuit,ASIC)、现成可编程门矩阵(field programmable gate Array,FPGA)或者其它可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。或者该处理器910采用一个或多个集成电路,用于执行相关程序,以实现本申请实施例所提供的技术方案。It should be understood that, in this embodiment of the present application, the processor 910 may be a central processing unit (central processing unit, CPU). The processor can also be other general-purpose processors, digital signal processors (digital signal processor, DSP), application specific integrated circuits (Application specific integrated circuit, ASIC), off-the-shelf programmable gate matrix (field programmable gate Array, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. Alternatively, the processor 910 adopts one or more integrated circuits for executing related programs, so as to implement the technical solutions provided by the embodiments of the present application.
该存储器920可以包括只读存储器和随机存取存储器,并向处理器910提供指令和数据。处理器910的一部分还可以包括非易失性随机存取存储器。例如,处理器910还可以存储设备类型的信息。The memory 920 may include read-only memory and random-access memory, and provides instructions and data to the processor 910 . A portion of processor 910 may also include non-volatile random access memory. For example, processor 910 may also store device type information.
在计算设备900运行时,所述处理器910执行所述存储器920中的计算机执行指令执行上述方法的操作步骤。When the computing device 900 is running, the processor 910 executes the computer-executed instructions in the memory 920 to perform the operation steps of the above method.
应理解,根据本申请实施例的计算设备900可以对应于执行根据本申请各实施例的方法中的相应主体,并且计算设备900中的各个模块的上述和其它操作和/或功能分别为了实现本实施例各方法的相应流程,为了简洁,在此不再赘述。It should be understood that the computing device 900 according to the embodiment of the present application may correspond to a corresponding body executing the methods according to the various embodiments of the present application, and the above-mentioned and other operations and/or functions of the modules in the computing device 900 are for realizing the present invention For the sake of brevity, the corresponding processes of the methods in the embodiments are not repeated here.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those skilled in the art can appreciate that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essence of the technical solution of the present application or a part of the technical solution can be embodied in the form of software products, the computer software products are stored in a storage medium, and include several instructions to make a computer device (which can It is a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时用于执行一种激光雷达点云聚类方法,该方法包括上述各个实施例所描述的方案中的至少之一。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it is used to perform a method for clustering a laser radar point cloud. At least one of the described programs.
本申请实施例的计算机存储介质,可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是,但不限于,电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。The computer storage medium in the embodiments of the present application may use any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof. More specific examples (non-exhaustive list) of computer readable storage media include: electrical connections with one or more leads, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer readable signal medium may include a data signal carrying computer readable program code in baseband or as part of a carrier wave. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. .
计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括、但不限于无线、电线、光缆、无线电等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wires, optical cables, radio, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络,包括局域网(LAN)或广域网(WAN),连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language - such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as via the Internet using an Internet service provider). connect).
注意,上述仅为本申请的较佳实施例及所运用的技术原理。本领域技术人员会理解,本申请不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本申请的保护范围。因此,虽然通过以上实施例对本申请进行了较为详细的说明,但是本申请不仅仅限于以上实施例,在不脱离本申请的构思的情况下,还可以包括更多其他等效实施例,均属于本申请的保护范畴。Note that the above are only preferred embodiments and technical principles used in this application. Those skilled in the art will understand that the present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present application. Therefore, although the present application has been described in detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, all of which belong to protection scope of this application.

Claims (26)

  1. 一种激光雷达点云聚类方法,其特征在于,包括:A laser radar point cloud clustering method is characterized in that, comprising:
    获取障碍物上的第一点和激光雷达之间的第一距离、障碍物上的第二点和所述激光雷达之间的第二距离、以及所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息;Obtain the first distance between the first point on the obstacle and the laser radar, the second distance between the second point on the obstacle and the laser radar, and the laser corresponding to the first point on the obstacle Angle information between the beam and the laser beam corresponding to the second point on the obstacle;
    根据所述第一距离、所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息,从预先构建的聚类参数表中获取参考数据;其中,所述聚类参数表是根据所述激光雷达的内参构建的;According to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, from the pre-built clustering parameter table Obtaining reference data; wherein, the clustering parameter table is constructed according to the internal reference of the lidar;
    根据所述参考数据和所述第二距离对所述障碍物上的第二点和所述障碍物上的第一点进行聚类。Clustering the second point on the obstacle and the first point on the obstacle according to the reference data and the second distance.
  2. 根据权利要求1所述的方法,其特征在于,所述激光雷达的内参包括:激光雷达相邻激光束之间的夹角信息和所述激光雷达的线束数量。The method according to claim 1, wherein the internal reference of the lidar includes: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
  3. 根据权利要求2所述的方法,其特征在于,所述聚类参数表是根据所述激光雷达的内参构建的,具体包括:The method according to claim 2, wherein the clustering parameter table is constructed according to the internal reference of the lidar, specifically comprising:
    获取所述激光雷达相邻激光束之间的夹角信息以及所述激光雷达的探测倍数;其中,所述激光雷达的探测倍数根据所述激光束的探测距离和所述激光雷达的探测距离分辨率确定;Obtain the angle information between adjacent laser beams of the lidar and the detection multiple of the laser radar; wherein, the detection multiple of the laser radar is distinguished according to the detection distance of the laser beam and the detection distance of the laser radar rate determination;
    以所述相邻激光束之间的夹角信息为第一维度、以所述探测倍数为第二维度构建所述聚类参数表的索引信息;Constructing the index information of the clustering parameter table with the included angle information between the adjacent laser beams as the first dimension and the detection multiple as the second dimension;
    根据所述相邻激光束之间的夹角信息和所述探测倍数计算获得所述聚类参数表中的所述参考数据。The reference data in the clustering parameter table is calculated and obtained according to the angle information between the adjacent laser beams and the detection multiple.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述夹角信息包括纵向夹角的大小和水平夹角的大小。The method according to any one of claims 1-3, wherein the included angle information includes the size of the longitudinal included angle and the size of the horizontal included angle.
  5. 根据权利要求3所述的方法,其特征在于,所述第一维度的元素个数根据所述激光雷达的线束数量确定。The method according to claim 3, wherein the number of elements in the first dimension is determined according to the number of beams of the lidar.
  6. 根据权利要求3所述的方法,其特征在于,所述第二维度的元素个数根据所述激光雷达的探测倍数确定。The method according to claim 3, characterized in that the number of elements in the second dimension is determined according to the detection multiple of the lidar.
  7. 根据权利要求3所述的方法,其特征在于,所述激光雷达的探测倍数根据所述激光束的探测距离和所述激光雷达的探测距离分辨率确定,包括:The method according to claim 3, wherein the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including:
    将所述激光束的探测距离和所述激光雷达的探测距离分辨率作商,以得到所述激光雷达的探测倍数。The detection distance of the laser beam is multiplied by the detection distance resolution of the laser radar to obtain the detection multiple of the laser radar.
  8. 根据权利要求3所述的方法,其特征在于,所述参考数据包括第一阈值和第二阈值,其中,所述第一阈值大于所述第二阈值。The method according to claim 3, wherein the reference data includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold.
  9. 根据权利要求8所述的方法,其特征在于,所述根据所述相邻激光束之间的夹角信息和所述探测倍数计算获得所述聚类参数表中的参考数据,包括:The method according to claim 8, wherein said calculating and obtaining the reference data in the clustering parameter table according to the angle information between the adjacent laser beams and the detection multiple includes:
    根据所述探测倍数和所述激光雷达的探测距离分辨率确定第三距离;determining a third distance according to the detection multiple and the detection distance resolution of the lidar;
    基于所述第三距离和预设距离阈值确定所述第一阈值;determining the first threshold based on the third distance and a preset distance threshold;
    基于所述第三距离、所述相邻激光束之间的夹角信息和预设角度阈值确定所述第二阈 值。The second threshold is determined based on the third distance, angle information between adjacent laser beams and a preset angle threshold.
  10. 根据权利要求3所述的方法,其特征在于,所述根据所述第一距离、所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息从预先构建的聚类参数表中获取参考数据,包括:The method according to claim 3, characterized in that, according to the first distance, between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle Obtain reference data from the pre-built clustering parameter table, including:
    根据所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息获取所述第一维度;Acquiring the first dimension according to angle information between a laser beam corresponding to a first point on the obstacle and a laser beam corresponding to a second point on the obstacle;
    根据所述第一距离确定所述第一距离对应的探测倍数,并根据所述第一距离对应的探测倍数获取所述第二维度;determining a detection multiple corresponding to the first distance according to the first distance, and acquiring the second dimension according to the detection multiple corresponding to the first distance;
    基于所述第一维度和所述第二维度,从所述预先构建的聚类参数表查表获得相应的参考数据。Based on the first dimension and the second dimension, corresponding reference data is obtained from the pre-built clustering parameter table lookup table.
  11. 根据权利要求1所述的方法,其特征在于,所述根据所述参考数据和所述第二距离对所述障碍物上的第二点和所述障碍物上的第一点进行聚类,包括:The method according to claim 1, wherein the second point on the obstacle and the first point on the obstacle are clustered according to the reference data and the second distance, include:
    若所述第二距离在所述参考数据范围内,则所述障碍物上的第二点与所述障碍物上的第一点为同一类。If the second distance is within the reference data range, the second point on the obstacle is of the same type as the first point on the obstacle.
  12. 一种雷达点云聚类装置,其特征在于,包括:A radar point cloud clustering device is characterized in that it comprises:
    第一获取模块,用于获取障碍物上的第一点和激光雷达之间的第一距离、障碍物上的第二点和所述激光雷达之间的第二距离、以及所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息;The first acquiring module is used to acquire the first distance between the first point on the obstacle and the laser radar, the second distance between the second point on the obstacle and the laser radar, and the Angle information between the laser beam corresponding to the first point and the laser beam corresponding to the second point on the obstacle;
    第二获取模块,用于根据所述第一距离、所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息,从预先构建的聚类参数表中获取参考数据;其中,所述聚类参数表是根据所述激光雷达的内参构建的;The second acquisition module is configured to, according to the first distance, the angle information between the laser beam corresponding to the first point on the obstacle and the laser beam corresponding to the second point on the obstacle, from the previous Acquiring reference data in the clustering parameter table constructed; Wherein, the clustering parameter table is constructed according to the internal reference of the lidar;
    聚类模块,用于根据所述参考数据和所述第二距离对所述障碍物上的第二点和所述障碍物上的第一点进行聚类。A clustering module, configured to cluster the second point on the obstacle and the first point on the obstacle according to the reference data and the second distance.
  13. 根据权利要求12所述的装置,其特征在于,所述第二获取模块中的激光雷达的内参包括:激光雷达相邻激光束之间的夹角信息和所述激光雷达的线束数量。The device according to claim 12, wherein the internal reference of the lidar in the second acquisition module includes: angle information between adjacent laser beams of the lidar and the number of beams of the lidar.
  14. 根据权利要求12所述的装置,其特征在于,所述第二获取模块中的所述聚类参数表是根据所述激光雷达的内参构建的,具体包括:The device according to claim 12, wherein the clustering parameter table in the second acquisition module is constructed according to the internal reference of the lidar, specifically comprising:
    获取子模块,用于获取所述激光雷达相邻激光束之间的夹角信息以及所述激光雷达的探测倍数;其中,所述激光雷达的探测倍数根据所述激光束的探测距离和所述激光雷达的探测距离分辨率确定;The obtaining sub-module is used to obtain the angle information between adjacent laser beams of the laser radar and the detection multiple of the laser radar; wherein, the detection multiple of the laser radar is based on the detection distance of the laser beam and the The detection range resolution of lidar is determined;
    构建子模块,用于以所述相邻激光束之间的夹角信息为第一维度、以所述探测倍数为第二维度构建所述聚类参数表的索引信息;Constructing a submodule for constructing index information of the clustering parameter table with the included angle information between the adjacent laser beams as the first dimension and the detection multiple as the second dimension;
    计算子模块,用于根据所述相邻激光束之间的夹角信息和所述探测倍数计算获得所述聚类参数表中的所述参考数据。The calculation sub-module is used to calculate and obtain the reference data in the clustering parameter table according to the angle information between the adjacent laser beams and the detection multiple.
  15. 根据权利要求12-14任一项所述的装置,其特征在于,所述夹角信息包括纵向夹角的大小和水平夹角的大小。The device according to any one of claims 12-14, wherein the included angle information includes a size of a longitudinal included angle and a size of a horizontal included angle.
  16. 根据权利要求14所述的装置,其特征在于,所述构建子模块中的所述第一维度的元素个数根据所述激光雷达的线束数量确定。The device according to claim 14, wherein the number of elements in the first dimension in the building sub-module is determined according to the number of beams of the lidar.
  17. 根据权利要求14所述的装置,其特征在于,所述构建子模块中的所述第二维度的 元素个数根据所述激光雷达的探测倍数确定。The device according to claim 14, wherein the number of elements in the second dimension in the construction submodule is determined according to the detection multiple of the lidar.
  18. 根据权利要求14所述的装置,其特征在于,所述激光雷达的探测倍数根据所述激光束的探测距离和所述激光雷达的探测距离分辨率确定,包括:The device according to claim 14, wherein the detection multiple of the laser radar is determined according to the detection distance of the laser beam and the detection distance resolution of the laser radar, including:
    将所述激光束的探测距离和所述激光雷达的探测距离分辨率作商,以得到所述激光雷达的探测倍数。The detection distance of the laser beam is multiplied by the detection distance resolution of the laser radar to obtain the detection multiple of the laser radar.
  19. 根据权利要求14所述的装置,其特征在于,所述计算子模块中的所述参考数据包括第一阈值和第二阈值,其中,所述第一阈值大于所述第二阈值。The device according to claim 14, wherein the reference data in the calculation submodule includes a first threshold and a second threshold, wherein the first threshold is greater than the second threshold.
  20. 根据权利要求19所述的装置,其特征在于,所述计算子模块,具体用于:The device according to claim 19, wherein the calculation submodule is specifically used for:
    根据所述探测倍数和所述激光雷达的探测距离分辨率确定第三距离;determining a third distance according to the detection multiple and the detection distance resolution of the lidar;
    基于所述第三距离和预设距离阈值确定所述第一阈值;determining the first threshold based on the third distance and a preset distance threshold;
    基于所述第三距离、所述相邻激光束之间的夹角信息和预设角度阈值确定所述第二阈值。The second threshold is determined based on the third distance, angle information between adjacent laser beams and a preset angle threshold.
  21. 根据权利要求14所述的装置,其特征在于,所述第二获取模块,具体用于:The device according to claim 14, wherein the second acquiring module is specifically used for:
    根据所述障碍物上的第一点对应的激光束和所述障碍物上的第二点对应的激光束之间的夹角信息获取所述第一维度;Acquiring the first dimension according to angle information between a laser beam corresponding to a first point on the obstacle and a laser beam corresponding to a second point on the obstacle;
    根据所述第一距离确定所述第一距离对应的探测倍数,并根据所述第一距离对应的探测倍数获取所述第二维度;determining a detection multiple corresponding to the first distance according to the first distance, and acquiring the second dimension according to the detection multiple corresponding to the first distance;
    基于所述第一维度和所述第二维度,从所述预先构建的聚类参数表查表获得相应的参考数据。Based on the first dimension and the second dimension, corresponding reference data is obtained from the pre-built clustering parameter table lookup table.
  22. 根据权利要求12所述的装置,其特征在于,所述聚类模块,具体用于:The device according to claim 12, wherein the clustering module is specifically used for:
    若所述第二距离在所述参考数据范围内,则所述障碍物上的第二点与所述障碍物上的第一点为同一类。If the second distance is within the reference data range, the second point on the obstacle is of the same type as the first point on the obstacle.
  23. 一种激光雷达,其特征在于,包括:A laser radar, is characterized in that, comprises:
    通信接口;Communication Interface;
    至少一个处理器,其与所述通信接口连接;以及at least one processor connected to the communication interface; and
    至少一个存储器,其与所述处理器连接并存储有程序指令,所述程序指令当被所述至少一个处理器执行时,使得所述至少一个处理器执行权利要求1-11任一项所述的一种激光雷达点云聚类方法。At least one memory, which is connected to the processor and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes the program described in any one of claims 1-11. A LiDAR point cloud clustering method.
  24. 一种车辆,其特征在于,包括:A vehicle, characterized in that it comprises:
    激光雷达,用于采集点云数据;Lidar, used to collect point cloud data;
    处理器,用于利用权利要求1-11任一项所述的一种激光雷达点云聚类方法对所述激光雷达采集到的点云数据进行聚类。A processor, configured to cluster the point cloud data collected by the laser radar by using the laser radar point cloud clustering method described in any one of claims 1-11.
  25. 一种计算机可读存储介质,其上存储有程序指令,其特征在于,所述程序指令当被计算机执行时,使得所述计算机执行权利要求1-11任一项所述的一种激光雷达点云聚类方法。A computer-readable storage medium on which program instructions are stored, wherein when the program instructions are executed by a computer, the computer executes the laser radar point described in any one of claims 1-11. cloud clustering method.
  26. 一种计算机程序产品,其特征在于,当所述计算机程序产品在计算设备上运行时,使得所述计算设备执行权利要求1-11任一项所述的一种激光雷达点云聚类方法。A computer program product, characterized in that, when the computer program product is run on a computing device, the computing device is made to execute the lidar point cloud clustering method according to any one of claims 1-11.
PCT/CN2022/105047 2021-07-13 2022-07-12 Laser radar point cloud clustering method and apparatus, laser radar, and vehicle WO2023284705A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110791099.1A CN115685224A (en) 2021-07-13 2021-07-13 Laser radar point cloud clustering method and device, laser radar and vehicle
CN202110791099.1 2021-07-13

Publications (1)

Publication Number Publication Date
WO2023284705A1 true WO2023284705A1 (en) 2023-01-19

Family

ID=84919901

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/105047 WO2023284705A1 (en) 2021-07-13 2022-07-12 Laser radar point cloud clustering method and apparatus, laser radar, and vehicle

Country Status (2)

Country Link
CN (1) CN115685224A (en)
WO (1) WO2023284705A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115792944A (en) * 2023-01-29 2023-03-14 深圳煜炜光学科技有限公司 Road rapid calibration method and system matched with laser radar
CN115877373A (en) * 2023-02-20 2023-03-31 上海几何伙伴智能驾驶有限公司 Method for realizing point cloud radar clustering parameter design by combining laser radar information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170248693A1 (en) * 2016-02-26 2017-08-31 Hyundai Motor Company Vehicle and controlling method thereof integrating radar and lidar
CN110458055A (en) * 2019-07-29 2019-11-15 江苏必得科技股份有限公司 A kind of obstacle detection method and system
CN111060923A (en) * 2019-11-26 2020-04-24 武汉乐庭软件技术有限公司 Multi-laser-radar automobile driving obstacle detection method and system
CN111144228A (en) * 2019-12-05 2020-05-12 山东超越数控电子股份有限公司 Obstacle identification method based on 3D point cloud data and computer equipment
CN111337941A (en) * 2020-03-18 2020-06-26 中国科学技术大学 Dynamic obstacle tracking method based on sparse laser radar data
CN112379673A (en) * 2020-11-26 2021-02-19 广东盈峰智能环卫科技有限公司 Robot self-following method and device based on single-line laser radar and robot

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170248693A1 (en) * 2016-02-26 2017-08-31 Hyundai Motor Company Vehicle and controlling method thereof integrating radar and lidar
CN110458055A (en) * 2019-07-29 2019-11-15 江苏必得科技股份有限公司 A kind of obstacle detection method and system
CN111060923A (en) * 2019-11-26 2020-04-24 武汉乐庭软件技术有限公司 Multi-laser-radar automobile driving obstacle detection method and system
CN111144228A (en) * 2019-12-05 2020-05-12 山东超越数控电子股份有限公司 Obstacle identification method based on 3D point cloud data and computer equipment
CN111337941A (en) * 2020-03-18 2020-06-26 中国科学技术大学 Dynamic obstacle tracking method based on sparse laser radar data
CN112379673A (en) * 2020-11-26 2021-02-19 广东盈峰智能环卫科技有限公司 Robot self-following method and device based on single-line laser radar and robot

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115792944A (en) * 2023-01-29 2023-03-14 深圳煜炜光学科技有限公司 Road rapid calibration method and system matched with laser radar
CN115792944B (en) * 2023-01-29 2023-04-25 深圳煜炜光学科技有限公司 Road rapid calibration method and system matched with laser radar
CN115877373A (en) * 2023-02-20 2023-03-31 上海几何伙伴智能驾驶有限公司 Method for realizing point cloud radar clustering parameter design by combining laser radar information
CN115877373B (en) * 2023-02-20 2023-04-28 上海几何伙伴智能驾驶有限公司 Method for realizing point cloud radar clustering parameter design by combining laser radar information

Also Published As

Publication number Publication date
CN115685224A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
WO2023284705A1 (en) Laser radar point cloud clustering method and apparatus, laser radar, and vehicle
WO2022156176A1 (en) Multi-radar and camera joint calibration method, system and device, and storage medium
KR102125959B1 (en) Method and apparatus for determining a matching relationship between point cloud data
CN109059902B (en) Relative pose determination method, device, equipment and medium
JP6745328B2 (en) Method and apparatus for recovering point cloud data
WO2021104497A1 (en) Positioning method and system based on laser radar, and storage medium and processor
US11295144B2 (en) Obstacle classification method and apparatus based on unmanned vehicle, device, and storage medium
CN113050993A (en) Laser radar-based detection method and device and computer-readable storage medium
WO2023040737A1 (en) Target location determining method and apparatus, electronic device, and storage medium
WO2022206517A1 (en) Target detection method and apparatus
WO2022213632A1 (en) Millimeter-wave radar calibration method and apparatus, and electronic device and roadside device
CN113762003B (en) Target object detection method, device, equipment and storage medium
CN114488099A (en) Laser radar coefficient calibration method and device, electronic equipment and storage medium
CN113325388A (en) Method and device for filtering floodlight noise of laser radar in automatic driving
CN113569958A (en) Laser point cloud data clustering method, device, equipment and medium
KR20230036960A (en) Obstacle detection method and device, automatic driving vehicle, equipment and storage medium
WO2022007858A1 (en) Image-based recognition method and apparatus, and vehicle
CN113296120B (en) Obstacle detection method and terminal
Cheng et al. SLBAF-Net: Super-Lightweight bimodal adaptive fusion network for UAV detection in low recognition environment
CN112465908B (en) Object positioning method, device, terminal equipment and storage medium
CN112418316B (en) Robot repositioning method and device, laser robot and readable storage medium
WO2021189420A1 (en) Data processing method and device
WO2022083529A1 (en) Data processing method and apparatus
CN115578716A (en) Vehicle-mounted data processing method, device, equipment and medium
WO2022007465A1 (en) Method for determining covariance, and related apparatus

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: 22841341

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE