CN111895972B - High-precision map tunnel portal shape generation method, device and medium - Google Patents
High-precision map tunnel portal shape generation method, device and medium Download PDFInfo
- Publication number
- CN111895972B CN111895972B CN202010529005.9A CN202010529005A CN111895972B CN 111895972 B CN111895972 B CN 111895972B CN 202010529005 A CN202010529005 A CN 202010529005A CN 111895972 B CN111895972 B CN 111895972B
- Authority
- CN
- China
- Prior art keywords
- point
- line segment
- shape
- tunnel
- tunnel entrance
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C7/00—Tracing profiles
- G01C7/06—Tracing profiles of cavities, e.g. tunnels
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01C—MEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
- G01C21/00—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
- G01C21/26—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
- G01C21/28—Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network with correlation of data from several navigational instruments
- G01C21/30—Map- or contour-matching
- G01C21/32—Structuring or formatting of map data
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Multimedia (AREA)
- Processing Or Creating Images (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明公开了一种高精度地图隧道口形状生成方法、装置及介质,属于高精度地图技术领域,该方法包括:根据预先选定的隧道口的底角点所属区域确定隧道口点云;根据水平基准线段上的多个水平分割点和隧道口点云确定隧道口顶部形状点,水平基准线段根据隧道口的底角点之间的线段而确定;根据纵向基准线段上的多个纵向分割点和隧道口点云确定隧道口两侧形状点,纵向基准线段根据预先选定的隧道口最高点与起始点之间的线段而确定,起始点为经隧道口最高点向水平基准线段上垂直投影的投影点;以及根据顶部形状点和两侧形状点确定隧道口形状。本发明的应用降低隧道口形状确定过程的难度,提高隧道口形状确定的作业速度。
The invention discloses a method, a device and a medium for generating a shape of a tunnel entrance in a high-precision map, belonging to the technical field of high-precision maps. The method includes: determining a point cloud of the tunnel entrance according to the area to which the bottom corner point of the tunnel entrance is preselected; The top shape point of the tunnel mouth is determined by multiple horizontal dividing points on the horizontal reference line segment and the point cloud of the tunnel mouth, and the horizontal reference line segment is determined according to the line segment between the bottom corner points of the tunnel mouth; according to the multiple longitudinal dividing points on the longitudinal reference line segment Determine the shape points on both sides of the tunnel entrance with the point cloud of the tunnel entrance. The longitudinal reference line segment is determined according to the line segment between the highest point of the tunnel entrance and the starting point. The starting point is the vertical projection of the horizontal reference line segment through the highest point of the tunnel entrance ; and the shape of the tunnel mouth is determined from the top shape point and the side shape points. The application of the invention reduces the difficulty of the process of determining the shape of the tunnel mouth, and improves the working speed of determining the shape of the tunnel mouth.
Description
技术领域technical field
本申请涉及高精度地图技术领域,特别是一种高精度地图隧道口形状生成方法、装置及介质。The present application relates to the technical field of high-precision maps, and in particular, to a method, device and medium for generating a shape of a tunnel entrance in a high-precision map.
背景技术Background technique
高精度地图是精度更高,数据维度更多的电子地图,在自动驾驶、车道定位等方面提供精确度更高的地理位置信息。在高精度地图的绘制过程中,需要对目标信息进行采集,获取目标的点云信息,并对目标点云进行处理,最终确定目标的形状。High-precision maps are electronic maps with higher precision and more data dimensions, which provide higher-precision geographic location information in aspects such as automatic driving and lane positioning. In the process of drawing a high-precision map, it is necessary to collect target information, obtain the point cloud information of the target, process the target point cloud, and finally determine the shape of the target.
隧道口包括隧道的出入口、桥洞的出入口以及类似的洞状建筑物的出入口。在高精度地图制作过程中,由于隧道口的形状不规则,在点云自由视图中,需要人工进行手动绘制。在人工绘制过程中,技术人员沿着隧道口的边缘位置绘制形状点,最终构成隧道口形状的曲线点串。采用人工手动绘制的方法,技术人员容易受到误差点云的干扰,操作难度高,作业速率慢,且人工选取的隧道口形状点分布不均匀,最终绘制的隧道口形状与实际的隧道口形状相差较大,精度不高。The tunnel entrance includes the entrance and exit of the tunnel, the entrance and exit of the bridge hole and the entrance and exit of similar cave-like buildings. In the process of high-precision map production, due to the irregular shape of the tunnel mouth, manual drawing is required in the free view of the point cloud. In the manual drawing process, technicians draw shape points along the edge of the tunnel mouth, and finally form a string of curved points in the shape of the tunnel mouth. Using the manual drawing method, the technicians are easily disturbed by the error point cloud, the operation is difficult, the operation speed is slow, and the manually selected tunnel mouth shape points are unevenly distributed, and the final drawn tunnel mouth shape is different from the actual tunnel mouth shape. Larger and less accurate.
发明内容SUMMARY OF THE INVENTION
针对现有技术中存在的上述技术问题,本申请提供了一种高精度地图隧道口形状生成方法、装置及介质。In view of the above technical problems existing in the prior art, the present application provides a method, device and medium for generating a shape of a tunnel mouth in a high-precision map.
在本申请的一个技术方案中,提供一种高精度地图隧道口形状生成方法,其包括:根据预先选定的隧道口的底角点所属区域确定隧道口点云;根据水平基准线段上的多个水平分割点和隧道口点云确定隧道口顶部形状点,水平基准线段根据隧道口底角点之间的线段而确定;根据纵向基准线段上的多个纵向分割点和隧道口点云确定隧道口两侧形状点,纵向基准线段根据预先选定的隧道口最高点与起始点之间的线段而确定,起始点为经隧道口最高点向水平基准线段上垂直投影的投影点;以及根据顶部形状点和两侧形状点确定隧道口形状。In one technical solution of the present application, a method for generating a shape of a tunnel entrance on a high-precision map is provided, which includes: determining a tunnel entrance point cloud according to a preselected area to which the bottom corner point of the tunnel entrance belongs; The top shape point of the tunnel mouth is determined by the horizontal split points and the tunnel entrance point cloud, and the horizontal reference line segment is determined according to the line segment between the bottom corner points of the tunnel mouth; the tunnel is determined according to the multiple vertical split points on the vertical reference line segment and the tunnel mouth point cloud. The shape points on both sides of the mouth, the longitudinal reference line segment is determined according to the line segment between the highest point of the tunnel mouth and the starting point, and the starting point is the vertical projection point on the horizontal reference line segment through the highest point of the tunnel mouth; The shape point and the shape points on both sides determine the shape of the tunnel mouth.
在本申请的另一技术方案中,提供一种高精度地图隧道口形状生成装置,其包括:用于根据预先选定的隧道口的底角点所属区域确定隧道口点云的模块;用于根据水平基准线段上的多个水平分割点和隧道口点云确定隧道口顶部形状点的模块,水平基准线段根据隧道口的底角点之间的线段而确定;用于根据纵向基准线段上的多个纵向分割点和隧道口点云确定隧道口两侧形状点的模块,纵向基准线段根据预先选定的隧道口最高点与起始点之间的线段而确定,起始点为经隧道口最高点向水平基准线段上垂直投影的投影点;以及用于根据顶部形状点和两侧形状点确定隧道口形状的模块。In another technical solution of the present application, a device for generating a shape of a tunnel entrance on a high-precision map is provided, which includes: a module for determining a point cloud of the tunnel entrance according to the area to which the bottom corner point of the preselected tunnel entrance belongs; A module for determining the shape point at the top of the tunnel mouth according to multiple horizontal split points on the horizontal reference line segment and the point cloud of the tunnel mouth. The horizontal reference line segment is determined according to the line segment between the bottom corner points of the tunnel mouth; A module for determining the shape points on both sides of the tunnel entrance by multiple longitudinal split points and tunnel entrance point clouds. The longitudinal reference line segment is determined according to the line segment between the pre-selected tunnel entrance highest point and the starting point, and the starting point is the highest point passing through the tunnel entrance. Projection point for vertical projection onto a horizontal baseline segment; and a module for determining the shape of the tunnel mouth from the top shape point and the side shape points.
在本申请的另一技术方案中,提供一种计算机可读存储介质,其存储有计算机指令,其中计算机指令被操作以执行方案一中的高精度地图隧道口形状生成方法。In another technical solution of the present application, a computer-readable storage medium is provided, which stores computer instructions, wherein the computer instructions are operated to execute the method for generating a tunnel entrance shape of a high-precision map in the first solution.
本申请技术方案可以达到的有益效果是:本申请的技术方案在应用时,根据预先选定的隧道口的底角点所属区域确定隧道口点云,能够排除误差点云的影响,提高隧道口形状生成的准确度;并且,在隧道口点云中确定多个隧道口形状点,使得在高精度地图中生成的隧道口形状能够体现真实隧道口的形状特点,降低误差,提高隧道口形状的准确度。The beneficial effects that can be achieved by the technical solution of the present application are: when the technical solution of the present application is applied, the point cloud of the tunnel mouth is determined according to the area to which the bottom corner point of the pre-selected tunnel mouth belongs, which can eliminate the influence of the error point cloud and improve the tunnel mouth. The accuracy of shape generation; in addition, multiple tunnel mouth shape points are determined in the tunnel mouth point cloud, so that the shape of the tunnel mouth generated in the high-precision map can reflect the shape characteristics of the real tunnel mouth, reduce errors, and improve the shape of the tunnel mouth. Accuracy.
附图说明Description of drawings
图1是本申请高精度地图隧道口形状生成方法的一个具体实施方式的流程示意图;1 is a schematic flowchart of a specific embodiment of a method for generating a high-precision map tunnel mouth shape of the present application;
图2是本申请中隧道口的底角点所属区域的一个具体实施例的示意图;2 is a schematic diagram of a specific embodiment of the area to which the bottom corner point of the tunnel mouth belongs in the present application;
图3是本申请中关键点位置的一个具体实施例的示意图;Fig. 3 is a schematic diagram of a specific embodiment of key point positions in the present application;
图4是本申请中关键点确定过程的一个具体实施例的示意图;4 is a schematic diagram of a specific embodiment of a key point determination process in the present application;
图5是本申请中结合二分法来确定顶部形状点过程的一个具体实施例的部分示意图;5 is a partial schematic diagram of a specific embodiment of the process of determining the top shape point in combination with the bisection method in the present application;
图6是本申请高精度地图隧道口形状生成装置的一个具体实施方式的示意图。FIG. 6 is a schematic diagram of a specific embodiment of the device for generating a shape of a tunnel entrance for a high-precision map of the present application.
具体实施方式Detailed ways
下面结合附图对本申请的较佳实施例进行详细阐述,以使本申请的优点和特征能更易于被本领域技术人员理解,从而对本申请的保护范围做出更为清楚明确的界定。The preferred embodiments of the present application are described in detail below with reference to the accompanying drawings, so that the advantages and features of the present application can be more easily understood by those skilled in the art, and the protection scope of the present application can be more clearly defined.
需要说明的是,本申请文件权利要求书、说明书中的“第一”、“第二”、“第三”等仅仅用于区分类似的对象,而不必理解为描述特定的顺序或先后次序。It should be noted that "first", "second", "third", etc. in the claims and description of the present application are only used to distinguish similar objects, and are not necessarily construed as describing a specific order or sequence.
图1的流程示意图示出了本申请高精度地图隧道口形状生成方法的一个具体实施方式。FIG. 1 is a schematic flow chart showing a specific embodiment of the method for generating a shape of a tunnel entrance in a high-precision map of the present application.
在图1所示的具体实施方式中,本申请的高精度地图隧道口形状生成方法包括过程S101、过程S102、过程S103、过程S104。In the specific implementation shown in FIG. 1 , the method for generating a shape of a tunnel entrance in a high-precision map of the present application includes a process S101 , a process S102 , a process S103 , and a process S104 .
图1所示的S101为根据预先选定的隧道口的底角点所属区域确定隧道口点云的过程。S101 shown in FIG. 1 is the process of determining the point cloud of the tunnel entrance according to the area to which the bottom corner point of the preselected tunnel entrance belongs.
在本申请的一个具体实施例中,隧道口的底角点所属区域可以为包含预先选定的隧道口左侧底角点和隧道口右侧底角点的立体裁切区域。In a specific embodiment of the present application, the area to which the bottom corner point of the tunnel entrance belongs may be a three-dimensional cropping area including the preselected left bottom corner point of the tunnel entrance and the right bottom corner point of the tunnel entrance.
在该具体实施例中,优选的,可以通过人工选择的方式,在点云自由视图中确定隧道口的左侧底角点和右侧底角点,再根据选定的隧道口左侧底角点和右侧底角点确定立体裁切区域。其中,立体裁切区域包含选定的隧道口左侧底角点和右侧底角点,且能够包含点云自由视图中的大部分点云点。优选的,立体裁切区域能够将点云自由视图中的隧道口附近的点云点包含在内,从而在生成隧道口形状的过程中,排除误差点云的影响,同时保证隧道口形状生成的准确度。在确定立体裁切区域的具体过程中,可根据实际的点云自由视图中的点云分布情况进行立体裁切区域形状的确定,例如可将立体裁切区域确定为长方体或者圆柱体等。In this specific embodiment, preferably, the left bottom corner point and the right bottom corner point of the tunnel mouth can be determined in the free view of the point cloud by manual selection, and then according to the selected left bottom corner of the tunnel mouth point and the bottom right corner point to define the drape area. Among them, the three-dimensional cropping area includes the bottom corner point on the left and the bottom corner on the right side of the selected tunnel entrance, and can contain most of the point cloud points in the free view of the point cloud. Preferably, the three-dimensional cropping area can include the point cloud points near the tunnel entrance in the free view of the point cloud, so that in the process of generating the shape of the tunnel entrance, the influence of the error point cloud can be eliminated, and at the same time, the generated tunnel entrance shape can be guaranteed to be accurate. Accuracy. In the specific process of determining the 3D cropping area, the shape of the 3D cropping area can be determined according to the distribution of the point cloud in the actual point cloud free view. For example, the 3D cropping area can be determined as a cuboid or a cylinder.
在本申请的一个具体实施例中,过程S101可以为在隧道口的底角点所属区域内,遍历点云自由视图的点云,将遍历到的点集合截取为隧道口点云。In a specific embodiment of the present application, the process S101 may be to traverse the point cloud of the point cloud free view in the area to which the bottom corner point of the tunnel entrance belongs, and intercept the traversed point set as the tunnel entrance point cloud.
图2示出了本申请隧道口的底角点所属区域的一个具体实施例。FIG. 2 shows a specific embodiment of the area to which the bottom corner point of the tunnel mouth of the present application belongs.
为了使本申请的技术方案便于理解,结合图2,以隧道口的底角点所属区域为长方体的实施例,进行说明。In order to facilitate the understanding of the technical solution of the present application, with reference to FIG. 2 , an embodiment in which the area to which the bottom corner point of the tunnel mouth belongs is a cuboid will be described.
在该实施例中,点201与点202分别为预先选定的隧道口左侧底角点和右侧底角点。在水平面上,将隧道口左侧底角点201与隧道口右侧底角点202分别向前后两侧延伸一定距离分别得到点203,点205,点204和点206。在本申请的具体实施例中,该向前后两侧延伸的距离可以相等,也可以不相等。In this embodiment, the
在该实施例中,点203、点205、点204和点206分别为长方形的四个顶点。将点203、点205、点204以及点206分别向上延伸一段距离得到点207、点209、点208以及点210,以点203、点204、点205、点206、点207、点208、点209以及点210为顶点得到长方体的立体裁切区域。In this embodiment, the
在本申请的具体实施方式中,隧道口的底角点所属区域的形状包括但不限于多面体、圆柱体、半圆柱体等。可以根据实际隧道口的形状,设定隧道口的底角点所属区域的大小,能够使本申请的具体实施方式中高精度地图隧道口形状生成方法计算得到的隧道口形状更加贴合隧道口的实际形状。In the specific embodiment of the present application, the shape of the region to which the bottom corner point of the tunnel mouth belongs includes, but is not limited to, a polyhedron, a cylinder, a semi-cylinder, and the like. According to the shape of the actual tunnel mouth, the size of the area to which the bottom corner of the tunnel mouth belongs can be set, so that the shape of the tunnel mouth calculated by the method for generating the tunnel mouth shape of the high-precision map in the specific embodiment of the present application can be more suitable for the actual tunnel mouth. shape.
在图2所示的实施例中,对点云自由视图中的点云进行遍历的过程的一个实例如下:In the embodiment shown in FIG. 2, an example of the process of traversing the point cloud in the free view of the point cloud is as follows:
首先,在长方体区域的六个表面上任取一点,分别记为,取长方体区域的指向长方体外部的六个表面的法向量,记为,在长方体区域内的任意一点满足向量计算公式:(-)<0,。First, pick any point on the six surfaces of the cuboid area, and record them as , Take the normal vectors of the six surfaces of the cuboid region pointing to the outside of the cuboid, denoted as , at any point within the cuboid region Satisfy the vector calculation formula: ( - ) <0, .
其次,通过计算设备将点云自由视图中的全部点云点带入上述公式中,得到满足上述公式的点云集合,即得到隧道口的底角点所属区域内的隧道口点云。Secondly, all the point cloud points in the free view of the point cloud are brought into the above formula by the computing device, and the point cloud set satisfying the above formula is obtained, that is, the point cloud of the tunnel entrance in the area to which the bottom corner of the tunnel entrance belongs is obtained.
在本申请的具体实施方式中,通过对隧道口的底角点所属区域进行选定并在隧道口的底角点所属区域内点云自由视图的点云进行遍历,能够确保点云自由视图中处于隧道口附近的点云落在隧道口的底角点所属区域内,将一些偏差较大的点云点进行排除,从而能够在后续的确定隧道口形状过程中,排除干扰点的影响,进而降低在高精度地图中生成隧道口形状时的误差,提高获得的隧道口形状的精确度。In the specific embodiment of the present application, by selecting the area to which the bottom corner of the tunnel mouth belongs and traversing the point cloud of the free view of the point cloud in the area to which the bottom corner of the tunnel mouth belongs, it is possible to ensure that the free view of the point cloud is in the area. The point cloud near the tunnel entrance falls within the area of the bottom corner of the tunnel entrance, and some point cloud points with large deviations are excluded, so that the influence of interference points can be eliminated in the subsequent process of determining the shape of the tunnel entrance, and then Reduce the error when generating the tunnel mouth shape in the high-precision map, and improve the accuracy of the obtained tunnel mouth shape.
在本申请的一个具体实施方式中,图1所示的S102为根据水平基准线段上的多个水平分割点和隧道口点云确定隧道口顶部形状点的过程,其中,水平基准线段为隧道口左侧底角点与隧道口右侧底角点之间的线段,多个水平分割点可以为水平基准线段的分割点。In a specific embodiment of the present application, S102 shown in FIG. 1 is the process of determining the shape point of the top of the tunnel mouth according to a plurality of horizontal division points on the horizontal reference line segment and the point cloud of the tunnel mouth, wherein the horizontal reference line segment is the tunnel mouth The line segment between the bottom corner point on the left and the bottom corner point on the right side of the tunnel entrance. Multiple horizontal split points can be split points of the horizontal reference line segment.
图3是本申请中关键点位置的一个具体实施例的示意图。图4是本申请中关键点确定过程的一个具体实施例的示意图。这里的“关键点”、“关键点位置”,指的是在本申请的具体实施方式的某些具体实施例中,在确定隧道口的形状点的过程中所需用到的多个比较关键的点,以及该比较关键的点的位置。FIG. 3 is a schematic diagram of a specific embodiment of key point positions in the present application. FIG. 4 is a schematic diagram of a specific embodiment of a key point determination process in the present application. The "key points" and "key point positions" here refer to a plurality of comparative key points that need to be used in the process of determining the shape point of the tunnel mouth in some specific examples of the specific implementation manner of the present application. , and the location of the more critical point.
在结合图3或图3中的元素进行说明时,图3中示出的元素只是本申请中相关元素的一个具体实例,本申请中的相关元素可以不局限于图3中示出的形式。When describing in conjunction with FIG. 3 or the elements in FIG. 3 , the element shown in FIG. 3 is only a specific example of the related elements in the present application, and the related elements in the present application may not be limited to the form shown in FIG. 3 .
以下结合图3和图4,说明本申请中关键点确定过程的一个具体实施例。A specific embodiment of the key point determination process in this application is described below with reference to FIG. 3 and FIG. 4 .
在图4所示的关键点确定过程的一个实施例中,关键点确定过程包括过程S401、过程S402、过程S403。In one embodiment of the key point determination process shown in FIG. 4 , the key point determination process includes a process S401 , a process S402 , and a process S403 .
S401为将起始点在水平基准线段上向左平移预定距离而得到第一关键点的过程。S401 is a process of obtaining a first key point by shifting the starting point to the left by a predetermined distance on the horizontal reference line segment.
在该实施例中,将起始点在水平基准线段上向左平移预定距离而得到第一关键点的过程S401可以进一步包括以下过程:In this embodiment, the process S401 of shifting the starting point to the left by a predetermined distance on the horizontal reference line segment to obtain the first key point may further include the following processes:
将预先选定的隧道口最高点在水平基准线段上的垂直投影点作为起始点,其中水平基准线段为预先选定的隧道口左侧底角点与隧道口右侧底角点之间的线段;以及Take the vertical projection point of the pre-selected tunnel entrance highest point on the horizontal reference line segment as the starting point, where the horizontal reference line segment is the line segment between the pre-selected left bottom corner point of the tunnel entrance and the right bottom corner point of the tunnel entrance ;as well as
将起始点在水平基准线段上向左平移预定距离得到第一关键点。The first key point is obtained by shifting the starting point to the left by a predetermined distance on the horizontal reference line segment.
在本申请的一个实例中,隧道口最高点可以为如图3所示的点310,起始点可以为如图3所示的点302,隧道口左侧底角点可以为如图3所示的点201,隧道口右侧底角点可以为如图3所示的点202是,第一关键点可以为如图3所示的点309。In an example of the present application, the highest point of the tunnel entrance may be
在图4所示的实施例中,第一关键点的位置可以为在水平基准线段上的任选的一点。优选的,第一关键点309可以为水平基准线段上的多个六等分点中最靠近隧道口左侧底角点201的一个六等分点。In the embodiment shown in FIG. 4 , the position of the first key point may be an optional point on the horizontal reference line segment. Preferably, the first
在图4所示的实施例中,S402为根据第一关键点、隧道口点云和纵向基准线段确定第二关键点的过程。其中,根据预先选定的隧道口最高点与起始点之间的线段确定纵向基准线段。根据确定的第一关键点和截取的隧道口点云确定第一形状点,将第一形状点在纵向基准线段上的垂直投影点确定为第二关键点。In the embodiment shown in FIG. 4 , S402 is a process of determining the second key point according to the first key point, the tunnel entrance point cloud and the longitudinal reference line segment. Wherein, the longitudinal reference line segment is determined according to the line segment between the preselected highest point of the tunnel mouth and the starting point. The first shape point is determined according to the determined first key point and the intercepted tunnel entrance point cloud, and the vertical projection point of the first shape point on the longitudinal reference line segment is determined as the second key point.
在本申请的一个优选实例中,在确定纵向基准线段时,在预先选定的隧道口最高点的附近选定最高点临近点,以最高点临近点与起始点之间的线段为纵向基准线段。In a preferred example of the present application, when determining the longitudinal reference line segment, a point adjacent to the highest point is selected near the highest point of the pre-selected tunnel entrance, and the line segment between the adjacent point of the highest point and the starting point is the longitudinal reference line segment .
在本申请的一个实例中,最高点临近点可以为图3所示的点307,第一形状点可以为图3所示的点308,第二关键点可以为图3所示的点306,纵向基准线段可以为如图示3所示的起始点302与最高点临近点307之间的线段。In an example of the present application, the adjacent point of the highest point may be the
在本申请的一个实例中,根据第一关键点、隧道口点云和纵向基准线段确定第二关键点的过程S402可以通过以下具体过程实现:In an example of the present application, the process S402 of determining the second key point according to the first key point, the tunnel entrance point cloud and the longitudinal reference line segment can be implemented through the following specific process:
首先,在该实例中,最高点临近点307为从起始点302向上撞击隧道口点云获得。优选的,从起始点302向上撞击隧道口点云获得最高点临近点307的过程包括:First, in this example, the highest point
第一,围绕起始点302构建一片状底面,其中该底面形状包括但不限于圆形、正方形、三角形等,该片状底面位于起始点所在水平面内。第二,根据构建的片状底面,沿着竖直方向向上延伸得到一延伸体,其中,该延伸体延伸至超出选定的隧道口底角点所属区域,以保证延伸体中包含截取的隧道口点云中的点云点。第三,在延伸体构建成功后,因为该延伸体竖直向上超出选定的隧道口底角点所属区域,则延伸体中将存在隧道口点云中的多个点云点,选择其中一个点云点作为最高点临近点。例如,可以选择距离起始点302最近的点云点307作为最高点临近点。First, a sheet-like bottom surface is constructed around the
其次,在该实例中,确认最高点临近点后,将最高点临近点307与起始点302之间的线段作为纵向基准线段。Secondly, in this example, after confirming the adjacent point of the highest point, the line segment between the
再次,在该实例中,确定第一形状点308的过程可以与上述确定最高点临近点的过程类似不同之处在于,围绕第一关键点309构建一片状底面,根据构建的片状底面向上构建延伸体,其中延伸体要延伸至超出选定的隧道口底角点所属区域,保证延伸体中包含隧道口点云中的多个点云点,选择其中一个点云点作为第一形状点。例如,可以选择距离第一关键点309最近的点云点308作为第一形状点。Again, in this instance, the process of determining the
再次,在该实例中,将从第一形状点308向纵向基准线段垂直投影得到的投影点306作为第二关键点。Again, in this example, the projected
在图4所示的实施例中,S403为根据第二关键点、隧道口点云和水平基准线段确定第三关键点的过程。优选的,根据第二关键点和隧道口点云确定第二形状点,将第二形状点在水平基准线段上的垂直投影点确定为第三关键点。In the embodiment shown in FIG. 4 , S403 is a process of determining the third key point according to the second key point, the tunnel entrance point cloud and the horizontal reference line segment. Preferably, the second shape point is determined according to the second key point and the tunnel entrance point cloud, and the vertical projection point of the second shape point on the horizontal reference line segment is determined as the third key point.
在本申请的一个实例中,根据第二关键点、隧道口点云和水平基准线段确定第三关键点的过程S403可以通过以下具体过程实现:In an example of the present application, the process S403 of determining the third key point according to the second key point, the tunnel entrance point cloud and the horizontal reference line segment can be implemented through the following specific process:
首先,确定第二形状点,其过程与确定最高点临近点的过程类似,不同之处在于,围绕第二关键点306构建一片状底面,根据构建的片状底面向右构建延伸体,其中延伸体要延伸至超出选定的隧道口底角点所属区域,保证延伸体中包含隧道口点云中的多个点云点,在多个点云点中选择一个点云点作为第一形状点。例如,可以选择距离第二关键点306最近的点云点305作为第二形状点。First, the second shape point is determined, and the process is similar to the process of determining the adjacent points of the highest point, the difference is that a sheet-shaped bottom surface is constructed around the second
其次,将第二形状点向水平基准线段垂直投影得到的投影点304确定为第三关键点。Next, the projected
在图4所示的实施例中,S404为将第一关键点与第三关键点之间的线段的分割点确定为多个水平分割点的过程。In the embodiment shown in FIG. 4 , S404 is a process of determining the division points of the line segment between the first key point and the third key point as a plurality of horizontal division points.
在图4所示的实施例中,S405为将起始点与第二关键点之间的线段的分割点确定为多个纵向分割点的过程。In the embodiment shown in FIG. 4 , S405 is a process of determining the division points of the line segment between the starting point and the second key point as a plurality of longitudinal division points.
在本申请的具体实施方式中,通过对第一关键点、第二关键点以及第三关键点的确定,为后续撞击线的位置限定范围,使得当通过撞击线确定隧道口形状点时,能够快速有效的进行,不进行多余的运算过程,同时保证撞击线段所对应的隧道口点云没有遗漏,从而保证通过撞击线段获得的隧道口形状点能够全面的表达实际的隧道口形状,进而提高在高精度地图中生成隧道口形状的精确度。In the specific embodiment of the present application, by determining the first key point, the second key point and the third key point, a range is defined for the position of the subsequent impact line, so that when the shape point of the tunnel mouth is determined by the impact line, it is possible to It is carried out quickly and effectively, without redundant calculation process, and at the same time, it ensures that the tunnel entrance point cloud corresponding to the impact line segment is not omitted, so as to ensure that the tunnel entrance shape point obtained through the impact line segment can fully express the actual tunnel entrance shape, thereby improving the performance of the tunnel entrance. Accuracy of generating tunnel mouth shapes in high-resolution maps.
在本申请的一个具体实施方式中,多个水平分割点可以为第一关键点与第三关键点之间的线段上的分割点。在该具体实施方式的一个实例中,多个水平分割点可以包括第一关键点与第三关键点之间线段的n等分点,n为不小于2的自然数。In a specific embodiment of the present application, the multiple horizontal division points may be division points on a line segment between the first key point and the third key point. In an example of this specific implementation manner, the plurality of horizontal division points may include n equal division points of the line segment between the first key point and the third key point, where n is a natural number not less than 2.
优选的,可根据具体的隧道口形状精度要求选择n的取值。其中,n取值越大,向上撞击线段就会越多,得到的相应的顶部形状点也会越多,最终得到的隧道口形状也就更精确。同时,通过将多个水平分割点取为包括第一关键点与第三关键点之间线段的等分点,能够使得多条向上撞击线段分布均匀,从而使得得到的顶部形状点分布均匀,进而使得得到的隧道口形状更加精确,更接近真实的隧道口形状。Preferably, the value of n can be selected according to specific requirements on the shape accuracy of the tunnel mouth. Among them, the larger the value of n is, the more upward impact line segments will be, the more corresponding top shape points will be obtained, and the final shape of the tunnel mouth will be more accurate. At the same time, by taking a plurality of horizontal division points as equal division points including the line segment between the first key point and the third key point, the multiple upward impact line segments can be evenly distributed, so that the obtained top shape points are evenly distributed, and then The obtained tunnel mouth shape is more accurate and closer to the real tunnel mouth shape.
本申请的高精度地图隧道口形状生成方法的一个具体实施方式包括从起始点302向水平基准线段前后两侧分别扩展一定距离至点301和点303,得到第一撞击线段。A specific embodiment of the high-precision map tunnel mouth shape generation method of the present application includes extending a certain distance from the
以起始点为中点,能够符合基本的隧道口结构,通过对第一撞击线段的位置及角度的设置,保证在根据撞击线段进行确定隧道口形状点的过程中,得到的隧道口形状点符合实际的隧道口形状,不会出现较大偏差,同时提高隧道口形状点确认过程的工作速度。Taking the starting point as the midpoint, it can conform to the basic tunnel mouth structure. By setting the position and angle of the first impact line segment, it is ensured that in the process of determining the tunnel mouth shape point according to the impact line segment, the obtained tunnel mouth shape point conforms to the The actual shape of the tunnel mouth will not have a large deviation, and at the same time, the working speed of the process of confirming the shape of the tunnel mouth will be improved.
在本申请的一个具体实施方式中,根据水平基准线段上的多个水平分割点和隧道口点云确定隧道口顶部形状点的过程S102可以具体如下实现:将第一撞击线段平移至水平基准线段上的多个水平分割点处,得到相应的多条向上撞击线段;根据多条向上撞击线段和隧道口点云确定相应的顶部形状点。In a specific embodiment of the present application, the process S102 of determining the shape point of the top of the tunnel entrance according to a plurality of horizontal division points on the horizontal reference line segment and the point cloud of the tunnel entrance can be specifically implemented as follows: Translate the first impact line segment to the horizontal reference line segment At the multiple horizontal split points on the upper part of the tunnel, the corresponding multiple upward impact line segments are obtained; the corresponding top shape points are determined according to the multiple upward impact line segments and the tunnel entrance point cloud.
在实际场景中,隧道口形状多为左右对称结构,且隧道口点云多在起始点前后两侧分布。因此,在本申请的具体实施方式中,通过将第一撞击线段设置成从起始点向水平基准线段前后两侧分别扩展,能够保证在根据多条向上撞击线段确定顶部形状点的过程中,得到的隧道口形状点符合实际的隧道口形状,不会出现较大偏差,同时提高隧道口形状点确认过程的工作速度。In the actual scene, the shape of the tunnel entrance is mostly a left-right symmetrical structure, and the point cloud of the tunnel entrance is mostly distributed on the front and rear sides of the starting point. Therefore, in the specific embodiment of the present application, by setting the first impact line segment to expand from the starting point to the front and rear sides of the horizontal reference line segment, it can be ensured that in the process of determining the top shape point according to the multiple upward impact line segments, the The shape point of the tunnel mouth conforms to the actual shape of the tunnel mouth, and there will be no large deviation, and at the same time, the working speed of the confirmation process of the shape point of the tunnel mouth is improved.
在该具体实施方式中,水平分割点的个数越多,向上撞击线段就会越多,得到的相应的顶部形状点也会越多,最终得到的隧道口形状也就更精确。In this specific implementation manner, the more the number of horizontal dividing points, the more upward impact line segments will be, the more corresponding top shape points will be obtained, and the final shape of the tunnel mouth will be more accurate.
优选的,第一撞击线段与水平基准线段位于同一水平面内,与水平基准线段垂直,且第一撞击线段以起始点为中点。通过对第一撞击线段的位置及角度的设置,能够保证在根据多条向上撞击线段确定隧道口形状点的过程中,得到的顶部形状点更加符合实际的隧道口形状,确保出现的偏差更小,同时更加提高隧道口形状点确认过程的工作速度。Preferably, the first impact line segment and the horizontal reference line segment are located in the same horizontal plane and are perpendicular to the horizontal reference line segment, and the first impact line segment takes the starting point as the midpoint. By setting the position and angle of the first impact line segment, it can be ensured that in the process of determining the shape point of the tunnel mouth according to the multiple upward impact line segments, the obtained top shape point is more in line with the actual shape of the tunnel mouth, ensuring that the deviation is smaller. , while further improving the working speed of the process of confirming the shape point of the tunnel mouth.
在本申请的一个具体实施方式中,根据水平基准线段上的多个水平分割点和隧道口点云确定隧道口顶部形状点的过程S102,可以结合二分法来实现。In a specific embodiment of the present application, the process S102 of determining the shape point of the top of the tunnel entrance according to a plurality of horizontal division points on the horizontal reference line segment and the point cloud of the tunnel entrance can be implemented in combination with the dichotomy method.
图5是本申请中结合二分法来确定顶部形状点过程的一个具体实施例的部分示意图。FIG. 5 is a partial schematic diagram of a specific embodiment of the process of determining the top shape point in combination with the bisection method in the present application.
在该具体实施方式的一个实例中,点301与点303之间的线段表示第一撞击线段,起始点302为第一撞击线段的中点。在该实例中,围绕第一撞击线段的中点302构建一片状底面,将该片状底面沿该第一撞击线段的向上撞击方向延伸至超出选定的隧道口底角点所属区域而得到一延伸体,若隧道口点云位于该延伸体内的点数量大于设定阈值,则撞击点云成功,否则撞击点云失败。In an example of this specific embodiment, the line segment between
在该具体实施方式的一个实例中,围绕第一撞击线段的中点302构建正方形底面,根据第一撞击线段向上的撞击方向,结合图2所示的长方体区域,延伸该正方形区域得到一长方体形状的延伸体,其中该长方体形状的延伸体的正视图投影为点501,点502,点503以及点504构成的长方形,如图5所示。此时判断该长方体形状的延伸体内部所包含的隧道口点云的点的数量,若大于设定阈值,则在该第一撞击线段的二分点撞击点云成功。其中点云数量判断的设定阈值可根据具体的高精度地图中隧道口形状生成的精度要求进行设定,例如设定阈值可取值3。In an example of this specific embodiment, a square bottom surface is constructed around the
若在该二分点撞击点云成功,则计算第一撞击线长度是否满足二分法容差条件,如果满足二分法容差条件,则记录该长方体延伸体内的点云点中,距离第一撞击线的二分点最近的点为第一撞击线对应的隧道口的相应形状点;如果不满足二分法容差条件,或者撞击失败则通过二分法计算第一撞击线的下一个二分点,并重复上述对二分点的处理过程。If the collision point cloud is successful at the bisection point, calculate whether the length of the first collision line satisfies the dichotomy tolerance condition; The nearest point of the bisection point is the corresponding shape point of the tunnel mouth corresponding to the first impact line; if the bisection tolerance condition is not met, or the impact fails, the next bisection point of the first impact line is calculated by the bisection method, and repeat the above The processing of the binary point.
在该具体实施方式的一个实例中,如图5所示,在通过二分法计算下一个二分点过程中,将第一撞击线段的中点设置为新的撞击线段的一个端点,重新计算新的撞击线的中点作为下一个二分点。例如,若撞击成功但不满足容差条件,将第一撞击线段的中点302设置为右端点,则点301与点302之间的线段为新的撞击线段,取点301与点302之间的线段的中点记为下一个二分点;若撞击失败,将第一撞击线段的中点302设置为左端点,则点302与点303之间的线段为新的第一撞击线段,取点302与点303之间的线段的中点记为下一个二分点。In an example of this specific implementation, as shown in FIG. 5 , in the process of calculating the next bisection point by the bisection method, the midpoint of the first impact line segment is set as an end point of the new impact line segment, and the new impact line segment is recalculated. The midpoint of the impact line serves as the next equinox. For example, if the collision is successful but the tolerance condition is not met, the
根据多条向上撞击线段及截取的隧道口点云确定隧道口顶部形状点,使每一条向上撞击线段均对应一个隧道口顶部形状点,最终确定全部的隧道口顶部形状点。Determine the top shape point of the tunnel mouth according to the multiple upward impact line segments and the intercepted point cloud of the tunnel mouth, so that each upward impact line segment corresponds to a top shape point of the tunnel mouth, and finally all the top shape points of the tunnel mouth are determined.
在该具体实施方式中,通过在本申请的高精度地图隧道口形状生成方法中结合二分法,历经在根据第一撞击线段得到的多条向上撞击线段当中的每一条向上撞击线段上多次撞击隧道口点云的过程,能够使得最终确定的顶部形状点更贴近实际的隧道口形状,提高高精度地图生成隧道口形状的精确度。In this specific embodiment, by combining the bisection method in the high-precision map tunnel opening shape generation method of the present application, after multiple collisions on each upward collision line segment among the plurality of upward collision line segments obtained according to the first collision line segment The process of the tunnel entrance point cloud can make the final top shape point closer to the actual tunnel entrance shape, and improve the accuracy of the high-precision map to generate the tunnel entrance shape.
图1所示的S103,为根据纵向基准线段上的多个纵向分割点和隧道口点云确定隧道口两侧形状点的过程,其中纵向基准线段根据预先选定的隧道口最高点与起始点之间的线段而确定,起始点为经隧道口最高点向水平基准线段上垂直投影的投影点,多个纵向分割点可以为纵向基准线段的分割点。S103 shown in FIG. 1 is the process of determining the shape points on both sides of the tunnel mouth according to a plurality of longitudinal dividing points on the longitudinal reference line segment and the point cloud of the tunnel mouth, wherein the longitudinal reference line segment is based on the pre-selected highest point and starting point of the tunnel mouth The starting point is the vertical projection point on the horizontal reference line segment through the highest point of the tunnel entrance, and the multiple longitudinal dividing points can be the dividing points of the longitudinal reference line segment.
在本申请的一个优选实施例中,纵向基准线段可以为预先选定的隧道口最高点附近的最高点临近点与起始点之间的线段。In a preferred embodiment of the present application, the longitudinal reference line segment may be a line segment between a pre-selected line segment near the highest point near the highest point of the tunnel entrance and the starting point.
在本申请的一个具体实施方式中,多个纵向分割点可以为起始点与第二关键点之间的线段上的分割点。在该具体实施方式的一个实例中,多个纵向分割点可以包括起始点与第二关键点之间的线段的m等分点,m为不小于2的自然数。In a specific embodiment of the present application, the plurality of longitudinal division points may be division points on a line segment between the starting point and the second key point. In an example of this specific implementation manner, the plurality of longitudinal dividing points may include m equal dividing points of the line segment between the starting point and the second key point, where m is a natural number not less than 2.
优选的,可根据具体的隧道口形状精度要求选择m的取值。其中,m取值越大,左右撞击线段就会越多,得到的相应的两侧形状点也会越多,最终得到的隧道口形状也就更精确。同时,通过将多个纵向分割点取为包括起始点与第二关键点之间的线段的等分点,能够使得多条左右撞击线段分布均匀,从而使得得到的两侧形状点分布均匀,进而使得得到的隧道口形状更加精确,更接近真实的隧道口形状。Preferably, the value of m can be selected according to specific requirements on the shape accuracy of the tunnel mouth. Among them, the larger the value of m is, the more left and right impact line segments will be, the more corresponding shape points on both sides will be obtained, and the final shape of the tunnel mouth will be more accurate. At the same time, by taking a plurality of longitudinal dividing points as equal dividing points including the line segment between the starting point and the second key point, the plurality of left and right impact line segments can be evenly distributed, so that the obtained shape points on both sides are evenly distributed, and then The obtained tunnel mouth shape is more accurate and closer to the real tunnel mouth shape.
在本申请的一个具体实施方式中,根据纵向基准线段上的多个纵向分割点和隧道口点云确定隧道口两侧形状点的过程S103可以具体如下实现:将第一撞击线段平移至纵向基准线段上的多个纵向分割点处,得到相应的多条左右撞击线段;根据多条左右撞击线段和隧道口点云确定相应的两侧形状点。In a specific embodiment of the present application, the process S103 of determining the shape points on both sides of the tunnel entrance according to a plurality of longitudinal dividing points on the longitudinal reference line segment and the point cloud of the tunnel entrance can be specifically implemented as follows: Translate the first impact line segment to the longitudinal reference At multiple longitudinal division points on the line segment, corresponding multiple left and right impact line segments are obtained; according to the multiple left and right impact line segments and the tunnel entrance point cloud, the corresponding shape points on both sides are determined.
在实际场景中,隧道口形状多为左右对称结构,且隧道口点云多在起始点前后两侧分布。因此,在本申请的具体实施方式中,通过将第一撞击线段设置成从起始点向水平基准线段前后两侧分别扩展,能够保证在根据多条左右撞击线段确定两侧形状点的过程中,得到的隧道口形状点符合实际的隧道口形状,不会出现较大偏差,同时提高隧道口形状点确认过程的工作速度。In the actual scene, the shape of the tunnel entrance is mostly a left-right symmetrical structure, and the point cloud of the tunnel entrance is mostly distributed on the front and rear sides of the starting point. Therefore, in the specific embodiment of the present application, by setting the first impact line segment to expand from the starting point to the front and rear sides of the horizontal reference line segment, it can be ensured that in the process of determining the shape points on both sides according to a plurality of left and right impact line segments, The obtained shape point of the tunnel mouth conforms to the actual shape of the tunnel mouth, and there will be no large deviation, and at the same time, the working speed of the confirmation process of the shape point of the tunnel mouth is improved.
在该具体实施方式中,纵向分割点的个数越多,左右撞击线段就会越多,得到的相应的两侧形状点也会越多,最终得到的隧道口形状也就更精确。In this specific embodiment, the greater the number of longitudinal division points, the more left and right impact line segments will be, the more corresponding shape points on both sides will be obtained, and the final shape of the tunnel mouth will be more accurate.
优选的,第一撞击线段与水平基准线段位于同一水平面内,与水平基准线段垂直,且第一撞击线段以起始点为中点。通过对第一撞击线段的位置及角度的设置,能够保证在根据多条左右撞击线段确定隧道口形状点的过程中,得到的两侧形状点更加符合实际的隧道口形状,确保出现的偏差更小,同时更加提高隧道口形状点确认过程的工作速度。Preferably, the first impact line segment and the horizontal reference line segment are located in the same horizontal plane and are perpendicular to the horizontal reference line segment, and the first impact line segment takes the starting point as the midpoint. By setting the position and angle of the first impact line segment, it can be ensured that in the process of determining the shape points of the tunnel mouth according to multiple left and right impact line segments, the obtained shape points on both sides are more in line with the actual shape of the tunnel mouth, ensuring that the deviations that occur are more accurate. At the same time, the working speed of the process of confirming the shape point of the tunnel mouth is further improved.
在本申请的一个具体实施方式中,根据纵向基准线段上的多个纵向分割点和隧道口点云确定隧道口两侧形状点的过程S103,可以结合二分法来实现。具体实现过程与上述结合二分法来确定顶部形状点的具体实施例类似,此处不再赘述。In a specific embodiment of the present application, the process S103 of determining the shape points on both sides of the tunnel entrance according to a plurality of longitudinal division points on the longitudinal reference line segment and the tunnel entrance point cloud can be implemented in combination with the dichotomy method. The specific implementation process is similar to the above-mentioned specific embodiment of determining the top shape point in combination with the dichotomy method, and will not be repeated here.
在该具体实施方式中,通过在本申请的高精度地图隧道口形状生成方法中结合二分法,历经在根据第一撞击线段得到的多条左右撞击线段当中的每一条左右撞击线段上多次撞击隧道口点云的过程,能够使得最终确定的两侧形状点更贴近实际的隧道口形状,提高高精度地图生成隧道口形状的精确度。In this specific embodiment, by combining the bisection method in the high-precision map tunnel opening shape generation method of the present application, after multiple impacts on each left and right impact line segment among the plurality of left and right impact line segments obtained according to the first impact line segment The process of tunnel entrance point cloud can make the final determined shape points on both sides closer to the actual tunnel entrance shape, and improve the accuracy of the high-precision map to generate the tunnel entrance shape.
图1所示的S104,为根据顶部形状点和两侧形状点确定隧道口形状的过程。S104 shown in FIG. 1 is a process of determining the shape of the tunnel mouth according to the top shape point and the two side shape points.
优选的,在确定隧道口形状的过程S104中,可以用顶部形状点和两侧形状点,拟合得到隧道口形状。Preferably, in the process S104 of determining the shape of the tunnel mouth, the shape of the tunnel mouth may be obtained by fitting with the top shape point and the shape points on both sides.
在本申请的一个实例中,根据隧道口顶部形状点和隧道口两侧形状点的横坐标轴分量或纵坐标轴分量按照大小进行排序,进而得到隧道口的形状点串,计算设备通过预定函数对形状点串进行拟合,得到高精度地图隧道口形状。In an example of the present application, according to the abscissa axis component or ordinate axis component of the shape point at the top of the tunnel mouth and the shape points on both sides of the tunnel mouth, the shape points of the tunnel mouth are sorted according to size, and then the shape point string of the tunnel mouth is obtained. Fit the shape point string to get the shape of the tunnel entrance on the high-precision map.
在本申请的具体实施方式中,通过采用本申请的高精度地图隧道口生成方法,在高精度地图隧道口形状生成过程中,通过对点云自由视图中的点云用选定的隧道口底角点所属区域进行裁切,能够排除点云自由视图中的干扰点云点,从而保证最终形成高质量的高精度地图隧道口形状。In the specific embodiment of the present application, by using the high-precision map tunnel entrance generation method of the present application, in the process of generating the high-precision map tunnel entrance shape, the selected tunnel entrance bottom is used for the point cloud in the point cloud free view. The area to which the corner points belong can be cropped, which can eliminate the interfering point cloud points in the free view of the point cloud, thereby ensuring the final formation of a high-quality high-precision map tunnel mouth shape.
在本申请的具体实施方式中,通过多个关键点以及多条向上撞击线段、多条左右撞击线段位置的确定,能够使得最终获得的隧道口形状点能够准确反映真实隧道口的形状。In the specific embodiment of the present application, by determining the positions of multiple key points, multiple upward impact line segments, and multiple left and right impact line segments, the finally obtained tunnel mouth shape point can accurately reflect the real tunnel mouth shape.
在本申请的具体实施方式中,将多条向上撞击线段、多条左右撞击线段进行均匀分布,使得获得的隧道口形状点也呈现均匀分布,使得拟合得到的隧道口形状精确度更高。In the specific embodiment of the present application, a plurality of upward impact line segments and a plurality of left and right impact line segments are evenly distributed, so that the obtained tunnel mouth shape points are also uniformly distributed, so that the obtained tunnel mouth shape is more accurate.
在本申请的具体实施方式中,本申请的高精度地图隧道口形状生成方法,可根据具体的隧道口精度要求,来定制隧道口的顶部形状点和两侧形状点的个数,一方面能够提高本申请在应用场景上的广泛性,另一方面,也能够避免不同作业员因个人习惯不同造成作图质量差异较大的问题,使得最终得到的高精度地图隧道口形状贴近真实的隧道口形状。In the specific embodiment of the present application, the method for generating the shape of a tunnel mouth in a high-precision map of the present application can customize the number of the top shape points and the two side shape points of the tunnel mouth according to the specific accuracy requirements of the tunnel mouth. Improve the application's extensiveness in application scenarios, on the other hand, it can also avoid the problem of large differences in mapping quality caused by different operators due to different personal habits, so that the final high-precision map tunnel mouth shape is close to the real tunnel mouth shape.
图6示出了在本申请的高精度地图隧道口形状生成装置的一个具体实施方式。FIG. 6 shows a specific embodiment of the device for generating the shape of a tunnel mouth in a high-precision map of the present application.
在该具体实施方式中,高精度地图隧道口形状生成装置可以包括:模块601、模块602、模块603和模块604。In this specific embodiment, the high-precision map tunnel mouth shape generating apparatus may include: a
在该具体实施方式中,模块601为用于根据预先选定的隧道口的底角点所属区域确定隧道口点云的模块。In this specific embodiment, the
在本申请的一个具体实施例中,隧道口的底角点所属区域可以为包含预先选定的隧道口左侧底角点和隧道口右侧底角点的立体裁切区域。In a specific embodiment of the present application, the area to which the bottom corner point of the tunnel entrance belongs may be a three-dimensional cropping area including the preselected left bottom corner point of the tunnel entrance and the right bottom corner point of the tunnel entrance.
在该具体实施方式的一个实例中,隧道口的底角点所属区域的形状包括但不限于多面体、圆柱体、半圆柱体等。可以根据实际隧道口的形状,设定立体裁切区域的大小,能够使本申请的具体实施方式中高精度地图隧道口形状生成方法计算得到的隧道口形状更加贴合隧道口的实际形状。In an example of this specific embodiment, the shape of the region to which the bottom corner point of the tunnel mouth belongs includes, but is not limited to, a polyhedron, a cylinder, a semi-cylinder, and the like. The size of the three-dimensional cutting area can be set according to the shape of the actual tunnel mouth, so that the shape of the tunnel mouth calculated by the high-precision map tunnel mouth shape generation method in the specific embodiment of the present application can better fit the actual shape of the tunnel mouth.
通过对隧道口的底角点所属区域进行选定并在隧道口的底角点所属区域内点云自由视图的点云进行遍历,能够确保点云自由视图中处于隧道口附近的点云落在隧道口的底角点所属区域内,将一些偏差较大的点云点进行排除,从而能够在后续的确定隧道口形状过程中,排除干扰点的影响,进而降低在高精度地图中生成隧道口形状时的误差,提高获得的隧道口形状的精确度。By selecting the area to which the bottom corner of the tunnel mouth belongs and traversing the point cloud of the free view of the point cloud in the area to which the bottom corner of the tunnel mouth belongs, it can be ensured that the point cloud near the tunnel mouth in the free view of the point cloud falls within the area where the bottom corner of the tunnel mouth belongs. In the area where the bottom corner of the tunnel mouth belongs, some point cloud points with large deviations are excluded, so that the influence of interference points can be eliminated in the subsequent process of determining the shape of the tunnel mouth, thereby reducing the generation of tunnel mouths in high-precision maps. Errors in shape, improve the accuracy of the obtained tunnel mouth shape.
在该具体实施方式中,模块602为用于根据水平基准线段上的多个水平分割点和隧道口点云确定隧道口顶部形状点的模块,水平基准线段为隧道口左侧底角点与隧道口右侧底角点之间的线段,多个水平分割点可以为水平基准线段的分割点。In this specific embodiment, the
在该具体实施方式的一个实施例中,水平分割点的个数越多,向上撞击线段就会越多,得到的相应的顶部形状点也会越多,最终得到的隧道口形状也就更精确。In an example of this specific implementation manner, the more the number of horizontal division points, the more upward impact line segments will be, the more corresponding top shape points will be obtained, and the final shape of the tunnel mouth will be more accurate. .
在该具体实施方式中,模块603为用于根据纵向基准线段上的多个纵向分割点和隧道口点云确定隧道口两侧形状点的模块,纵向基准线段为预先选定的隧道口最高点附近的最高点临近点与起始点之间的线段,起始点为经隧道口最高点向水平基准线段上垂直投影的投影点,多个纵向分割点可以为纵向基准线段的分割点。In this specific embodiment, the
在该具体实施方式的一个实施例中,纵向分割点的个数越多,左右撞击线段就会越多,得到的相应的两侧形状点也会越多,最终得到的隧道口形状也就更精确。In an example of this specific implementation manner, the more the number of longitudinal division points, the more left and right impact line segments will be, the more corresponding shape points on both sides will be obtained, and the final shape of the tunnel opening will be more accurate.
在该具体实施方式中,模块604为用于根据顶部形状点和两侧形状点确定隧道口形状的模块。In this specific embodiment, the
优选的,模块604可以利用顶部形状点和两侧形状点,拟合得到隧道口形状。Preferably, the
在本申请的一个具体实施方式中,本申请的高精度隧道口形状生成装置中的模块601、模块602、模块603、以及模块604,可直接在硬件中、在由处理器执行的软件模块中或在两者的组合中。In a specific embodiment of the present application, the
软件模块可驻留在RAM存储器、快闪存储器、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可装卸盘、CD-ROM或此项技术中已知的任何其它形式的存储介质中。示范性存储介质耦合到处理器,使得处理器可从存储介质读取信息和向存储介质写入信息。A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium.
处理器可以是中央处理单元(英文:Central Processing Unit,简称:CPU),还可以是其他通用处理器、数字信号处理器(英文:Digital Signal Processor,简称:DSP)、专用集成电路(英文:Application Specific Integrated Circuit,简称:ASIC)、现场可编程门阵列(英文:Field Programmable Gate Array,简称:FPGA)或其它可编程逻辑装置、离散门或晶体管逻辑、离散硬件组件或其任何组合等。通用处理器可以是微处理器,但在替代方案中,处理器可以是任何常规处理器、控制器、微控制器或状态机。处理器还可实施为计算装置的组合,例如DSP与微处理器的组合、多个微处理器、结合DSP核心的一个或一个以上微处理器或任何其它此类配置。在替代方案中,存储介质可与处理器成一体式。处理器和存储介质可驻留在ASIC中。ASIC可驻留在用户终端中。在替代方案中,处理器和存储介质可作为离散组件驻留在用户终端中。The processor may be a central processing unit (English: Central Processing Unit, referred to as: CPU), or other general-purpose processors, digital signal processors (English: Digital Signal Processor, referred to as: DSP), application-specific integrated circuits (English: Application Specific Integrated Circuit, referred to as ASIC), Field Programmable Gate Array (English: Field Programmable Gate Array, referred to as: FPGA) or other programmable logic devices, discrete gate or transistor logic, discrete hardware components or any combination thereof. A general-purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, such as a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration. In the alternative, the storage medium may be integral with the processor. The processor and storage medium may reside in the ASIC. The ASIC may reside in the user terminal. In the alternative, the processor and storage medium may reside in the user terminal as discrete components.
在本申请的一个具体实施方式中,一种计算机可读存储介质,其存储有计算机指令,计算机指令被操作以执行任一实施例描述的高精度地图隧道口生成方法。In a specific embodiment of the present application, a computer-readable storage medium stores computer instructions, and the computer instructions are operated to execute the method for generating a tunnel entrance for a high-precision map described in any one of the embodiments.
在本申请的一个具体实施方式中,一种计算机设备,其包括处理器和存储器,存储器存储有计算机指令,其中:处理器操作计算机指令以执行任一实施例描述的高精度地图隧道口形状生成方法。In a specific embodiment of the present application, a computer device includes a processor and a memory, and the memory stores computer instructions, wherein: the processor operates the computer instructions to perform the high-precision map tunnel entrance shape generation described in any embodiment. method.
在本申请所提供的实施方式中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus 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 may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
以上所述仅为本申请的实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above descriptions are only the embodiments of the present application, and are not intended to limit the scope of the patent of the present application. Any equivalent structural transformation made by using the contents of the description and drawings of the present application, or directly or indirectly applied in other related technical fields, are the same as It is included within the scope of patent protection of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010529005.9A CN111895972B (en) | 2020-06-11 | 2020-06-11 | High-precision map tunnel portal shape generation method, device and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010529005.9A CN111895972B (en) | 2020-06-11 | 2020-06-11 | High-precision map tunnel portal shape generation method, device and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111895972A CN111895972A (en) | 2020-11-06 |
CN111895972B true CN111895972B (en) | 2022-06-17 |
Family
ID=73206282
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010529005.9A Active CN111895972B (en) | 2020-06-11 | 2020-06-11 | High-precision map tunnel portal shape generation method, device and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111895972B (en) |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB1147966A (en) * | 1967-05-01 | 1969-04-10 | Hughes Tool Co | Method and system for controlling the work-travel direction of a machine, particularly a tunnelling machine |
JP2606872B2 (en) * | 1988-03-14 | 1997-05-07 | 石川島播磨重工業株式会社 | Attitude control method of tunnel machine |
SE532431C2 (en) * | 2008-05-30 | 2010-01-19 | Atlas Copco Rock Drills Ab | Method and apparatus for determining a correspondence between a representation of an environment and said environment |
BR112017023728A2 (en) * | 2015-05-04 | 2018-07-31 | Joy Mm Delaware Inc | systems and methods for assessing underground road conditions using accelerometers. |
CN106996783B (en) * | 2016-01-25 | 2020-01-31 | 北京四维图新科技股份有限公司 | A kind of intelligent matching method and device of driving trajectory and road network base map |
US10816347B2 (en) * | 2017-12-12 | 2020-10-27 | Maser Consulting, Inc. | Tunnel mapping system and methods |
CN110361015B (en) * | 2018-09-30 | 2021-04-02 | 长城汽车股份有限公司 | Road feature point extraction method and system |
-
2020
- 2020-06-11 CN CN202010529005.9A patent/CN111895972B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111895972A (en) | 2020-11-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102068419B1 (en) | Method, apparatus and computer readable medium for adjusting point cloud data collection trajectory | |
WO2019062649A1 (en) | Adaptive region division method and system | |
CN114612665B (en) | Pose estimation and dynamic vehicle detection method based on normal vector histogram features | |
CN112085033A (en) | Template matching method and device, electronic equipment and storage medium | |
CN109977466A (en) | A kind of 3-D scanning viewpoint planning method, apparatus and computer readable storage medium | |
WO2022110862A1 (en) | Method and apparatus for constructing road direction arrow, electronic device, and storage medium | |
CN114646317A (en) | Vehicle visual positioning and navigation control method, device, computer equipment, and medium | |
CN111897364A (en) | A method, device and readable storage medium for regional trajectory planning of unmanned aerial vehicle | |
WO2022062355A1 (en) | Fusion positioning method and apparatus | |
CN111220163A (en) | Curve judgment method based on curvature radius calculation, terminal device and storage medium | |
CN110930422B (en) | Object outer frame determining method and device, computer equipment and readable storage medium | |
CN108564604B (en) | Binocular vision stereo matching method and device based on plane constraint and triangulation | |
CN111895972B (en) | High-precision map tunnel portal shape generation method, device and medium | |
CN115035964B (en) | Micro-milling performance prediction method and system for crystalline metal materials | |
KR20110032366A (en) | Image processing apparatus and method | |
WO2023071029A1 (en) | Map data processing method and apparatus, and electronic device and storage medium | |
CN109635659B (en) | Face key point location method, device, storage medium and electronic device | |
CN114444185A (en) | In-situ labeling identification method and device and electronic equipment | |
CN116229005B (en) | Geodesic determining method and device for three-dimensional roadway model | |
CN114581292B (en) | A three-dimensional annotation method and device for two-dimensional images | |
JP6441032B2 (en) | Corresponding point search device, corresponding point search program, and corresponding point search method | |
CN111429581B (en) | Method and device for determining outer contour of game model and adding game special effects | |
CN109191365B (en) | Three-dimensional space handwritten character dimension reduction method based on directed cuboid | |
CN109377562B (en) | A Viewpoint Planning Method for Automatic 3D Measurement | |
CN108195315B (en) | Data transmission system of handheld laser scanner |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |