CN115406456A - Transverse deceleration marked line and pedestrian crossing data processing method and system - Google Patents
Transverse deceleration marked line and pedestrian crossing data processing method and system Download PDFInfo
- Publication number
- CN115406456A CN115406456A CN202210995494.6A CN202210995494A CN115406456A CN 115406456 A CN115406456 A CN 115406456A CN 202210995494 A CN202210995494 A CN 202210995494A CN 115406456 A CN115406456 A CN 115406456A
- Authority
- CN
- China
- Prior art keywords
- data
- lateral deceleration
- pedestrian crossing
- markings
- lateral
- 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.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000012216 screening Methods 0.000 claims abstract description 6
- 238000012545 processing Methods 0.000 claims description 15
- 238000005520 cutting process Methods 0.000 claims description 14
- 238000003860 storage Methods 0.000 claims description 8
- 238000013480 data collection Methods 0.000 claims description 5
- 238000010276 construction Methods 0.000 claims description 3
- 238000013459 approach Methods 0.000 claims 1
- 238000000034 method Methods 0.000 abstract description 17
- 230000008569 process Effects 0.000 abstract description 6
- 230000000007 visual effect Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 16
- 238000004590 computer program Methods 0.000 description 11
- 230000006870 function Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- 230000008439 repair process Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000008094 contradictory effect Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Images
Classifications
-
- 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/34—Route searching; Route guidance
- G01C21/3407—Route searching; Route guidance specially adapted for specific applications
- G01C21/343—Calculating itineraries
-
- 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/34—Route searching; Route guidance
- G01C21/36—Input/output arrangements for on-board computers
- G01C21/3602—Input other than that of destination using image analysis, e.g. detection of road signs, lanes, buildings, real preceding vehicles using a camera
-
- 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/38—Electronic maps specially adapted for navigation; Updating thereof
- G01C21/3804—Creation or updating of map data
- G01C21/3807—Creation or updating of map data characterised by the type of data
- G01C21/3815—Road data
- G01C21/3822—Road feature data, e.g. slope data
-
- 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/38—Electronic maps specially adapted for navigation; Updating thereof
- G01C21/3804—Creation or updating of map data
- G01C21/3833—Creation or updating of map data characterised by the source of data
- G01C21/3856—Data obtained from user input
Landscapes
- Engineering & Computer Science (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Automation & Control Theory (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Instructional Devices (AREA)
Abstract
本发明提供一种横向减速标线和人行横道数据处理方法及处理系统,处理方法包括:从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据;基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状;基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道。本发明能够解决智能导航辅助驾驶过程中车端平台在展示道路信息时横向减速标线和人行横道不完整的问题。此方法可以优化还原出横向减速标线和人行横道完整形状,提升画面视觉体验。
The present invention provides a data processing method and system for lateral deceleration markings and pedestrian crossings. The processing method includes: screening out the data of lateral deceleration markings and pedestrian crossings that need to be repaired from high-precision data; Or the polygonal shape of the pedestrian crossing data, reconstruct the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data; based on the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data, cut out the lateral deceleration markings and pedestrian crossings. The invention can solve the problem of incomplete lateral deceleration markings and pedestrian crossings when the car-end platform displays road information in the process of intelligent navigation assisted driving. This method can optimize and restore the complete shape of the horizontal deceleration markings and pedestrian crossings, improving the visual experience of the picture.
Description
技术领域technical field
本发明涉及高精度地图数据领域,更具体地,涉及一种横向减速标线和人行横道数据处理方法及处理系统。The invention relates to the field of high-precision map data, and more specifically, to a data processing method and system for lateral deceleration markings and pedestrian crossings.
背景技术Background technique
随着自动驾驶技术越来越成熟,智能导航辅助驾驶越来越普及,对车道信息的展示提出了更高的要求。地图数据采集车在道路上扫描采集横向减速标线和人行横道时,如果横向减速标线和人行横道上有障碍物有遮挡,会导致采集出来的横向减速标线和人行横道缺失某一部分数据,形状不规则。With the maturity of autonomous driving technology and the increasing popularity of intelligent navigation assisted driving, higher requirements are put forward for the display of lane information. When the map data collection vehicle scans and collects the lateral deceleration markings and pedestrian crossings on the road, if there are obstacles and obstructions on the lateral deceleration markings and pedestrian crossings, some data will be missing from the collected lateral deceleration markings and pedestrian crossings, and the shape will be irregular. .
发明内容Contents of the invention
本发明针对现有技术中存在的技术问题,提供一种横向减速标线和人行横道数据处理方法及处理系统。Aiming at the technical problems existing in the prior art, the present invention provides a data processing method and system for lateral deceleration markings and pedestrian crossings.
根据本发明的第一方面,提供了一种横向减速标线和人行横道数据处理方法,包括:According to a first aspect of the present invention, a method for processing data on lateral deceleration markings and pedestrian crossings is provided, including:
从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据;Select the data of lateral deceleration markings and pedestrian crossings that need to be repaired from high-precision data;
基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状;Reconstruct the complete rectangular shape corresponding to the lateral deceleration marking data or pedestrian crossing data based on the polygonal shape of the lateral deceleration marking data or pedestrian crossing data that needs to be repaired;
基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道。Based on the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data, the lateral deceleration markings and pedestrian crossings are cut out.
在上述技术方案的基础上,本发明还可以作出如下改进。On the basis of the above technical solution, the present invention can also make the following improvements.
可选的,所述从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据,包括:Optionally, the lateral deceleration marking data and crosswalk data that need to be repaired are selected from the high-precision data, including:
通过地图数据采集车采集全国道路的高精度数据;Collect high-precision data of national roads through map data collection vehicles;
从所述高精度数据中筛选出横向减速标线和人行横道数据;Screen out the data of lateral deceleration markings and pedestrian crossings from the high-precision data;
基于所述横向减速标线或人行横道数据的顶点个数,判断所述横向减速标线或人行横道数据是否需要修复。Based on the number of vertices of the lateral deceleration markings or pedestrian crossing data, it is judged whether the lateral deceleration markings or pedestrian crossing data need to be repaired.
可选的,所述基于所述横向减速标线或人行横道数据的顶点个数,判断所述横向减速标线和人行横道数据是否需要修复,包括:Optionally, the judging whether the lateral deceleration markings and pedestrian crossing data need to be repaired based on the number of vertices of the lateral deceleration markings or pedestrian crossing data includes:
若所述横向减速标线或人行横道数据的顶点个数大于四个,则所述横向减速标线或人行横道数据需要修复。If the number of vertices of the lateral deceleration markings or pedestrian crossing data is greater than four, the lateral deceleration markings or pedestrian crossing data need to be repaired.
可选的,所述基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状,包括:Optionally, rebuilding the complete rectangular shape corresponding to the lateral deceleration marking data or pedestrian crossing data based on the polygonal shape of the lateral deceleration marking data or pedestrian crossing data that needs to be repaired, including:
获取所述横向减速标线数据或人行横道数据的多边形形状的最长边和第二长边,在两条边之间做出垂线;Obtain the longest side and the second longest side of the polygonal shape of the lateral deceleration marking data or pedestrian crossing data, and make a vertical line between the two sides;
基于多边形形状和所述垂线,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状。Based on the polygonal shape and the vertical line, a complete rectangular shape corresponding to the lateral deceleration marking data or the crosswalk data is reconstructed.
可选的,所述基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道,包括:Optionally, cutting out the lateral deceleration markings and pedestrian crossings based on the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data includes:
以第一设定步长和宽度对所述矩形形状的短边进行切割,得到横向减速标线,以第二设定步长和宽度对所述矩形形状的长边进行切割,得到人行横道。The short side of the rectangular shape is cut with a first set step and width to obtain a lateral deceleration marking, and the long side of the rectangular shape is cut with a second set step and width to obtain a pedestrian crossing.
根据本发明的第二方面,提供一种横向减速标线和人行横道数据处理系统,包括:According to a second aspect of the present invention, a lateral deceleration marking and pedestrian crossing data processing system is provided, including:
筛选模块,用于从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据;The screening module is used to screen out the data of lateral deceleration markings and pedestrian crossings that need to be repaired from high-precision data;
构建模块,用于基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状;A building block for reconstructing a complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data based on the polygonal shape of the lateral deceleration marking data or pedestrian crossing data that needs to be repaired;
切割模块,用于基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道。The cutting module is configured to cut out the lateral deceleration markings and pedestrian crossings based on the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data.
可选的,所述构建模块,用于基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状,包括:Optionally, the building module is used to reconstruct the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data based on the polygonal shape of the lateral deceleration marking data or pedestrian crossing data that needs to be repaired, including:
获取所述横向减速标线数据或人行横道数据的多边形形状的最长边和第二长边,在两条边之间做出垂线;Obtain the longest side and the second longest side of the polygonal shape of the lateral deceleration marking data or pedestrian crossing data, and make a vertical line between the two sides;
基于多边形形状和所述垂线,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状。Based on the polygonal shape and the vertical line, a complete rectangular shape corresponding to the lateral deceleration marking data or the crosswalk data is reconstructed.
可选的,所述切割模块,用于基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道,包括:Optionally, the cutting module is configured to cut out the lateral deceleration markings and pedestrian crossings based on the complete rectangular shape corresponding to the lateral deceleration marking data or the crosswalk data, including:
以第一设定步长和宽度对所述矩形形状的短边进行切割,得到横向减速标线,以第二设定步长和宽度对所述矩形形状的长边进行切割,得到人行横道。The short side of the rectangular shape is cut with a first set step and width to obtain a lateral deceleration marking, and the long side of the rectangular shape is cut with a second set step and width to obtain a pedestrian crossing.
根据本发明的第三方面,提供了一种电子设备,包括存储器、处理器,所述处理器用于执行存储器中存储的计算机管理类程序时实现横向减速标线和人行横道数据处理方法的步骤。According to a third aspect of the present invention, an electronic device is provided, including a memory and a processor, and the processor is used to implement the steps of the data processing method for lateral deceleration markings and pedestrian crossings when executing computer management programs stored in the memory.
根据本发明的第四方面,提供了一种计算机可读存储介质,其上存储有计算机管理类程序,所述计算机管理类程序被处理器执行时实现横向减速标线和人行横道数据处理方法的步骤。According to the fourth aspect of the present invention, a computer-readable storage medium is provided, on which a computer management program is stored, and when the computer management program is executed by a processor, the steps of the data processing method for lateral deceleration markings and pedestrian crossings are realized .
本发明提供的一种横向减速标线和人行横道数据处理方法及处理系统,对横向减速标线和人行横道缺失的部分进行修复,处理成正常的矩形;车端平台在展示道路数据时将会展示完整的横向减速标线和人行横道,符合现实道路上的状态,解决智能导航辅助驾驶过程中车端平台在展示道路信息时横向减速标线和人行横道不完整的问题。此方法可以优化还原出横向减速标线和人行横道完整形状,提升画面视觉体验。The invention provides a data processing method and processing system for lateral deceleration markings and pedestrian crossings, which repairs the missing parts of lateral deceleration markings and pedestrian crossings, and processes them into normal rectangles; when displaying road data, the car-end platform will display complete The horizontal deceleration markings and pedestrian crossings conform to the state of the real road, and solve the problem that the vehicle-end platform displays road information in the process of intelligent navigation and assisted driving. The horizontal deceleration markings and pedestrian crossings are incomplete. This method can optimize and restore the complete shape of the horizontal deceleration markings and pedestrian crossings, improving the visual experience of the picture.
附图说明Description of drawings
图1为本发明提供的一种横向减速标线和人行横道数据处理方法流程图;Fig. 1 is a kind of flow chart of lateral deceleration marking and crosswalk data processing method provided by the present invention;
图2为重新构建矩形形状的示意图;Fig. 2 is a schematic diagram of reconstructing a rectangular shape;
图3为横向减速标线实时展示效果示意图;Figure 3 is a schematic diagram of the real-time display effect of the lateral deceleration marking;
图4为人行横道实时展示效果示意图;Figure 4 is a schematic diagram of the real-time display effect of the pedestrian crossing;
图5为本发明提供的一种横向减速标线和人行横道数据处理系统的结构示意图;Fig. 5 is a schematic structural diagram of a lateral deceleration marking and pedestrian crossing data processing system provided by the present invention;
图6为本发明提供的一种可能的电子设备的硬件结构示意图;FIG. 6 is a schematic diagram of a hardware structure of a possible electronic device provided by the present invention;
图7为本发明提供的一种可能的计算机可读存储介质的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of a possible computer-readable storage medium provided by the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。另外,本发明提供的各个实施例或单个实施例中的技术特征可以相互任意结合,以形成可行的技术方案,这种结合不受步骤先后次序和/或结构组成模式的约束,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时,应当认为这种技术方案的结合不存在,也不在本发明要求的保护范围之内。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention. In addition, the technical features in each embodiment or a single embodiment provided by the present invention can be combined arbitrarily with each other to form a feasible technical solution. This combination is not restricted by the sequence of steps and/or structural composition mode, but it must be Based on the ability of those skilled in the art to realize, when the combination of technical solutions is contradictory or unrealizable, it should be considered that such combination of technical solutions does not exist and is not within the protection scope of the present invention.
图1为本发明提供的一种横向减速标线和人行横道数据处理方法流程图,如图1所示,该处理方法主要包括以下步骤:Fig. 1 is a kind of flow chart of lateral deceleration marking and crosswalk data processing method provided by the present invention, as shown in Fig. 1, this processing method mainly comprises the following steps:
S1,从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据。S1, select the data of lateral deceleration markings and pedestrian crossings that need to be repaired from the high-precision data.
作为实施例,所述从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据,包括:通过地图数据采集车采集全国道路的高精度数据;从所述高精度数据中筛选出横向减速标线和人行横道数据;基于所述横向减速标线或人行横道数据的顶点个数,判断所述横向减速标线或人行横道数据是否需要修复。As an embodiment, the screening out the lateral deceleration marking data and crosswalk data that need to be repaired from the high-precision data includes: collecting high-precision data of roads across the country through a map data collection vehicle; Deceleration markings and pedestrian crossing data; based on the number of vertices of the lateral deceleration markings or pedestrian crossing data, it is judged whether the lateral deceleration markings or pedestrian crossing data need to be repaired.
所述基于所述横向减速标线或人行横道数据的顶点个数,判断所述横向减速标线和人行横道数据是否需要修复,包括:若所述横向减速标线或人行横道数据的顶点个数大于四个,则所述横向减速标线或人行横道数据需要修复。The judging whether the lateral deceleration markings and pedestrian crossing data need to be repaired based on the number of vertices of the lateral deceleration markings or pedestrian crossing data includes: if the number of vertices of the lateral deceleration markings or pedestrian crossing data is greater than four , then the data of the lateral deceleration marking or pedestrian crossing needs to be repaired.
可以理解的是,获取甲级测绘资质,通过地图数据采集车采集全国道路的高精度数据,从高精度数据中筛选出横向减速标线和人行横道数据。It is understandable that to obtain Class A surveying and mapping qualifications, the high-precision data of roads across the country are collected through map data collection vehicles, and the data of lateral deceleration markings and pedestrian crossings are screened out from the high-precision data.
对于筛选出的横向减速标线和人行横道数据,有些横向减速标线和人行横道数据可能存在缺失,对于缺失的数据,需要进行补充修复,还原出道路上横向减速标线和人行横道的形状。For the filtered data of lateral deceleration markings and pedestrian crossings, some data of lateral deceleration markings and pedestrian crossings may be missing. For the missing data, supplementary repair is required to restore the shape of lateral deceleration markings and pedestrian crossings on the road.
其中,判断出横向减速标线和人行横道数据的顶点个数,如果顶点个数大于四个,表示该图形为一个多边形,现实中横向减速标线和人行横道的形状为矩形,因此,高精度数据中形状为多边形的横向减速标线或行人横道为需要修复的横向减速标线和人行横道。Among them, the number of vertices of the lateral deceleration markings and pedestrian crossing data is judged. If the number of vertices is greater than four, it means that the graph is a polygon. In reality, the shape of the lateral deceleration markings and pedestrian crossings is a rectangle. Therefore, in high-precision data Horizontal deceleration markings or pedestrian crosswalks in polygonal shape are lateral deceleration markings and pedestrian crossings that need to be repaired.
S2,基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状。S2. Based on the polygonal shape of the lateral deceleration marking data or pedestrian crossing data that needs to be repaired, reconstruct the complete rectangular shape corresponding to the lateral deceleration marking data or pedestrian crossing data.
作为实施例,所述基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状,包括:获取所述横向减速标线数据或人行横道数据的多边形形状的最长边和第二长边,在两条边之间做出垂线;基于多边形形状和所述垂线,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状。As an embodiment, the reconstruction of the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data based on the polygonal shape of the lateral deceleration marking data or the pedestrian crossing data that needs to be repaired includes: acquiring the lateral deceleration marking data or the pedestrian crossing The longest side and the second longest side of the polygonal shape of the data, and a vertical line is drawn between the two sides; based on the polygonal shape and the vertical line, the complete rectangular shape corresponding to the lateral deceleration marking data or the crosswalk data is reconstructed.
可以理解的是,如果横向减速标线或人行横道数据需要修复,此时计算出多边形每条边的长度获取最长边和第二长边,以最长边和第二长边为基础,在两条边之间做出垂线,利用方向角和三角函数计算出垂线长度,基于最长边、第二长边和垂线重新构建矩形。It is understandable that if the data of lateral deceleration markings or pedestrian crossings needs to be repaired, the length of each side of the polygon is calculated at this time to obtain the longest side and the second longest side, based on the longest side and the second longest side, in the two Draw a vertical line between the two sides, use the direction angle and trigonometric functions to calculate the length of the vertical line, and reconstruct the rectangle based on the longest side, the second longest side and the vertical line.
具体的,可参见图2,重新构建矩形形状的步骤包括:Specifically, referring to Figure 2, the steps of reconstructing the rectangular shape include:
(1)采集到的数据如图2ABCDE的多边形结构,ABCDE按顺时针排序,ABCDE都是经纬度点;(1) The collected data is shown in the polygonal structure of ABCDE in Figure 2, ABCDE is sorted clockwise, and ABCDE is a point of latitude and longitude;
(2)根据每个点的经纬度,可计算出每条边的长度并得到第二长边BC和最长边EA;(2) According to the latitude and longitude of each point, the length of each side can be calculated and the second longest side BC and the longest side EA can be obtained;
(3)从最长边向第二长边做垂线EF,在BC的延长线上得到F点;(3) Make a vertical line EF from the longest side to the second longest side, and get point F on the extension line of BC;
(4)根据C点经纬度和E点的经纬度,可计算出CE的方向角和CE的长度;(4) According to the latitude and longitude of point C and point E, the direction angle of CE and the length of CE can be calculated;
(5)得到CE的方向角进而可以得到∠CEF的大小;(5) Get the direction angle of CE and then get the size of ∠CEF;
(6)知道斜边CE长度和夹角∠CEF大小,利用三角函数可以计算出FE的长度;(6) Knowing the length of the hypotenuse CE and the size of the included angle ∠CEF, the length of FE can be calculated by using trigonometric functions;
(7)此时用E点经纬度、FE的长度、在E点偏转90度,可计算出F点的经纬度;(7) At this time, the longitude and latitude of point F can be calculated by using the latitude and longitude of point E, the length of FE, and the deflection of 90 degrees at point E;
(8)完成以上步骤计算出了一个新的四边形的四个顶点ABFE,即重新构建的矩形形状。(8) Complete the above steps to calculate the four vertices ABFE of a new quadrilateral, i.e. the reconstructed rectangular shape.
S3,基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道。S3, based on the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data, cutting out the lateral deceleration markings and the pedestrian crossing.
作为实施例,所述基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道,包括:以第一设定步长和宽度对所述矩形形状的短边进行切割,得到横向减速标线,以第二设定步长和宽度对所述矩形形状的长边进行切割,得到人行横道。As an embodiment, the cutting out the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data includes: cutting the short side of the rectangular shape with the first set step length and width cutting to obtain a lateral deceleration marking, and cutting the long side of the rectangular shape with the second set step and width to obtain a pedestrian crossing.
可以理解的是,当构建出表征横向减速标线和人行横道的矩形形状后,如果矩形形状表征横向减速标线,则对矩形形状的短边进行切割,得到横向减速标线。如果矩形形状表征人行横道,则对矩形的长边进行切割,得到人行横道。It can be understood that after constructing the rectangular shape representing the lateral deceleration marking and pedestrian crossing, if the rectangular shape represents the lateral deceleration marking, the short side of the rectangular shape is cut to obtain the lateral deceleration marking. If the rectangular shape characterizes the crosswalk, then the long side of the rectangle is cut to get the crosswalk.
具体的,可参见图3,为横向减速标线展示效果图,以第一设定步长和宽度对所述矩形形状的短边进行切割,得到横向减速标线。其中,第一设定步长为相邻两条横向减速标线之间的间隔,第一设定宽度为每一条横向减速标线的宽度。Specifically, please refer to FIG. 3 , which is a display effect diagram of the lateral deceleration markings. The short side of the rectangular shape is cut with the first set step and width to obtain the lateral deceleration markings. Wherein, the first setting step is the interval between two adjacent lateral deceleration markings, and the first setting width is the width of each lateral deceleration marking.
同样的,可参见图4,为人行横道展示效果图,以第二设定步长和宽度对所述矩形形状的长边进行切割,得到人行横道。其中,第二设定步长为相邻两条人行横道之间的间隔,第二设定宽度为每一条人行横道的宽度。Similarly, referring to FIG. 4 , an effect diagram is shown for the crosswalk, and the long side of the rectangular shape is cut with the second set step and width to obtain the crosswalk. Wherein, the second set step length is the interval between two adjacent crosswalks, and the second set width is the width of each crosswalk.
将修复好的横向减速标线和人行横道导出进行保存。Export and save the repaired lateral deceleration markings and pedestrian crossings.
参见图5,提供了本发明的一种横向减速标线和人行横道数据处理方法及处理系统,该处理系统包括筛选模块501、构建模块502和切割模块503,其中:Referring to Fig. 5, a data processing method and system for lateral deceleration markings and pedestrian crossings of the present invention are provided, the processing system includes a screening module 501, a building module 502 and a cutting module 503, wherein:
筛选模块501,用于从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据;构建模块502,用于基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状;切割模块503,用于基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道。The screening module 501 is used to screen out the data of lateral deceleration markings and pedestrian crossing data that need to be repaired from the high-precision data; the construction module 502 is used to reconstruct the lateral deceleration marking data or the polygonal shape of the pedestrian crossing data based on the data of lateral deceleration markings or pedestrian crossing data that need to be repaired. The complete rectangular shape corresponding to the deceleration marking data or the pedestrian crossing data; the cutting module 503 is configured to cut out the lateral deceleration markings and pedestrian crossings based on the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data.
其中,所述构建模块502,用于基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状,包括:获取所述横向减速标线数据或人行横道数据的多边形形状的最长边和第二长边,在两条边之间做出垂线;基于多边形形状和所述垂线,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状。Wherein, the construction module 502 is used to reconstruct the complete rectangular shape corresponding to the lateral deceleration marking data or pedestrian crossing data based on the polygonal shape of the lateral deceleration marking data or pedestrian crossing data that needs to be repaired, including: obtaining the lateral deceleration marking The longest side and the second longest side of the polygonal shape of line data or crosswalk data, make a vertical line between the two sides; Full rectangular shape.
所述切割模块503,用于基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道,包括:以第一设定步长和宽度对所述矩形形状的短边进行切割,得到横向减速标线,以第二设定步长和宽度对所述矩形形状的长边进行切割,得到人行横道。The cutting module 503 is configured to cut out the lateral deceleration markings and the pedestrian crossing based on the complete rectangular shape corresponding to the lateral deceleration marking data or the pedestrian crossing data, including: using the first set step length and width to cut the short length of the rectangular shape The side is cut to obtain the lateral deceleration marking, and the long side of the rectangular shape is cut with the second set step length and width to obtain the pedestrian crossing.
可以理解的是,本发明提供的一种横向减速标线和人行横道数据处理系统与前述各实施例提供的横向减速标线和人行横道数据处理方法相对应,横向减速标线和人行横道数据处理系统的相关技术特征可参考横向减速标线和人行横道数据处理方法的相关技术特征,在此不再赘述。It can be understood that a lateral deceleration marking and pedestrian crossing data processing system provided by the present invention corresponds to the lateral deceleration marking and pedestrian crossing data processing method provided in the foregoing embodiments, and the correlation between the lateral deceleration marking and pedestrian crossing data processing system For the technical features, please refer to the relevant technical features of the lateral deceleration markings and pedestrian crossing data processing methods, and will not be repeated here.
请参阅图6,图6为本发明实施例提供的电子设备的实施例示意图。如图6所示,本发明实施例提了一种电子设备600,包括存储器610、处理器620及存储在存储器610上并可在处理器620上运行的计算机程序611,处理器620执行计算机程序611时实现以下步骤:从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据;基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状;基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道。Please refer to FIG. 6 . FIG. 6 is a schematic diagram of an embodiment of an electronic device provided by an embodiment of the present invention. As shown in Figure 6, the embodiment of the present invention provides an
请参阅图7,图7为本发明提供的一种计算机可读存储介质的实施例示意图。如图7所示,本实施例提供了一种计算机可读存储介质700,其上存储有计算机程序711,该计算机程序711被处理器执行时实现如下步骤:从高精度数据中筛选出需要修复的横向减速标线数据和人行横道数据;基于需要修复的横向减速标线数据或人行横道数据的多边形形状,重新构建横向减速标线数据或人行横道数据对应的完整矩形形状;基于横向减速标线数据或人行横道数据对应的完整矩形形状,切割出横向减速标线和人行横道。Please refer to FIG. 7, which is a schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. As shown in FIG. 7 , this embodiment provides a computer-
本发明实施例提供的一种横向减速标线和人行横道数据处理方法及处理系统,对横向减速标线和人行横道缺失的部分进行修复,处理成正常的矩形;车端平台在展示道路数据时将会展示完整的横向减速标线和人行横道,符合现实道路上的状态,解决智能导航辅助驾驶过程中车端平台在展示道路信息时横向减速标线和人行横道不完整的问题。此方法可以优化还原出横向减速标线和人行横道完整形状,提升画面视觉体验。The embodiment of the present invention provides a data processing method and processing system for lateral deceleration markings and pedestrian crossings, which repairs the missing parts of lateral deceleration markings and pedestrian crossings, and processes them into normal rectangles; when displaying road data, the car-end platform will Display complete lateral deceleration markings and pedestrian crossings, in line with the actual road conditions, and solve the problem of incomplete lateral deceleration markings and pedestrian crossings when the car-end platform displays road information in the process of intelligent navigation and assisted driving. This method can optimize and restore the complete shape of the horizontal deceleration markings and pedestrian crossings, improving the visual experience of the picture.
需要说明的是,在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详细描述的部分,可以参见其它实施例的相关描述。It should be noted that, in the foregoing embodiments, descriptions of each embodiment have their own emphases, and for parts that are not described in detail in a certain embodiment, reference may be made to relevant descriptions of other embodiments.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式计算机或者其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded computer, or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce a machine for A device for realizing the functions specified in one or more procedures of a flowchart and/or one or more blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
尽管已描述了本发明的优选实施例,但本领域内的技术人员一旦得知了基本创造概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。While preferred embodiments of the invention have been described, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is understood. Therefore, it is intended that the appended claims be construed to cover the preferred embodiment as well as all changes and modifications which fall within the scope of the invention.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包括这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210995494.6A CN115406456A (en) | 2022-08-18 | 2022-08-18 | Transverse deceleration marked line and pedestrian crossing data processing method and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210995494.6A CN115406456A (en) | 2022-08-18 | 2022-08-18 | Transverse deceleration marked line and pedestrian crossing data processing method and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115406456A true CN115406456A (en) | 2022-11-29 |
Family
ID=84158887
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210995494.6A Pending CN115406456A (en) | 2022-08-18 | 2022-08-18 | Transverse deceleration marked line and pedestrian crossing data processing method and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115406456A (en) |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150041543A1 (en) * | 2013-08-08 | 2015-02-12 | Casio Computer Co., Ltd | Image Processing Apparatus, Image Processing Method, And Recording Medium |
| JP2015177442A (en) * | 2014-03-17 | 2015-10-05 | パイオニア株式会社 | Information processing apparatus, information processing method, information processing program, and computer-readable recording medium recording the information processing program |
| CN111311902A (en) * | 2018-12-12 | 2020-06-19 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and machine readable medium |
| CN111881790A (en) * | 2020-07-14 | 2020-11-03 | 武汉中海庭数据技术有限公司 | Automatic extraction method and device for road crosswalk in high-precision map making |
| CN112446315A (en) * | 2020-11-19 | 2021-03-05 | 武汉中海庭数据技术有限公司 | High-precision map zebra crossing fusion method, system, server and storage medium |
| CN112529086A (en) * | 2020-12-17 | 2021-03-19 | 武汉中海庭数据技术有限公司 | Stop line generation method, electronic device, and storage medium |
| CN113610860A (en) * | 2021-06-17 | 2021-11-05 | 阿波罗智能技术(北京)有限公司 | High-precision map zebra crossing generation method and device and electronic equipment |
-
2022
- 2022-08-18 CN CN202210995494.6A patent/CN115406456A/en active Pending
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20150041543A1 (en) * | 2013-08-08 | 2015-02-12 | Casio Computer Co., Ltd | Image Processing Apparatus, Image Processing Method, And Recording Medium |
| JP2015177442A (en) * | 2014-03-17 | 2015-10-05 | パイオニア株式会社 | Information processing apparatus, information processing method, information processing program, and computer-readable recording medium recording the information processing program |
| CN111311902A (en) * | 2018-12-12 | 2020-06-19 | 阿里巴巴集团控股有限公司 | Data processing method, device, equipment and machine readable medium |
| CN111881790A (en) * | 2020-07-14 | 2020-11-03 | 武汉中海庭数据技术有限公司 | Automatic extraction method and device for road crosswalk in high-precision map making |
| CN112446315A (en) * | 2020-11-19 | 2021-03-05 | 武汉中海庭数据技术有限公司 | High-precision map zebra crossing fusion method, system, server and storage medium |
| CN112529086A (en) * | 2020-12-17 | 2021-03-19 | 武汉中海庭数据技术有限公司 | Stop line generation method, electronic device, and storage medium |
| CN113610860A (en) * | 2021-06-17 | 2021-11-05 | 阿波罗智能技术(北京)有限公司 | High-precision map zebra crossing generation method and device and electronic equipment |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110796714B (en) | Map construction method, device, terminal and computer readable storage medium | |
| US20240112400A1 (en) | Map data filtering for simulated-driving-environment generation | |
| DE102016100428A1 (en) | In virtual environments refined autonomous driving | |
| CN111553963A (en) | Meta-grid generation method and device based on geographic information | |
| CN103489314B (en) | Real-time road condition display method and device | |
| CN110530392B (en) | Path planning method and device based on combination of traditional map and high-precision map | |
| CN113177993B (en) | A method and system for generating high-precision maps in a simulation environment | |
| CN114416896A (en) | Method and system for extracting road level information in high-precision map data | |
| CN110647053A (en) | Automatic driving simulation method and system | |
| EP3959485A1 (en) | Generation of surface maps to improve navigation | |
| CN103234546A (en) | Lane-changing induction method and device in true three-dimensional navigation | |
| US20230069680A1 (en) | Simulated-driving-environment generation | |
| CN112184900B (en) | Determination method, device and storage medium of elevation data | |
| CN115406456A (en) | Transverse deceleration marked line and pedestrian crossing data processing method and system | |
| CN119181070B (en) | Data processing method, device, equipment, storage medium and product | |
| JP2002333829A (en) | Electronic map data | |
| JP4790280B2 (en) | MAP DATA DISPLAY DEVICE, MAP DATA DISPLAY METHOD, NAVIGATION DEVICE, AND MAP DATA DISPLAY PROGRAM | |
| Wang et al. | From image generation to infrastructure design: a multi-agent pipeline for street design generation | |
| CN116166761B (en) | A method and device for updating all elements of a high-precision map based on newly added road scenes | |
| CN111767295A (en) | Map data processing method, device, computing device and medium | |
| CN111666360A (en) | Road construction state confirmation method and device | |
| CN117036632A (en) | Redundant element filtering method, device, equipment and medium | |
| CN115797365B (en) | Method and system for processing the edges of high-precision map area splicing units | |
| CN116152448A (en) | A Method for Vectorized Extraction of Road Elements Based on Image Data | |
| JP4980863B2 (en) | 3D city model creation method, creation program, recording medium recording creation program, and creation management server |
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 |