The present invention relates in general to the field of vehicle/robot localization, and in more particular, to a method and an apparatus for representing environmental elements, a system, and a vehicle/robot.
The vehicle/robot localization technology has been researched for many years, and many of the proposed benefits have been demonstrated in varied applications. In this technology, it is important to segment points in a real-time point cloud acquired by a vehicle/robot or in a point cloud map into point clusters and model the point clusters to represent environmental elements in the physical world. For representing the environmental elements, a hierarchical model such as the hierarchical SGM (Signatured Gaussian Mixture Model) model may help to achieve progressive levels of details, and can improve the efficiency of the algorithms for matching and recognition. For the hierarchical SGM model as used here, the related prior works include:
Region Growing NDT[1]: the point cloud is segmented using the region growing algorithm in 3D space and each cluster of point cloud are modeled by the NDT (Normal Distribution Transform) model.
Mult-Layered NDT[2]: the point cloud is segmented using the Octree and within each cell the points are fitted using a NDT model.
However, the prior works like the Region Growing NDT and the Mult-Layered NDT are normally segmented the point cloud by 3D grid cells which may cause discontinuities at borders of the cells. In addition, the grid cells divide the point cloud in an equal way, where two separate parts of the point cloud may accidentally fall into one cell and get wrongly modeled. So the resulted model may easily get inaccurate.
In view of the foregoing, there is a need to provide a method and an apparatus for representing environmental elements, a system, and a vehicle/robot that enables more accurate segmentation of point clusters from a point cloud, so that more accurate models can be established to represent environmental elements.
An aspect of the present invention is to provide a novel method and an apparatus for representing environmental elements.
Another aspect of the present invention is to provide a system.
Another aspect of the present invention is to provide a vehicle/robot.
In accordance with an exemplary embodiment of the present invention, there is provided a computer-implemented method for representing environmental elements, comprising: receiving (101) scan data comprising at least a point cloud representing at least an environmental element from a sensor; segmenting (102) the point cloud into point clusters; partitioning (103) the point clusters into hierarchical grids; establishing (104) a Gaussian distribution for points in each cell of each of the hierarchical grids; and constructing (105) a Gaussian Mixture Model based on the Gaussian distribution for representing the environmental element.
Above method for representing environmental elements of this disclosure enables more accurate segmentation of point clusters from a point cloud, so that more accurate models can be established to represent environmental elements.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein segmenting (102) the point cloud into point clusters further comprising segmenting the point cloud into point clusters using the region growing algorithm with a predetermined criterion of smooth.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein the predetermined criterion of smooth being derived with following steps: for each point of the point cloud, getting (201) its neighboring points; transforming (202) the neighboring points into a local operation plane; for each point of the point cloud, calculating (203) principal curvatures of the local surface; calculating (204) surface curvature at one point of the point cloud to the direction of another point of the point cloud, surface curvature at the another point to the direction of the one point, and torsion of surface from the one point to the direction of the another point; and establishing (205) the predetermined criterion of smooth as the absolute value of the surface curvature at the one point to the direction of the another point being smaller than a threshold, the absolute value of the surface curvature at the another point to the direction of the one point being smaller than a threshold, and the absolute value of the torsion of surface from the one point to the direction of the another point being smaller than a threshold.
In this disclosure, by segmenting the point cloud into point clusters using above predetermined criterion of smooth, each of the resulted point cluster is a 2D manifold and can be projected onto a plain. Comparing to the resulted point cluster is usually a 3D manifold by dividing the point cloud by the 3D grid cell in the prior art, point clusters segmented by using the predetermined criterion of smooth in this disclosure will be more accurate, so that more accurate models can be established.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein transforming (202) the neighboring points into a local operation plane further comprising: fitting a local operation plane at a point of the neighboring points by using the Eigenvalue Decomposition of a matrix, and transforming the neighboring points into the local operation plane.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein for each point of the point cloud, calculating (203) principal curvatures of the local surface further comprising: for each point, calculating local quadratic surface parameters in the local operation plane, constructing a Hessian Matrix for local quadratic surface based on the local quadratic surface parameters, and calculating eigenvalues of the Hessian Matrix as the principal curvatures of the local surface.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein
the surface curvature Kij at the one point Gpi to the direction of the another point Gpi being denoted as
the surface curvature Kji at the another point Gpj to the direction of the one point Gpi being denoted as
the torsion of surface τij from the one point Gpi to the direction of the another point Gpj being denoted as
wherein
dij represents the vector at the one point Gpi to the another point Gpj, vi1, vi2, vi3 are the column vectors of the rotation matrix from the original point cloud coordinate system to the local operation plane coordinate system related to the one point Gpi, vj1, vj2, vj3 are the column vectors of the rotation matrix from the original point cloud coordinate system to the local operation plane coordinate system related to the another point Gpj, Hi is the Hessian Matrix related to the one point Gpi, Hj is the Hessian Matrix related to the another point Gpj.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein partitioning (103) the point clusters into hierarchical grids further comprising partitioning the point clusters into hierarchical grids by using the Quadtree.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein establishing (104) a Gaussian distribution for points in each cell of each of the hierarchical grids further comprising establishing the Gaussian distribution for points in a cell of a higher layer based on the Gaussian distribution for points in each child cell of the cell in a lower layer adjacent to the higher layer.
In accordance with an exemplary embodiment of the present invention, according to above-said method, wherein at the lowest layer of the hierarchical grids, for points in a cell of the lowest layer {p1, p2, . . . , pn} with pi=(xi, yi, zi)T, the mean μ and covariance Σ of the Gaussian distribution are
for each higher layer of the hierarchical grids, calculate the Gaussian distribution for points in a cell of the higher layer by minimizing the sum of L2 distances between the Gaussian distribution for points in the cell of the higher layer with the Gaussian distribution for points in each child cell of the cell in the lower layer adjacent to the higher layer, where
L2=N(0|μF−μCi,ΣF+ΣCi)
wherein μF and ΣF are the mean and the covariance of the Gaussian distribution for the cell of the higher layer, respectively, μCi and ΣCi are the mean and the covariance of the Gaussian distribution for the ith child cell of the cell.
In this disclosure, the Gaussian distribution of a father cell of a higher layer is obtained by optimizing the L2 distance, it is more efficient than directly calculating the Gaussian distribution using the method for determining the Gaussian distribution of a cell of the lowest layer, and it is possible to avoid calculating the distribution from a number of original points. Moreover, directly calculating the Gaussian distribution is not easy to directly remove noise points, and since the L2 distance method described above is based on the existing Gaussian model, it can more easily to tick out the data that does not meet the conditions (Gaussian distributions with low similarity to the target distribution).
In accordance with an exemplary embodiment of the present invention, there is provided an apparatus for representing environmental elements, comprising: scan data receive module (501) configured to receive scan data comprising at least a point cloud representing at least an environmental element from a sensor; point cloud segment module (502) configured to segment the point cloud into point clusters; hierarchical grids partition module (503) configured to partition the point clusters into hierarchical grids; Gaussian distribution establish module (504) configured to establish a Gaussian distribution for points in each cell of each of the hierarchical grids; and Gaussian Mixture Model construct module (505) configured to construct a Gaussian Mixture Model based on the Gaussian distribution for representing the environmental element.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the point cloud segment module (502) further configured to: segment the point cloud into point clusters using the region growing algorithm with a predetermined criterion of smooth.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the predetermined criterion of smooth being derived with following steps: for each point of the point cloud, getting (201) its neighboring points; transforming (202) the neighboring points into a local operation plane; for each point of the point cloud, calculating (203) principal curvatures of the local surface; calculating (204) surface curvature at one point of the point cloud to the direction of another point of the point cloud, surface curvature at the another point to the direction of the one point, and torsion of surface from the one point to the direction of the another point; and establishing (205) the predetermined criterion of smooth as the absolute value of the surface curvature at the one point to the direction of the another point being smaller than a threshold, the absolute value of the surface curvature at the another point to the direction of the one point being smaller than a threshold, and the absolute value of the torsion of surface from the one point to the direction of the another point being smaller than a threshold.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein transforming (202) the neighboring points into a local operation plane further comprising: fitting a local operation plane at a point of the neighboring points by using the Eigenvalue Decomposition of a matrix, and transforming the neighboring points into the local operation plane.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein for each point of the point cloud, calculating (203) principal curvatures of the local surface further comprising: for each point, calculating local quadratic surface parameters in the local operation plane, constructing a Hessian Matrix for local quadratic surface based on the local quadratic surface parameters, and calculating eigenvalues of the Hessian Matrix as the principal curvatures of the local surface.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the surface curvature Kij at the one point Gpi to the direction of the another point Gpj being denoted as
the surface curvature Kji at the another point Gpj to the direction of the one point Gpi being denoted as
the torsion of surface τij from the one point Gpi to the direction of the another point Gpj being denoted as
wherein
dij represents the vector at the one point Gpi to the another point Gpj, vi1, vi2, vi3 are the column vectors of the rotation matrix from the original point cloud coordinate system to the local operation plane coordinate system related to the one point Gpi, vj1, vj2, vj3 are the column vectors of the rotation matrix from the original point cloud coordinate system to the local operation plane coordinate system related to the another point Gpj, Hi is the Hessian Matrix related to the one point Gpi, Hj is the Hessian Matrix related to the another point Gpj.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the hierarchical grids partition module (503) further configured to: partition the point clusters into hierarchical grids by using the Quadtree.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the Gaussian distribution establish module (504) further configured to establish the Gaussian distribution for points in a cell of a higher layer based on the Gaussian distribution for points in each child cell of the cell in a lower layer adjacent to the higher layer.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein at the lowest layer of the hierarchical grids, for points in a cell {p1, p2, . . . , pn} with pi=(xi, yi, zi)T, calculate the mean μ and covariance Σ of the Gaussian distribution by
for each higher layer of the hierarchical grids, calculate the Gaussian distribution for points in a cell of the higher layer by minimizing the sum of L2 distances between the Gaussian distribution for points in the cell of the higher layer with the Gaussian distribution for points in each child cell of the cell in the lower layer adjacent to the higher layer, where
L2=N(0|μF−μCi,ΣF+ΣCi)
wherein μF and ΣF are the mean and the covariance of the Gaussian distribution for the cell of the higher layer, respectively, μCi and ΣCi are the mean and the covariance of the Gaussian distribution for the ith child cell of the cell.
In accordance with an exemplary embodiment of the present invention, there is provided a system for representing environmental elements comprising a sensor (601) which detects at least an environmental element and outputs scan data comprising at least a point cloud, and an apparatus for representing environmental elements described above.
In accordance with an exemplary embodiment of the present invention, there is provided a vehicle/robot comprising a system for representing environmental elements described above.
This disclosure provides an effect that more accurate segmentation of point clusters from a point cloud is enabled, so that more accurate models can be established to represent environmental elements.
Further scope of applicability of the present disclosure will become apparent from the detailed description given hereinafter. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the disclosure, are given by way of illustration only, since various changes and modifications within the spirit and scope of the disclosure will become apparent to those skilled in the art from the following detailed description.
Other objects, advantages and novel features of the present invention will become apparent from the following detailed description of one or more preferred embodiments when considered in conjunction with the accompanying drawings.
The above and other aspects and advantages of the present disclosure will become apparent from the following detailed description of exemplary embodiments taken in conjunction with the accompanying drawings which illustrate, by way of example, the principles of the disclosure.
In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the described exemplary embodiments. It will be apparent, however, to one skilled in the art that the described embodiments can be practiced without some or all of these specific details. In other exemplary embodiments, well known structures or process steps have not been described in detail in order to avoid unnecessarily obscuring the concept of the present disclosure.
A general idea of the present disclosure is to provide a novel method and an apparatus for representing environmental elements, a system, and a vehicle/robot.
Referring first to
Hereinafter, a computer-implemented method 100 for representing environmental elements in accordance with an exemplary embodiment of the present disclosure will be described in detail.
The method 100 starts with receiving 101 scan data comprising at least a point cloud representing at least an environmental element from a sensor.
As used herein, a sensor is a unit that can obtain environmental information in the physical world. A sensor detects at least an environment element and outputs scan data comprising at least a point cloud, the at least a point cloud representing the at least an environment element.
Usually, a sensor includes LiDAR (Light Imaging, Detection, And Ranging), camera, radar, and ultrasonic sensor.
LiDAR is an optical remote sensing technique that can measure a distance to a target or other properties of the target by using light, such as laser light. LiDAR can create a point cloud by measuring a large number of points on surface of object and output the point cloud as data. The laser data points in the point cloud can indicate position information of object in the environment with respect to the sensor and/or other information about the environment of the sensor.
Camera, such as a still camera, a video camera, etc., is configured to capture a plurality of images of the environment in which a vehicle is located. The camera may be capable of recording images in the infrared, visible, and/or ultraviolet frequency ranges. The camera may be configured to generate a two-dimensional image indicating a distance and/or heading of object in the environment.
Radar may represent an object detection system that utilizes radio signals to sense objects. In addition to sensing objects, radar may additionally be configured to perform digital signal processing and may be configured to sense the range, altitude, speed and/or heading of objects.
Ultrasonic sensor is a sensor developed from the use of ultrasonic characteristics, which mainly using a detection mode of direct reflection. The object to be detected that is located in front of the sensor causes the object to be detected by partially transmitting the emitted sound wave back to the receiver of the sensor. Usually, an ultrasonic sensor is configured to detect the distance and/or orientation of an object.
Then the method 100 goes to segmenting 102 the point cloud into point clusters. Here, point clusters in the point cloud can be generated by using the region growing algorithm with a predetermined criterion of smooth as will be described below. That is, the point cloud is segmented into point clusters using the region growing algorithm with a predetermined criterion of smooth.
Referring to
Alternatively, as can be understood, the predetermined criterion of smooth can be derived with but not limited to the steps as shown in
Hereinafter, a computer-implemented method 200 for deriving above-said predetermined criterion of smooth in accordance with an exemplary embodiment of the present disclosure will be described in detail.
The method 200 starts with for each point of the point cloud, getting 201 its neighboring points. Here, For each point Gp of the point cloud, its neighboring points acquired can be denoted as
P={Gnep1,Gnep2, . . . ,Gnepn},
wherein
Gp=(x,y,z)T, (1)
Gnepi=(xi,yi,zi)T. (2)
Above formulas (1) and (2) show the coordinates of the point Gp and the neighboring points Gnepi in the original point cloud coordinates system.
As used herein, the neighboring points for each point can be found by direct indexing if the point cloud is organized or by using the kd-tree if the point cloud is un-organized. Here, “organized” means points of the point cloud are ordered to be stored, for example, relative to the laser scanning sequence of the sensor, in other words, the relative positional relationship among points of the point cloud is known. On the contrary, “un-organized” means points of the point cloud are disordered to be stored, in other words, the relative positional relationship among points of the point cloud is unknown.
Then the method 200 goes to transforming 202 the neighboring points into a local operation plane. Here, a local operation plane at a point p of the neighboring points can be fitted by using the Eigenvalue Decomposition of the matrix C, wherein
In above formulas (3),
and R is the rotation matrix from the original point cloud coordinate system to the local operation plane coordinates system, where
R=(v1v2v3). (5)
Here, v1, v2 and v3 are the column vectors.
Then, the neighboring points Gnep1, Gnep2, . . . , Gnepn can be transformed into the local operation plane coordinate system by following formulas (6)
Lnepi=R(Gnepi−Gp),i=1,2, . . . ,n. (6)
Then the method 200 goes to for each point of the point cloud, calculating 203 principal curvatures of the local surface.
Specifically, for the point Gp, denote
wherein, above formula (7) shows the coordinates of the point Gp in the local operation plane coordinates system.
Then, by executing following formula (10), calculating local quadratic surface parameters {axx, axy, ayy} in the local operation plane,
(axx,axy,ayy)T=(ATA)−1ATb. (10)
Next, based on above local quadratic surface parameters, constructing the Hessian Matrix H for the local quadratic surface as shown in following formula (11),
Then, by following formula (12), executing the Eigenvalue Decomposition for H,
The K1 and K2 calculated by above formula (12) are the eigenvalues of H and at the same time the principal curvatures of the local surface at point Gp.
Next, the method 200 goes to calculating 204 surface curvature at one point of the point cloud to the direction of another point of the point cloud, surface curvature at the another point to the direction of the one point, and torsion of surface from the one point to the direction of the another point.
Specifically, denote the principal curvatures of Gpi as Ki1, Ki2 and those of Gpj as Kj1, Kj2, and denote the column vectors of the matrix R in above formula (5) for Gpi as vi1, vi2, vi3 and those for Gpj as vj1, vj2, vj3, and denote the Matrix H in above formula (11) as Hi for Gpi and that for Gpj as Hj.
Denote
wherein, Kij represents the surface curvature at Gpi to the direction of Gpj, dij represents the vector at Gpi to Gpj,
wherein, Kji represents the surface curvature at Gpj to the direction of Gpi,
wherein, τij represents torsion of the surface from Gpi to the direction of Gpj, τji represents torsion of the surface from Gpj to the direction of Gpi.
The method 200 ends with establishing 205 the predetermined criterion of smooth as the absolute value of the surface curvature at the one point to the direction of the another point being smaller than a threshold, the absolute value of the surface curvature at the another point to the direction of the one point being smaller than a threshold, and the absolute value of the torsion of surface from the one point to the direction of the another point being smaller than a threshold. Specifically, for example, for Gpi and Gpj, the predetermined criterion of smooth established is shown as following formula (16):
with Kth and τth being the thresholds.
As used herein, in this disclosure, by segmenting the point cloud into point clusters using above predetermined criterion of smooth, each of the resulted point clusters is a 2D manifold and can be projected onto a plain. Comparing to each of the resulted point clusters is usually a 3D manifold by dividing the point cloud by 3D grid cells in the prior art, point clusters segmented by using the predetermined criterion of smooth in this disclosure will be more accurate, so that more accurate models can be established.
Returning back to
Usually, for hierarchical grids by segmenting a point cluster by using the Quadtree, the highest layer of the hierarchical grids has one cell, and the cells of the next each layer of the hierarchical grids can be obtained by segmenting each cell of its adjacent higher layer of the hierarchical grids into four cells, that is, one cell (father cell of the higher layer of the hierarchical grids in the adjacent layers of the hierarchical grids corresponds to four cells (child cells) of the lower layer of the hierarchical grids. For example, when a point cluster is partitioned into for layers of the hierarchical grids, the highest layer of the hierarchical grids has one cell (father cell), and the following lower layers of the hierarchical grids will correspondingly have 4 cells, 16 cells, 64 cells, respectively. For example,
Then, the method 100 goes to establishing 104 a Gaussian distribution for points in each cell of each of the hierarchical grids According to the definition of Gaussian distributions, it is known that the geometric shape of a Gaussian distribution in a two dimensional space resembles that of an ellipse, and that the geometric shape of a Gaussian distribution in a three dimensional space resembles that of an ellipsoid.
In this disclosure, establishing 104 a Gaussian distribution for points in each cell of each of the hierarchical grids further comprising establishing the Gaussian distribution for points in a cell of a higher layer based on the Gaussian distribution for points in each child cell of the cell in a lower layer adjacent to the higher layer.
Specifically, at the lowest layer of the hierarchical grids, for points belonging to a cell {p1, p2, . . . , pn} with pi=(xi, yi, zi)T, the mean μ and covariance Σ of the Gaussian distribution N (μ, Σ) corresponding to the cell are obtained by following formulas (17) and (18),
Further, for each higher layer of the hierarchical grids, denote the Gaussian distribution corresponding to a cell of a higher layer of the hierarchical grids having points belonging therein as N (μF, ΣF), and denote the Gaussian distributions corresponding to the child cells of above cell (father cell) in the lower layer adjacent to the higher layer having points belonging therein as N (μC1, ΣC1), N (μC2, ΣC2), . . . , N (μCm, ΣCm), m≤4.
Denote a L2 distance between two Gaussian distributions N (μF, ΣF) and N (μCi, ΣCi) as
L2=N(0|μF−μCi,ΣF+ΣCi), (19)
by adjusting the mean μF and covariance ΣF of the Gaussian distribution N (μF, ΣF) corresponding to the father cell to minimize the sum of the L2 distances between the Gaussian distribution N (μF, ΣF) with the Gaussian distributions N (μC1, ΣC1), N (μC2, ΣC2), . . . , N (μCm, ΣCm), m≤4 of the child cells of the father cell to obtain the mean μF and covariance ΣF of the Gaussian distribution N (μF, ΣF).
As used herein, the L2 distance expression shown by the above formula (19) represents the probability density value when the independent variable of the Gaussian distribution is zero. This L2 distance measures the degree of dissimilarity of the two Gaussian distributions with a range of values 0-1. When the value is 0, the two Gaussian distributions are completely the same, and when the value is 1, the two Gaussian distributions are very dissimilar.
As an alternative, the Gaussian distribution of a father cell of a higher layer can also be calculated directly using the method for determining the Gaussian distribution of a cell of the lowest layer. However, by optimizing the L2 distance as described above to obtain the Gaussian distribution of a father cell of a higher layer, it is more efficient than directly calculating the Gaussian distribution using the method for determining the Gaussian distribution of a cell of the lowest layer, and it is possible to avoid calculating the distribution from a number of original points. Moreover, directly calculating the Gaussian distribution is not easy to directly remove noise points, and since the L2 distance method described above is based on the existing Gaussian model, it can more easily to tick out the data that does not meet the conditions (Gaussian distributions with low similarity to the target distribution).
Next, the method 100 ends with constructing 105 a Gaussian Mixture Model based on the Gaussian distribution for representing the environmental element.
Specifically, for each layer of the hierarchical grids, constructing a Gaussian Mixture Model based on the established one or more Gaussian distributions corresponding to the one or more cells of this layer of the hierarchical grids. Thus, for a number of layers of the hierarchical grids partitioned for each point cluster, a number of Gaussian Mixture Models with one Gaussian Mixture Model corresponding to one layer of the hierarchical grids will be constructed. Here, for a point cluster, one Gaussian Mixture Model corresponding to one layer of the hierarchical grids represents one level of precision, and one can choose a Gaussian Mixture Model with required level of precision from all the Gaussian Mixture Models for a point cluster.
As used herein, the constructed Gaussian Mixture Model is used for representing the environmental element. Specifically, a signature for identifying the environmental element will be generated, and a Signatured Gaussian Mixture Model comprising the Gaussian Mixture Model and the signature will be constructed.
As shown in
It is noted that the scan data receive module 501, the point cloud segment module 502, the hierarchical grids partition module 503, the Gaussian distribution establish module 504 and the Gaussian Mixture Model construct module 505 of the apparatus 500 can be configured to perform corresponding operations in method 100, and the descriptions directed to method 100 are equally applicable to the apparatus 500.
In accordance with an exemplary embodiment of the present invention, wherein the point cloud segment module 502 further configured to segment the point cloud into point clusters using the region growing algorithm with the predetermined criterion of smooth.
In accordance with an exemplary embodiment of the present invention, wherein the predetermined criterion of smooth being derived with the steps shown in
In accordance with an exemplary embodiment of the present invention, wherein transforming 202 the neighboring points into a local operation plane further comprising: fitting a local operation plane at a point of the neighboring points by using the Eigenvalue Decomposition of a matrix, and transforming the neighboring points into the local operation plane.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein for each point of the point cloud, calculating 203 principal curvatures of the local surface further comprising: for each point, calculating local quadratic surface parameters in the local operation plane, constructing a Hessian Matrix for local quadratic surface based on the local quadratic surface parameters, and calculating eigenvalues of the Hessian Matrix as the principal curvatures of the local surface.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the surface curvature Kij at the one point Gpi to the direction of the another point Gpj being denoted as
the surface curvature Kji at the another point Gpj to the direction of the one point Gpi being denoted as
the torsion of surface τij from the one point Gpi to the direction of the another point Gpj being denoted as
wherein
dij represents the vector at the one point Gpi to the another point Gpj, vi1, vi2, vi3 are the column vectors of the rotation matrix from the original point cloud coordinate system to the local operation plane coordinate system related to the one point Gpi, vj1, vj2, vj3 are the column vectors of the rotation matrix from the original point cloud coordinate system to the local operation plane coordinate system related to the another point Gpj, Hi is the Hessian Matrix related to the one point Gpi, Hj is the Hessian Matrix related to the another point Gpj.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the hierarchical grids partition module (503) further configured to: partition the point clusters into hierarchical grids by using the Quadtree.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein the Gaussian distribution establish module (504) further configured to establish the Gaussian distribution for points in a cell of a higher layer based on the Gaussian distribution for points in each child cell of the cell in a lower layer adjacent to the higher layer.
In accordance with an exemplary embodiment of the present invention, according above-said apparatus, wherein at the lowest layer of the hierarchical grids, for points in a cell {p1, p2, . . . , pn} with pi=(xi, yi, zi)T, calculate the mean μ and covariance Σ of the Gaussian distribution by
for each higher layer of the hierarchical grids, calculate the Gaussian distribution for points in a cell of the higher layer by minimizing the sum of L2 distances between the Gaussian distribution for points in the cell of the higher layer with the Gaussian distribution for points in each child cell of the cell in the lower layer adjacent to the higher layer, where
L2=N(0|μF−μCi,ΣF+ΣCi)
wherein μF and ΣF are the mean and the covariance of the Gaussian distribution for the cell of the higher layer, respectively, μCi and ΣCi are the mean and the covariance of the Gaussian distribution for the ith child cell of the cell.
According to an exemplary embodiment of the present disclosure, there is provided an apparatus for representing environmental elements in accordance with an exemplary embodiment of the present disclosure. The apparatus for representing environmental elements may comprises a memory, having computer executable instructions stored therein; and a processor, coupled to the memory and configured to: receiving scan data comprising at least a point cloud representing at least an environmental element from a sensor; segmenting the point cloud into point clusters; partitioning the point clusters into hierarchical grids; establishing a Gaussian distribution for points in each cell of each of the hierarchical grids; and constructing a Gaussian Mixture Model based on the Gaussian distribution for representing the environmental element.
According to an exemplary embodiment of the present disclosure, there is provided a non-transient storage medium having instructions stored thereon that when executed cause a processor to implement computer-implemented method for representing environmental elements in accordance with an exemplary embodiment of the present disclosure, comprising: instructions for receiving scan data comprising at least a point cloud representing at least an environmental element from a sensor; instructions for segmenting the point cloud into point clusters; instructions for partitioning the point clusters into hierarchical grids; instructions for establishing a Gaussian distribution for points in each cell of each of the hierarchical grids; and instructions for constructing a Gaussian Mixture Model based on the Gaussian distribution for representing the environmental element.
With reference to
The computing device 800 may comprise elements that are connected with or in communication with a bus 801, possibly via one or more interfaces. For example, the computing device 800 may comprise the bus 801, and one or more processors 802, one or more input devices 804 and one or more output devices 805. The one or more processors 802 may be any kinds of processors, and may comprise but are not limited to one or more general-purpose processors and/or one or more special-purpose processors (such as special processing chips). The input devices 804 may be any kinds of devices that can input information to the computing device, and may comprise but are not limited to a mouse, a keyboard, a touch screen, a microphone and/or a remote control. The output devices 805 may be any kinds of devices that can present information, and may comprise but are not limited to display, a speaker, a video/audio output terminal, a vibrator and/or a printer. The computing device 800 may also comprise or be connected with non-transitory storage devices 803 which may be any storage devices that are non-transitory and can implement data stores, and may comprise but are not limited to a disk drive, an optical storage device, a solid-state storage, a floppy disk, a flexible disk, hard disk, a magnetic tape or any other magnetic medium, a compact disc or any other optical medium, a ROM (Read Only Memory), a RAM (Random Access Memory), a cache memory and/or any other memory chip or cartridge, and/or any other medium from which a computer may read data, instructions and/or code. The non-transitory storage devices 803 may be detachable from an interface. The non-transitory storage devices 803 may have data/instructions/code for implementing the methods and steps which are described above. The computing device 800 may also comprise a communication device 806. The communication device 806 may be any kinds of device or system that can enable communication with external apparatuses and/or with a network, and may comprise but are not limited to a modem, a network card, an infrared communication device, a wireless communication device and/or a chipset such as a Bluetooth™ device, 1302.11 device, WiFi device, WiMax device, cellular communication facilities and/or the like.
When the computing device 800 is used as an on-vehicle device, it may also be connected to external device, for example, a GPS receiver, sensors for sensing different environmental data such as an acceleration sensor, a wheel speed sensor, a gyroscope and so on. In this way, the computing device 800 may, for example, receive location data and sensor data indicating the travelling situation of the vehicle. When the computing device 800 is used as an on-vehicle device, it may also be connected to other facilities (such as an engine system, a wiper, an anti-lock Braking System or the like) for controlling the traveling and operation of the vehicle.
In addition, the non-transitory storage devices 803 may have map information and software elements so that the processor 802 may perform route guidance processing. In addition, the output device 805 may comprise a display for displaying the map, the location mark of the vehicle and also images indicating the travelling situation of the vehicle. The output device 805 may also comprise a speaker or interface with an ear phone for audio guidance.
The bus 801 may include but is not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA (EISA) bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus. Particularly, for an on-vehicle device, the bus 801 may also include a Controller Area Network (CAN) bus or other architectures designed for application on an automobile.
The computing device 800 may also comprise a working memory 807, which may be any kind of working memory that may store instructions and/or data useful for the working of the processor 802, and may comprise but is not limited to a random access memory and/or a read-only memory device.
Software elements may be located in the working memory 807, including but are not limited to an operating system 808, one or more application programs 809, drivers and/or other data and codes. Instructions for performing the methods and steps described in the above may be comprised in the one or more application programs 809, and the means/units/elements of the aforementioned various apparatuses/server/client device may be implemented by the processor 802 reading and executing the instructions of the one or more application programs 809.
It should also be appreciated that variations may be made in accordance with specific requirements. For example, customized hardware might also be used, and/or particular elements might be implemented in hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. Further, connection to other computing devices such as network input/output devices may be employed. For example, some or all of the disclosed methods and devices may be implemented by programming hardware (for example, a programmable logic circuitry including field-programmable gate arrays (FPGA) and/or programmable logic arrays (PLA)) with an assembler language or a hardware programming language (such as VERILOG, VHDL, C++) by using the logic and algorithm according to the present disclosure.
As described above, the method and the apparatus for representing environmental elements, the system, and the vehicle/robot of this disclosure enables more accurate segmentation of point clusters from a point cloud, so that more accurate models can be established to represent environmental elements.
Although aspects of the present disclosures have been described by far with reference to the drawings, the methods, systems, and devices described above are merely exemplary examples, and the scope of the present disclosure is not limited by these aspects, but is only defined by the appended claims and equivalents thereof. Various elements may be omitted or may be substituted by equivalent elements. In addition, the steps may be performed in an order different from what is described in the present disclosures. Furthermore, various elements may be combined in various manners. What is also important is that as the technology evolves, many of the elements described may be substituted by equivalent elements which emerge after the present disclosure.
The foregoing disclosure has been set forth merely to illustrate the invention and is not intended to be limiting. Since modifications of the disclosed embodiments incorporating the spirit and substance of the invention may occur to persons skilled in the art, the invention should be construed to include everything within the scope of the appended claims and equivalents thereof.
This application is a continuation of PCT International Application No. PCT/CN2017/085817, filed May 25, 2017, the entire disclosure of which is herein expressly incorporated by reference.
Number | Name | Date | Kind |
---|---|---|---|
20090154791 | Yoon et al. | Jun 2009 | A1 |
20110282581 | Zeng | Nov 2011 | A1 |
20110317922 | Chertok et al. | Dec 2011 | A1 |
20130089259 | Cha | Apr 2013 | A1 |
20140267262 | Masry | Sep 2014 | A1 |
20180260616 | Spinoulas | Sep 2018 | A1 |
Number | Date | Country |
---|---|---|
102831646 | Dec 2012 | CN |
103500338 | Jan 2014 | CN |
103711050 | Apr 2014 | CN |
104764457 | Jul 2015 | CN |
10 2016 011 378 | Apr 2017 | DE |
Entry |
---|
Lu, Xiaohu, et al. “Pairwise Linkage for Point Cloud Segmentation.” ISPRS Annals of Photogrammetry, Remote Sensing & Spatial Information Sciences 3.3 (2016). (Year: 2016). |
Woo, H., et al. “A new segmentation method for point cloud data.” International Journal of Machine Tools and Manufacture 42.2 (2002): 167-178. (Year: 2002). |
Choe, Yungeun, Seunguk Ahn, and Myung Jin Chung. “Online urban object recognition in point clouds using consecutive point information for urban robotic missions.” Robotics and Autonomous Systems 62.8 (2014): 1130-1152. (Year: 2014). |
Yokoya, Naokazu, and Martin D. Levine. “Range image segmentation based on differential geometry: A hybrid approach.” IEEE Transactions on Pattern Analysis and Machine Intelligence 11.6 (1989): 643-649. (Year: 1989). |
PCT/CN2017/085817, International Search Report dated Feb. 26, 2018 (Two (2) pages). |
Das et al., “Scan Registration using Segmented Region Growing NDT”, The International Journal of Robotics Research 33.13 (2014) fifteen (15) total pages. |
Ulaş et al. “3D Multi-Layered Normal Distribution Transform for Fast and Long Range Scan Matching”, Journal of Intelligent & Robotic Systems 71.1 (2013) twenty five (25) total pages. |
Number | Date | Country | |
---|---|---|---|
20200090339 A1 | Mar 2020 | US |
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2017/085817 | May 2017 | US |
Child | 16693161 | US |