[go: up one dir, main page]

CN114863385B - Road curved surface information generation method, device, equipment and computer readable medium - Google Patents

Road curved surface information generation method, device, equipment and computer readable medium Download PDF

Info

Publication number
CN114863385B
CN114863385B CN202210290272.4A CN202210290272A CN114863385B CN 114863385 B CN114863385 B CN 114863385B CN 202210290272 A CN202210290272 A CN 202210290272A CN 114863385 B CN114863385 B CN 114863385B
Authority
CN
China
Prior art keywords
key point
point coordinate
sequence
road surface
target
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
Application number
CN202210290272.4A
Other languages
Chinese (zh)
Other versions
CN114863385A (en
Inventor
胡禹超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Heduo Technology Guangzhou Co ltd
Original Assignee
HoloMatic Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by HoloMatic Technology Beijing Co Ltd filed Critical HoloMatic Technology Beijing Co Ltd
Priority to CN202210290272.4A priority Critical patent/CN114863385B/en
Publication of CN114863385A publication Critical patent/CN114863385A/en
Application granted granted Critical
Publication of CN114863385B publication Critical patent/CN114863385B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Evolutionary Computation (AREA)
  • Artificial Intelligence (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Traffic Control Systems (AREA)

Abstract

The embodiment of the disclosure discloses a road curved surface information generation method, a road curved surface information generation device, equipment and a computer readable medium. One embodiment of the method comprises: extracting key points of each road image in the pre-acquired road image sequence to generate an obstacle key point coordinate sequence set, and obtaining an obstacle key point coordinate sequence set; constructing a right-angle constraint equation based on the set of the coordinate series groups of the key points of the obstacles; updating the initial road surface equation based on the right-angle constraint equation to obtain a target road surface equation; and determining the target road surface equation as the road surface information. This embodiment may improve the accuracy of the generated road surface information.

Description

道路曲面信息生成方法、装置、设备和计算机可读介质Road surface information generation method, device, equipment and computer readable medium

技术领域Technical Field

本公开的实施例涉及计算机技术领域,具体涉及道路曲面信息生成方法、装置、设备和计算机可读介质。Embodiments of the present disclosure relate to the field of computer technology, and in particular to methods, devices, equipment, and computer-readable media for generating road surface information.

背景技术Background Art

道路曲面信息的生成,对自动驾驶领域具有重要意义。目前,在生成道路曲面信息时,通常采用的方式为:从道路图像中提取静态特征(例如,车道线),通过三角化的方法得到特征的三维坐标,进而,生成道路曲面信息。The generation of road surface information is of great significance to the field of autonomous driving. At present, the commonly used method to generate road surface information is to extract static features (such as lane lines) from road images, obtain the three-dimensional coordinates of the features through triangulation, and then generate road surface information.

然而,当采用上述方式进行道路曲面信息生成时,经常会存在如下技术问题:However, when the above method is used to generate road surface information, the following technical problems often occur:

第一,路面的静态特征容易被遮挡,导致提取的静态特征不够准确,由此,使得生成的道路曲面信息的准确度降低;First, the static features of the road surface are easily blocked, resulting in inaccurate extraction of static features, which reduces the accuracy of the generated road surface information.

第二,路面的静态特征缺乏明显的特征点,从而,导致提取的静态特征不够准确,进而,降低了生成的道路曲面信息的准确度。Second, the static features of the road surface lack obvious feature points, which results in the extraction of static features being inaccurate, thereby reducing the accuracy of the generated road surface information.

发明内容Summary of the invention

本公开的内容部分用于以简要的形式介绍构思,这些构思将在后面的具体实施方式部分被详细描述。本公开的内容部分并不旨在标识要求保护的技术方案的关键特征或必要特征,也不旨在用于限制所要求的保护的技术方案的范围。The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.

本公开的一些实施例提出了道路曲面信息生成方法、装置、设备和计算机可读介质,来解决以上背景技术部分提到的技术问题中的一项或多项。Some embodiments of the present disclosure propose methods, devices, equipment and computer-readable media for generating road surface information to solve one or more of the technical problems mentioned in the above background technology section.

第一方面,本公开的一些实施例提供了一种道路曲面信息生成方法,该方法包括:对预获取的道路图像序列中的每个道路图像进行关键点提取以生成障碍物关键点坐标序列组,得到障碍物关键点坐标序列组集合;基于上述障碍物关键点坐标序列组集合,构建直角约束方程;基于上述直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程;将上述目标道路曲面方程确定为道路曲面信息。In a first aspect, some embodiments of the present disclosure provide a method for generating road surface information, the method comprising: extracting key points from each road image in a pre-acquired road image sequence to generate an obstacle key point coordinate sequence group, and obtaining an obstacle key point coordinate sequence group set; constructing a rectangular constraint equation based on the above obstacle key point coordinate sequence group set; updating an initial road surface equation based on the above rectangular constraint equation to obtain a target road surface equation; and determining the above target road surface equation as the road surface information.

第二方面,本公开的一些实施例提供了一种道路曲面信息生成装置,该装置包括:提取单元,被配置成对预获取的道路图像序列中的每个道路图像进行关键点提取以生成障碍物关键点坐标序列组,得到障碍物关键点坐标序列组集合;构建单元,被配置成基于上述障碍物关键点坐标序列组集合,构建直角约束方程;更新单元,被配置成基于上述直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程;确定单元,被配置成将上述目标道路曲面方程确定为道路曲面信息。In a second aspect, some embodiments of the present disclosure provide a road surface information generating device, which includes: an extraction unit, configured to perform key point extraction on each road image in a pre-acquired road image sequence to generate an obstacle key point coordinate sequence group, and obtain an obstacle key point coordinate sequence group set; a construction unit, configured to construct a rectangular constraint equation based on the above-mentioned obstacle key point coordinate sequence group set; an updating unit, configured to update the initial road surface equation based on the above-mentioned rectangular constraint equation to obtain a target road surface equation; and a determination unit, configured to determine the above-mentioned target road surface equation as the road surface information.

第三方面,本公开的一些实施例提供了一种电子设备,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现上述第一方面任一实现方式所描述的方法。In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.

第四方面,本公开的一些实施例提供了一种计算机可读介质,其上存储有计算机程序,其中,程序被处理器执行时实现上述第一方面任一实现方式所描述的方法。In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.

本公开的上述各个实施例具有如下有益效果:通过本公开的一些实施例的道路曲面信息生成方法,可以提高生成的道路曲面信息的准确度。具体来说,造成生成的道路曲面信息的准确度降低的原因在于:路面的静态特征容易被遮挡,导致提取的静态特征不够准确。基于此,本公开的一些实施例的道路曲面信息生成方法,首先,对预获取的道路图像序列中的每个道路图像进行关键点提取以生成障碍物关键点坐标序列组,得到障碍物关键点坐标序列组集合。通过提取障碍物关键点坐标,可以不依赖静态特征进行道路曲面信息的生成。避免了路面的静态特征容易被遮挡,导致提取的静态特征不够准确的情况。然后,基于上述障碍物关键点坐标序列组集合,构建直角约束方程。通过构建直角约束方程,可以用于提高生成的道路曲面信息的准确度。之后,基于上述直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程。通过更新,可以进一步提高道路曲面方程的准确度。最后,将上述目标道路曲面方程确定为道路曲面信息。从而,本公开的一些实施例的道路曲面信息生成方法,以障碍物关键点坐标为基础,构建直角约束方程,可以提高生成的道路曲面信息的准确度。The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the road surface information generation method of some embodiments of the present disclosure, the accuracy of the generated road surface information can be improved. Specifically, the reason for the reduced accuracy of the generated road surface information is that the static features of the road surface are easily blocked, resulting in the extracted static features being inaccurate. Based on this, the road surface information generation method of some embodiments of the present disclosure first extracts key points from each road image in the pre-acquired road image sequence to generate an obstacle key point coordinate sequence group, and obtains an obstacle key point coordinate sequence group set. By extracting the obstacle key point coordinates, the road surface information can be generated without relying on static features. It avoids the situation that the static features of the road surface are easily blocked, resulting in the extracted static features being inaccurate. Then, based on the above obstacle key point coordinate sequence group set, a rectangular constraint equation is constructed. By constructing the rectangular constraint equation, it can be used to improve the accuracy of the generated road surface information. Afterwards, based on the above rectangular constraint equation, the initial road surface equation is updated to obtain the target road surface equation. By updating, the accuracy of the road surface equation can be further improved. Finally, the target road surface equation is determined as the road surface information. Therefore, the road surface information generation method of some embodiments of the present disclosure constructs a rectangular constraint equation based on the coordinates of the key points of the obstacle, which can improve the accuracy of the generated road surface information.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

结合附图并参考以下具体实施方式,本公开各实施例的上述和其他特征、优点及方面将变得更加明显。贯穿附图中,相同或相似的附图标记表示相同或相似的元素。应当理解附图是示意性的,元件和元素不一定按照比例绘制。The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.

图1是根据本公开的道路曲面信息生成方法的一些实施例的流程图;FIG1 is a flow chart of some embodiments of a method for generating road surface information according to the present disclosure;

图2是根据本公开的道路曲面信息生成方法的另一些实施例的流程图;FIG2 is a flow chart of other embodiments of the method for generating road surface information according to the present disclosure;

图3是根据本公开的道路曲面信息生成装置的一些实施例的结构示意图;FIG3 is a schematic diagram of the structure of some embodiments of the road surface information generating device according to the present disclosure;

图4是适于用来实现本公开的一些实施例的电子设备的结构示意图。FIG. 4 is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure.

具体实施方式DETAILED DESCRIPTION

下面将参照附图更详细地描述本公开的实施例。虽然附图中显示了本公开的某些实施例,然而应当理解的是,本公开可以通过各种形式来实现,而且不应该被解释为限于这里阐述的实施例。相反,提供这些实施例是为了更加透彻和完整地理解本公开。应当理解的是,本公开的附图及实施例仅用于示例性作用,并非用于限制本公开的保护范围。Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other.

需要注意,本公开中提及的“第一”、“第二”等概念仅用于对不同的装置、模块或单元进行区分,并非用于限定这些装置、模块或单元所执行的功能的顺序或者相互依存关系。It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

需要注意,本公开中提及的“一个”、“多个”的修饰是示意性而非限制性的,本领域技术人员应当理解,除非在上下文另有明确指出,否则应该理解为“一个或多个”。It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

本公开实施方式中的多个装置之间所交互的消息或者信息的名称仅用于说明性的目的,而并不是用于对这些消息或信息的范围进行限制。The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

下面将参考附图并结合实施例来详细说明本公开。The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.

图1示出了根据本公开的道路曲面信息生成方法的一些实施例的流程100。该道路曲面信息生成方法的流程100,包括以下步骤:FIG1 shows a process 100 of some embodiments of the method for generating road surface information according to the present disclosure. The process 100 of the method for generating road surface information comprises the following steps:

步骤101,对预获取的道路图像序列中的每个道路图像进行关键点提取以生成障碍物关键点坐标序列组,得到障碍物关键点坐标序列组集合。Step 101 : extract key points from each road image in a pre-acquired road image sequence to generate an obstacle key point coordinate sequence group, thereby obtaining an obstacle key point coordinate sequence group set.

在一些实施例中,道路曲面信息生成方法的执行主体可以对预获取的道路图像序列中的各个道路图像进行关键点提取,得到障碍物关键点坐标序列组集合。其中,道路图像序列中的各个道路图像可以是车载相机拍摄的连续帧图像。可以通过预设的提取算法,对预获取的道路图像序列中的各个道路图像进行关键点提取,得到障碍物关键点坐标序列组集合。每个障碍物关键点坐标序列可以对应一个障碍物。每个障碍物关键点坐标序列组可以对应一个道路图像中的各个障碍物。障碍物关键点可以表征障碍物车辆与地面接触的轮胎的最外侧的点。障碍物关键点坐标序列中各个障碍物关键点坐标可以按照预设顺序排列的。另外,检测关键点坐标序列中的检测关键点坐标的数量可以是:一个、两个、三个或四个等。上述预设的顺序可以是顺时针顺序或逆时针顺序,例如逆时针顺序:右前轮、左前轮、左后轮、右后轮的顺序。In some embodiments, the execution body of the road surface information generation method may extract key points from each road image in the pre-acquired road image sequence to obtain a set of obstacle key point coordinate sequence groups. Wherein, each road image in the road image sequence may be a continuous frame image taken by a vehicle-mounted camera. Key points may be extracted from each road image in the pre-acquired road image sequence by a preset extraction algorithm to obtain a set of obstacle key point coordinate sequence groups. Each obstacle key point coordinate sequence may correspond to an obstacle. Each obstacle key point coordinate sequence group may correspond to each obstacle in a road image. The obstacle key point may represent the outermost point of the tire of the obstacle vehicle in contact with the ground. The coordinates of each obstacle key point in the obstacle key point coordinate sequence may be arranged in a preset order. In addition, the number of detection key point coordinates in the detection key point coordinate sequence may be: one, two, three or four, etc. The above preset order may be a clockwise order or a counterclockwise order, for example, a counterclockwise order: the order of right front wheel, left front wheel, left rear wheel, and right rear wheel.

作为示例,提取算法可以包括但不限于以下至少一项:GUP(GeometryUncertainty Projection,单目三维目标检测网络)、SegNet(图像语义分割深度网络)、FCN(Fully Convolutional Networks,全卷机神经网络)模型等、VGG(Visual Geometry GroupNetwork,卷积神经网络)模型或GoogLeNet(深度神经网络)模型等。例如,检测到障碍物车辆的右前轮、左前轮、左后轮对应的三个点。对应的检测关键点坐标的顺序可以从右前轮开始逆时针排序。那么,对应右前轮、左前轮、左后轮的障碍物关键点坐标的顺序编号可以是(1-2-3)。As an example, the extraction algorithm may include, but is not limited to, at least one of the following: GUP (GeometryUncertainty Projection, monocular three-dimensional target detection network), SegNet (image semantic segmentation deep network), FCN (Fully Convolutional Networks, full convolution neural network) model, VGG (Visual Geometry GroupNetwork, convolutional neural network) model or GoogLeNet (deep neural network) model, etc. For example, three points corresponding to the right front wheel, left front wheel, and left rear wheel of the obstacle vehicle are detected. The order of the corresponding detection key point coordinates can be sorted counterclockwise starting from the right front wheel. Then, the order numbering of the obstacle key point coordinates corresponding to the right front wheel, left front wheel, and left rear wheel can be (1-2-3).

步骤102,基于障碍物关键点坐标序列组集合,构建直角约束方程。Step 102: construct a rectangular constraint equation based on the obstacle key point coordinate sequence group set.

在一些实施例中,上述执行主体可以基于上述障碍物关键点坐标序列组集合,通过各种方式构建直角约束方程。In some embodiments, the execution entity may construct a rectangular constraint equation in various ways based on the obstacle key point coordinate sequence group set.

在一些实施例的一些可选的实现方式中,上述执行主体基于上述障碍物关键点坐标序列组集合,构建直角约束方程,可以包括以下步骤:In some optional implementations of some embodiments, the execution subject constructs a rectangular constraint equation based on the obstacle key point coordinate sequence group set, which may include the following steps:

第一步,对上述障碍物关键点坐标序列组集合中的各个障碍物关键点坐标序列进行筛选处理,得到目标障碍物关键点坐标序列组集合。In the first step, each obstacle key point coordinate sequence in the above obstacle key point coordinate sequence group set is screened to obtain a target obstacle key point coordinate sequence group set.

在一些实施例的一些可选的实现方式中,上述执行主体对上述障碍物关键点坐标序列组集合中的各个障碍物关键点坐标序列进行筛选处理,得到目标障碍物关键点坐标序列组集合,可以包括以下步骤:In some optional implementations of some embodiments, the execution subject screens each obstacle key point coordinate sequence in the obstacle key point coordinate sequence group set to obtain a target obstacle key point coordinate sequence group set, which may include the following steps:

对于上述障碍物关键点坐标序列组集合中的每个障碍物关键点坐标序列,执行如下筛选处理步骤:For each obstacle key point coordinate sequence in the above obstacle key point coordinate sequence group set, perform the following screening processing steps:

第一子步骤,将上述障碍物关键点坐标序列中的各个障碍物关键点坐标进行反投影,得到三维障碍物关键点坐标序列。其中,可以通过逆透视变换的方法,将障碍物关键点坐标从图像坐标系反投影至车辆坐标系。以此可以得到三维障碍物关键点坐标序列。In the first sub-step, each obstacle key point coordinate in the above obstacle key point coordinate sequence is back-projected to obtain a three-dimensional obstacle key point coordinate sequence. The obstacle key point coordinates can be back-projected from the image coordinate system to the vehicle coordinate system by an inverse perspective transformation method. In this way, a three-dimensional obstacle key point coordinate sequence can be obtained.

第二子步骤,利用上述三维障碍物关键点坐标序列中的各个三维障碍物关键点坐标,构建单位向量序列。其中,对于每两个相邻的三维障碍物关键点坐标,可以构建一个单位向量。可以通过以下公式生成单位向量组:The second sub-step is to construct a unit vector sequence using the coordinates of each three-dimensional obstacle key point in the three-dimensional obstacle key point coordinate sequence. For every two adjacent three-dimensional obstacle key point coordinates, a unit vector can be constructed. The unit vector group can be generated by the following formula:

Figure BDA0003561543760000051
Figure BDA0003561543760000051

其中,j、p表示序号。l表示上述单位向量序列中的单位向量。lj表示上述单位向量序列中的第j个单位向量。w表示上述三维障碍物关键点坐标序列中的三维障碍物关键点坐标。wp表示上述三维障碍物关键点坐标序列中的第p个三维障碍物关键点坐标。wp+1表示上述三维障碍物关键点坐标序列中的第p+1个三维障碍物关键点坐标。||·||2表示2范式。Wherein, j and p represent sequence numbers. l represents a unit vector in the above unit vector sequence. l j represents the jth unit vector in the above unit vector sequence. w represents the coordinates of the three-dimensional obstacle key point in the above three-dimensional obstacle key point coordinate sequence. w p represents the coordinates of the pth three-dimensional obstacle key point in the above three-dimensional obstacle key point coordinate sequence. w p+1 represents the coordinates of the p+1th three-dimensional obstacle key point in the above three-dimensional obstacle key point coordinate sequence. ||·|| 2 represents the 2-normal form.

第三子步骤,响应于确定上述障碍物关键点坐标序列中的各个障碍物关键点坐标满足预设关键点条件,以及上述单位向量序列满足预设向量关系条件,将上述三维障碍物关键点坐标序列确定为目标障碍物关键点坐标序列。其中,上述预设关键点条件可以是:障碍物关键点坐标序列中障碍物关键点的数量为预设数量(例如,3个),且各个障碍物关键点的顺序编号为预设的顺序编号集中的一种顺序编号。预设向量关系条件可以是单位向量序列中的每两个相邻单位向量之间为垂直关系。单位向量序列中的各个单位向量的顺序可以对应上述障碍物关键点坐标序列中的顺序。The third sub-step is to determine the three-dimensional obstacle key point coordinate sequence as the target obstacle key point coordinate sequence in response to determining that the coordinates of each obstacle key point in the obstacle key point coordinate sequence meet the preset key point condition, and the unit vector sequence meets the preset vector relationship condition. The preset key point condition may be: the number of obstacle key points in the obstacle key point coordinate sequence is a preset number (for example, 3), and the sequence number of each obstacle key point is a sequence number in a preset sequence number set. The preset vector relationship condition may be that every two adjacent unit vectors in the unit vector sequence are in a vertical relationship. The order of each unit vector in the unit vector sequence may correspond to the order in the obstacle key point coordinate sequence.

作为示例,上述顺序编号集可以是:{(1-2-3),(2-3-4),(1-4-3),(2-1-4)}。例如,各个障碍物关键点的顺序编号为(1-2-3)。那么可以确定上述障碍物关键点坐标序列满足上述预设关键点条件。由此,生成的单位向量可以有两个,分别是:顺序编号1和2的三维障碍物关键点坐标通过上述公式构成的单位向量,和顺编号2和3的三维障碍物关键点坐标通过上述公式构成的单位向量。若该两个单位向量垂直,则可以确定单位向量序列满足预设向量关系条件。As an example, the above-mentioned sequential numbering set can be: {(1-2-3), (2-3-4), (1-4-3), (2-1-4)}. For example, the sequential numbering of each obstacle key point is (1-2-3). Then it can be determined that the above-mentioned obstacle key point coordinate sequence meets the above-mentioned preset key point conditions. Thus, there can be two unit vectors generated, namely: the unit vector formed by the coordinates of the three-dimensional obstacle key points of sequential numbers 1 and 2 through the above formula, and the unit vector formed by the coordinates of the three-dimensional obstacle key points of sequential numbers 2 and 3 through the above formula. If the two unit vectors are perpendicular, it can be determined that the unit vector sequence meets the preset vector relationship conditions.

实践中,障碍物关键点坐标的顺序编号不仅可以用于分辨所对应的障碍物车辆的车轮,还便于生成单位向量。也因为引入了顺序编号,使得生成的单位向量可以表征俯视角度下的近似车辆的矩形的边界。通过引入预设关键点条件,可以筛选出满足预设关键点条件的障碍物关键点坐标序列,以用于构建直角约束方程。另外,通过引入预设向量关系条件,可以用于确定单位向量为矩形边框的边界且相互垂直。以此,提高表征实际的障碍物车辆的准确度。进而,可以用于提高生成的道路曲面信息的准确度。In practice, the sequential numbering of the coordinates of the key points of obstacles can not only be used to distinguish the wheels of the corresponding obstacle vehicles, but also facilitate the generation of unit vectors. Also because of the introduction of sequential numbering, the generated unit vector can represent the boundary of the rectangle that approximates the vehicle from a bird's-eye view. By introducing the preset key point conditions, the obstacle key point coordinate sequence that meets the preset key point conditions can be screened out for constructing the right-angle constraint equation. In addition, by introducing the preset vector relationship conditions, it can be used to determine that the unit vector is the boundary of the rectangular frame and is perpendicular to each other. In this way, the accuracy of representing the actual obstacle vehicle is improved. Furthermore, it can be used to improve the accuracy of the generated road surface information.

第二步,基于上述目标障碍物关键点坐标序列组集合,构建直角约束方程。其中,单位向量序列与目标障碍物关键点坐标序列组集合中的目标障碍物关键点坐标序列一一对应。构建的直角约束方程可以是:The second step is to construct a rectangular constraint equation based on the above target obstacle key point coordinate sequence set. Among them, the unit vector sequence corresponds one-to-one with the target obstacle key point coordinate sequence in the target obstacle key point coordinate sequence set. The constructed rectangular constraint equation can be:

Figure BDA0003561543760000071
Figure BDA0003561543760000071

其中,e1表示直角约束方程的结果,即直角关系误差。

Figure BDA0003561543760000072
表示与上述单位向量序列中的第j个单位向量对应的直角关系误差。lj表示上述单位向量序列中的第j个单位向量。lj+1表示与上述单位向量序列中的第j+1个单位向量。Among them, e 1 represents the result of the rectangular constraint equation, that is, the rectangular relationship error.
Figure BDA0003561543760000072
represents the rectangular relationship error corresponding to the jth unit vector in the above unit vector sequence. l j represents the jth unit vector in the above unit vector sequence. l j+1 represents the j+1th unit vector in the above unit vector sequence.

步骤103,基于直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程。Step 103: Based on the rectangular constraint equation, the initial road surface equation is updated to obtain the target road surface equation.

在一些实施例中,上述执行主体基于上述直角约束方程,可以通过各种方式,对初始道路曲面方程进行更新,得到目标道路曲面方程。In some embodiments, the execution entity may update the initial road surface equation in various ways based on the rectangular constraint equation to obtain the target road surface equation.

在一些实施例的一些可选的实现方式中,上述初始道路曲面方程通过以下步骤生成:In some optional implementations of some embodiments, the initial road surface equation is generated by the following steps:

第一步,对预设的目标道路图像进行车道线点提取,得到车道线点坐标集合。其中,目标道路图像可以是预先获取的第一帧道路图像。可以通过上述提取算法对预设的目标道路图像进行车道线点提取,得到车道线点坐标集合。The first step is to extract lane line points from a preset target road image to obtain a set of lane line point coordinates. The target road image may be a first frame of a road image acquired in advance. The lane line points may be extracted from the preset target road image using the above extraction algorithm to obtain a set of lane line point coordinates.

第二步,将上述车道线点坐标集合中的各个车道线点坐标反投影至车辆坐标系,得到车道线点三维坐标集合。其中,可以通过逆透视变换的方式将上述车道线点坐标集合中的各个车道线点坐标从图像坐标系反投影至车辆坐标系,得到车道线点三维坐标集合。The second step is to back-project the coordinates of each lane point in the above lane point coordinate set to the vehicle coordinate system to obtain a three-dimensional coordinate set of lane points. The three-dimensional coordinate set of lane points can be obtained by back-projecting the coordinates of each lane point in the above lane point coordinate set from the image coordinate system to the vehicle coordinate system through an inverse perspective transformation.

第三步,基于上述车道线点三维坐标集合,生成上述初始道路曲面方程。其中,可以将上述车道线点三维坐标集合中的车道线点三维坐标输入至预设的曲面方程中,解得初始道路曲面方程的参数。由此可以得到初始道路曲面方程。初始曲面方程的表达式可以如下式:The third step is to generate the initial road surface equation based on the lane line point three-dimensional coordinate set. The three-dimensional coordinates of the lane line points in the lane line point three-dimensional coordinate set can be input into the preset surface equation to solve the parameters of the initial road surface equation. The initial road surface equation can be obtained. The expression of the initial surface equation can be as follows:

Figure BDA0003561543760000081
Figure BDA0003561543760000081

其中,P(s)表示初始曲面方程。s表示上述车道线点三维坐标集合中的车道线点三维坐标。x表示该车道线点三维坐标的横坐标值。y表示该车道线点三维坐标的纵坐标值。z表示该车道线点三维坐标的竖坐标值。A表示初始曲面方程的系数矩阵。B表示初始曲面方程的系数向量。c表示常数项。a1、a2、a3表示系数矩阵中的数据。b1、b2表示系数向量中的数据。T表示矩阵的转置。Wherein, P(s) represents the initial surface equation. s represents the three-dimensional coordinates of the lane line point in the above lane line point three-dimensional coordinate set. x represents the horizontal coordinate value of the lane line point three-dimensional coordinate. y represents the vertical coordinate value of the lane line point three-dimensional coordinate. z represents the vertical coordinate value of the lane line point three-dimensional coordinate. A represents the coefficient matrix of the initial surface equation. B represents the coefficient vector of the initial surface equation. c represents the constant term. a 1 , a 2 , a 3 represent the data in the coefficient matrix. b 1 , b 2 represent the data in the coefficient vector. T represents the transpose of the matrix.

具体的,初始曲面方程中的系数矩阵可以是零矩阵。Specifically, the coefficient matrix in the initial surface equation may be a zero matrix.

步骤104,将目标道路曲面方程确定为道路曲面信息。Step 104: determine the target road surface equation as road surface information.

在一些实施例中,上述执行主体可以将上述目标道路曲面方程确定为道路曲面信息。其中,道路曲面信息可以是表征道路路面的信息。In some embodiments, the execution entity may determine the target road surface equation as road surface information, wherein the road surface information may be information characterizing the road surface.

可选的,上述执行主体还可以执行以下步骤:Optionally, the above execution entity may further perform the following steps:

第一步,对上述道路图像序列中的各个道路图像进行特征点提取,得到路面特征点坐标集。其中,可以通过上述提取算法对上述道路图像序列中的各个道路图像进行特征点提取,得到路面特征点坐标集。路面特征点坐标集中的各个路面特征点坐标可以用于表征道路图像对应的车道线。The first step is to extract feature points from each road image in the road image sequence to obtain a road feature point coordinate set. The extraction algorithm can be used to extract feature points from each road image in the road image sequence to obtain a road feature point coordinate set. The coordinates of each road feature point in the road feature point coordinate set can be used to characterize the lane line corresponding to the road image.

第二步,将上述路面特征点坐标集中的各个路面特征点坐标反投影至上述目标道路曲面方程所在的坐标系,得到反投影特征点坐标集。其中,可以通过逆投影变换的方法将上述路面特征点坐标集中的各个路面特征点坐标从图像坐标系反投影至上述目标道路曲面方程所在的坐标系,得到反投影特征点坐标集。目标道路曲面方程所在的坐标系可以是车辆坐标系。在提高了目标道路曲面方程的准确度的基础上,通过将上述路面特征点坐标反投影至上述目标道路曲面方程所在的坐标系,可以提高生成的反投影特征点坐标集的准确度。The second step is to back-project the coordinates of each road feature point in the above-mentioned road feature point coordinate set to the coordinate system where the above-mentioned target road surface equation is located, and obtain the back-projected feature point coordinate set. Among them, the coordinates of each road feature point in the above-mentioned road feature point coordinate set can be back-projected from the image coordinate system to the coordinate system where the above-mentioned target road surface equation is located by the method of inverse projection transformation to obtain the back-projected feature point coordinate set. The coordinate system where the target road surface equation is located can be a vehicle coordinate system. On the basis of improving the accuracy of the target road surface equation, by back-projecting the above-mentioned road feature point coordinates to the coordinate system where the above-mentioned target road surface equation is located, the accuracy of the generated back-projected feature point coordinate set can be improved.

第三步,将上述反投影特征点坐标集和上述道路曲面信息发送至显示终端以供显示。其中,由于提高了上述反投影特征点坐标集和上述道路曲面信息的准确度。从而,可以提高显示终端所显示的道路信息的准确度。进而,可以用于提高驾驶安全。The third step is to send the above-mentioned back-projected feature point coordinate set and the above-mentioned road surface information to a display terminal for display. Among them, since the accuracy of the above-mentioned back-projected feature point coordinate set and the above-mentioned road surface information is improved, the accuracy of the road information displayed by the display terminal can be improved. Furthermore, it can be used to improve driving safety.

本公开的上述各个实施例具有如下有益效果:通过本公开的一些实施例的道路曲面信息生成方法,可以提高生成的道路曲面信息的准确度。具体来说,造成生成的道路曲面信息的准确度降低的原因在于:路面的静态特征容易被遮挡,导致提取的静态特征不够准确。基于此,本公开的一些实施例的道路曲面信息生成方法,首先,对预获取的道路图像序列中的各个道路图像进行关键点提取,得到障碍物关键点坐标序列组集合。通过提取障碍物关键点坐标,可以不依赖静态特征进行道路曲面信息的生成。避免了路面的静态特征容易被遮挡,导致提取的静态特征不够准确的情况。然后,基于上述障碍物关键点坐标序列组集合,构建直角约束方程。通过构建直角约束方程,可以用于提高生成的道路曲面信息的准确度。之后,基于上述直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程。通过更新,可以进一步提高道路曲面方程的准确度。最后,将上述目标道路曲面方程确定为道路曲面信息。从而,本公开的一些实施例的道路曲面信息生成方法,以障碍物关键点坐标为基础,构建直角约束方程,可以提高生成的道路曲面信息的准确度。The above-mentioned various embodiments of the present disclosure have the following beneficial effects: through the road surface information generation method of some embodiments of the present disclosure, the accuracy of the generated road surface information can be improved. Specifically, the reason for the reduced accuracy of the generated road surface information is that the static features of the road surface are easily blocked, resulting in the extracted static features being inaccurate. Based on this, the road surface information generation method of some embodiments of the present disclosure first extracts key points from each road image in the pre-acquired road image sequence to obtain a set of obstacle key point coordinate sequence groups. By extracting the coordinates of the obstacle key points, the road surface information can be generated without relying on static features. It avoids the situation that the static features of the road surface are easily blocked, resulting in the extracted static features being inaccurate. Then, based on the above obstacle key point coordinate sequence group set, a rectangular constraint equation is constructed. By constructing the rectangular constraint equation, it can be used to improve the accuracy of the generated road surface information. Afterwards, based on the above rectangular constraint equation, the initial road surface equation is updated to obtain the target road surface equation. By updating, the accuracy of the road surface equation can be further improved. Finally, the above target road surface equation is determined as the road surface information. Therefore, the road surface information generation method of some embodiments of the present disclosure constructs a rectangular constraint equation based on the coordinates of the key points of the obstacle, which can improve the accuracy of the generated road surface information.

进一步参考图2,其示出了道路曲面信息生成方法的另一些实施例的流程200。该道路曲面信息生成方法的流程200,包括以下步骤:Further referring to FIG. 2 , it shows a process 200 of another embodiment of a method for generating road surface information. The process 200 of the method for generating road surface information comprises the following steps:

步骤201,对预获取的道路图像序列中的每个道路图像进行关键点提取以生成障碍物关键点坐标序列组,得到障碍物关键点坐标序列组集合。Step 201 : extract key points from each road image in the pre-acquired road image sequence to generate an obstacle key point coordinate sequence group, thereby obtaining an obstacle key point coordinate sequence group set.

步骤202,基于障碍物关键点坐标序列组集合,构建直角约束方程。Step 202: construct a rectangular constraint equation based on the obstacle key point coordinate sequence group set.

在一些实施例中,步骤201-202的具体实现方式及所带来的技术效果可以参考图1对应的那些实施例中的步骤101-102,在此不再赘述。In some embodiments, the specific implementation methods and technical effects of steps 201-202 can refer to steps 101-102 in the embodiments corresponding to FIG. 1, and will not be repeated here.

步骤203,基于预设的相机内参矩阵和坐标转换矩阵,生成关键点投影误差序列组集合。Step 203: Generate a key point projection error sequence group set based on a preset camera intrinsic parameter matrix and a coordinate transformation matrix.

在一些实施例中,上述执行主体可以基于预设的相机内参矩阵和坐标转换矩阵,生成关键点投影误差序列组集合。其中,可以通过以下公式生成关键点投影误差序列组集合:In some embodiments, the execution subject may generate a key point projection error sequence group set based on a preset camera intrinsic parameter matrix and a coordinate transformation matrix. The key point projection error sequence group set may be generated by the following formula:

Figure BDA0003561543760000101
Figure BDA0003561543760000101

其中,i、k、n表示序号。e2表示关键点投影误差序列组集合中的关键点投影误差。

Figure BDA0003561543760000104
表示关键点投影误差序列组集合中第i个关键点投影误差序列组中的关键点投影误差。
Figure BDA0003561543760000102
表示关键点投影误差序列组集合中第i个关键点投影误差序列组中第k个关键点投影误差序列中的关键点投影误差。
Figure BDA0003561543760000103
表示关键点投影误差序列组集合中第i个关键点投影误差序列组中第k个关键点投影误差序列中的第n个关键点投影误差。K表示相机内参矩阵。R表示坐标旋转矩阵。m表示上述目标障碍物关键点坐标序列组集合中的目标障碍物关键点坐标。mi表示上述目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中的目标障碍物关键点坐标。mi,p表示上述目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中第p个目标障碍物关键点坐标序列中的目标障碍物关键点坐标。mi,p,n表示上述目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中第p个目标障碍物关键点坐标序列中的第n个目标障碍物关键点坐标。k表示与上述目标障碍物关键点坐标序列组集合中的目标障碍物关键点坐标对应的障碍物关键点坐标。ki表示与上述目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中的目标障碍物关键点坐标对应的障碍物关键点坐标。ki,p表示与上述目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中第p个目标障碍物关键点坐标序列中的目标障碍物关键点坐标对应的障碍物关键点坐标。ki,p,n表示与上述目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中第p个目标障碍物关键点坐标序列中的第n个目标障碍物关键点坐标对应的障碍物关键点坐标。N表示正态分布符号。∑p表示预设的投影误差协方差矩阵。()3表示取括号内向量的第3个元素。()1:2表示取括号内向量的第1个到第2个元素。Where i, k, and n represent serial numbers. e 2 represents the key point projection error in the key point projection error sequence group set.
Figure BDA0003561543760000104
Represents the key point projection error in the i-th key point projection error sequence group in the key point projection error sequence group set.
Figure BDA0003561543760000102
Represents the key point projection error in the kth key point projection error sequence in the ith key point projection error sequence group in the key point projection error sequence group set.
Figure BDA0003561543760000103
represents the nth key point projection error in the kth key point projection error sequence in the i-th key point projection error sequence group in the key point projection error sequence group set. K represents the camera intrinsic parameter matrix. R represents the coordinate rotation matrix. m represents the target obstacle key point coordinates in the above target obstacle key point coordinate sequence group set. mi represents the target obstacle key point coordinates in the i-th target obstacle key point coordinate sequence group in the above target obstacle key point coordinate sequence group set. mi,p represents the target obstacle key point coordinates in the p-th target obstacle key point coordinate sequence in the i-th target obstacle key point coordinate sequence group in the above target obstacle key point coordinate sequence group set. mi,p,n represents the n-th target obstacle key point coordinates in the p-th target obstacle key point coordinate sequence in the i-th target obstacle key point coordinate sequence group in the above target obstacle key point coordinate sequence group set. k represents the obstacle key point coordinates corresponding to the target obstacle key point coordinates in the above target obstacle key point coordinate sequence group set. k i represents the obstacle key point coordinates corresponding to the target obstacle key point coordinates in the i-th target obstacle key point coordinate sequence group in the above target obstacle key point coordinate sequence group set. k i,p represents the obstacle key point coordinates corresponding to the target obstacle key point coordinates in the p-th target obstacle key point coordinate sequence in the i-th target obstacle key point coordinate sequence group in the above target obstacle key point coordinate sequence group set. k i,p,n represents the obstacle key point coordinates corresponding to the n-th target obstacle key point coordinates in the p-th target obstacle key point coordinate sequence in the i-th target obstacle key point coordinate sequence group in the above target obstacle key point coordinate sequence group set. N represents the symbol of normal distribution. ∑ p represents the preset projection error covariance matrix. () 3 represents taking the third element of the vector in the brackets. () 1:2 represents taking the first to second elements of the vector in the brackets.

步骤204,基于直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程。Step 204: Based on the rectangular constraint equation, the initial road surface equation is updated to obtain the target road surface equation.

在一些实施例中,上述执行主体可以基于上述关键点投影误差序列组集合、上述直角约束方程和预设的协方差矩阵,对初始道路曲面方程进行更新,得到目标道路曲面方程。其中,首先,可以确定初始状态方程的初始状态向量。初始状态向量可以是由系数矩阵和系数向量中的数据以及初始曲面方程常数项构成。例如:Z=[c,b1,b2,a1,a2,a3]。其中,Z可以表示初始状态向量。然后,可以通过以下公式得到目标状态向量序列:In some embodiments, the execution subject may update the initial road surface equation based on the key point projection error sequence group set, the rectangular constraint equation and the preset covariance matrix to obtain the target road surface equation. First, the initial state vector of the initial state equation may be determined. The initial state vector may be composed of the data in the coefficient matrix and the coefficient vector and the constant term of the initial surface equation. For example: Z = [c, b 1 , b 2 , a 1 , a 2 , a 3 ]. Z may represent the initial state vector. Then, the target state vector sequence may be obtained by the following formula:

Figure BDA0003561543760000111
Figure BDA0003561543760000111

其中,Z表示上述初始状态向量。Z′表示目标状态向量序列中的目标状态向量。Z′i表示目标状态向量序列中的第i个目标状态向量。P(mi,p,n)表示将上述目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中第p个目标障碍物关键点坐标序列中的第n个目标障碍物关键点坐标输入至初始状态方程的结果。

Figure BDA0003561543760000112
表示与目标障碍物关键点坐标序列组集合中第i个目标障碍物关键点坐标序列组中第p个目标障碍物关键点坐标序列中的第j个目标障碍物关键点坐标对应的约束方程的结果,即直角关系误差。
Figure BDA0003561543760000121
表示关键点投影误差序列组集合中第i个关键点投影误差序列组中第k个关键点投影误差序列中的第n个关键点投影误差的转置矩阵。
Figure BDA0003561543760000122
表示预设的投影误差协方差矩阵的逆矩阵。λ表示预设的投影参数组中的投影参数。表示预设的投影参数组中的第i个投影参数。D表示转换参数,用于缩短公式长度。Wherein, Z represents the above initial state vector. Z′ represents the target state vector in the target state vector sequence. Z′ i represents the i-th target state vector in the target state vector sequence. P(m i, p, n ) represents the result of inputting the n-th target obstacle key point coordinates in the p-th target obstacle key point coordinate sequence in the i-th target obstacle key point coordinate sequence group in the above target obstacle key point coordinate sequence group set into the initial state equation.
Figure BDA0003561543760000112
It represents the result of the constraint equation corresponding to the j-th target obstacle key point coordinate in the p-th target obstacle key point coordinate sequence in the i-th target obstacle key point coordinate sequence group in the target obstacle key point coordinate sequence group set, that is, the rectangular relationship error.
Figure BDA0003561543760000121
Represents the transposed matrix of the nth key point projection error in the kth key point projection error sequence in the ith key point projection error sequence group in the key point projection error sequence group set.
Figure BDA0003561543760000122
represents the inverse matrix of the preset projection error covariance matrix. λ represents the projection parameter in the preset projection parameter group. represents the i-th projection parameter in the preset projection parameter group. D represents the conversion parameter, which is used to shorten the formula length.

最后,可以将目标状态向量序列中的最后一个目标状态向量确定为目标道路曲面方程的参数。以此可以完成对初始道路曲面方程进行更新,得到目标道路曲面方程。Finally, the last target state vector in the target state vector sequence can be determined as a parameter of the target road surface equation, thereby completing the update of the initial road surface equation to obtain the target road surface equation.

实践中,投影参数与车辆的颠簸程度相关:颠簸程度越大,则障碍物车辆的数据可信度越低,投影参数也越小,使得投影参数这一项的结果重要程度越低。由此,可以用于降低颠簸程度对生成目标状态向量的影响。以此,提高生成的目标状态向量的准确度。另外,可以通过非线性优化方法,对上述生成目标状态向量的公式进行求解。例如,非线性优化方法可以包括但不限于以下至少一项:ISAM(Incremental Smoothing And Mapping,增量平滑和建图方法)、GTSAM(非线性优化库)等。在求解过程中需要满足关键点投影误差满足高斯分布的条件。而协方差矩阵的逆则表征误差的确定度,误差值越大,确定度越大,不确定度越小。因此,通过引入坐标协方差矩阵的逆以便降低生成障碍物关键点坐标时的误差所带来的影响。从而,可以减少各项误差,提高生成目标曲面方程的准确度。In practice, the projection parameter is related to the degree of bumping of the vehicle: the greater the degree of bumping, the lower the data credibility of the obstacle vehicle, and the smaller the projection parameter, so that the result of the projection parameter is less important. Therefore, it can be used to reduce the impact of the bumping degree on the generation of the target state vector. In this way, the accuracy of the generated target state vector is improved. In addition, the formula for generating the target state vector can be solved by a nonlinear optimization method. For example, the nonlinear optimization method may include but is not limited to at least one of the following: ISAM (Incremental Smoothing And Mapping), GTSAM (nonlinear optimization library), etc. In the solution process, it is necessary to meet the condition that the key point projection error satisfies the Gaussian distribution. The inverse of the covariance matrix characterizes the degree of certainty of the error. The larger the error value, the greater the degree of certainty and the smaller the uncertainty. Therefore, the inverse of the coordinate covariance matrix is introduced to reduce the impact of the error when generating the coordinates of the key points of the obstacle. Thus, various errors can be reduced and the accuracy of the generated target surface equation can be improved.

上述各个公式及其相关内容作为本公开的实施例的一个发明点,解决了背景技术提及的技术问题二“路面的静态特征缺乏明显的特征点,从而,导致提取的静态特征不够准确,进而,降低了生成的道路曲面信息的准确度”。导致生成的道路曲面信息的准确度降低的因素往往如下:路面的静态特征缺乏明显的特征点,从而,导致提取的静态特征不够准确。如果解决了上述因素,就能提高生成的道路曲面信息的准确度。为了达到这一效果,首先,通过提取障碍物关键点坐标可以用于替代路面的静态特征。然后,通过生成单位向量的公式,可以生成单位向量,以此便于约束关系的构建。之后,通过直角约束方程,可以用于生成直角关系误差。以供用于提高生成目标状态向量的准确度。而后,通过引入初始曲面方程,可以便于生成初始状态向量。以此便于生成目标状态向量。接着,通过生成关键点投影误差的公式,可以进一步增加约束条件,提高求解目标状态向量的准确度。最后,通过生成目标状态向量的公式,可以实现在满足上述条件的情况下,生成目标状态向量。从而,提高了目标状态向量的准确度。进而,可以用于提高道路曲面信息的准确度。The above formulas and their related contents, as an inventive point of the embodiments of the present disclosure, solve the second technical problem mentioned in the background technology, "the static features of the road surface lack obvious feature points, which leads to the inaccuracy of the extracted static features, and then reduces the accuracy of the generated road surface information". The factors that lead to the reduction of the accuracy of the generated road surface information are often as follows: the static features of the road surface lack obvious feature points, which leads to the inaccuracy of the extracted static features. If the above factors are solved, the accuracy of the generated road surface information can be improved. In order to achieve this effect, first, the coordinates of the key points of the obstacles can be extracted to replace the static features of the road surface. Then, by generating the formula of the unit vector, the unit vector can be generated, so as to facilitate the construction of the constraint relationship. After that, the rectangular constraint equation can be used to generate the rectangular relationship error. It is used to improve the accuracy of generating the target state vector. Then, by introducing the initial surface equation, it is convenient to generate the initial state vector. This facilitates the generation of the target state vector. Then, by generating the formula of the key point projection error, the constraint conditions can be further increased to improve the accuracy of solving the target state vector. Finally, by generating the formula of the target state vector, it is possible to generate the target state vector when the above conditions are met. Thus, the accuracy of the target state vector is improved. Furthermore, it can be used to improve the accuracy of the road surface information.

步骤205,将目标道路曲面方程确定为道路曲面信息。Step 205: determine the target road surface equation as road surface information.

在一些实施例中,步骤205的具体实现方式及所带来的技术效果可以参考图1对应的那些实施例中的步骤104,在此不再赘述。In some embodiments, the specific implementation of step 205 and the technical effects brought about can refer to step 104 in the embodiments corresponding to FIG. 1 , and will not be repeated here.

从图2中可以看出,与图1对应的一些实施例的描述相比,图2对应的一些实施例中的道路曲面信息生成方法的流程200体现了对初始道路曲面方程进行更新的步骤。通过上述各个公式及其相关内容,解决了“路面的静态特征缺乏明显的特征点,从而,导致提取的静态特征不够准确”的技术问题。进而,提高了生成的道路信息的准确度。As can be seen from FIG. 2 , compared with the description of some embodiments corresponding to FIG. 1 , the process 200 of the road surface information generation method in some embodiments corresponding to FIG. 2 embodies the step of updating the initial road surface equation. Through the above formulas and their related contents, the technical problem of "the static features of the road surface lack obvious feature points, thereby resulting in the inaccuracy of the extracted static features" is solved. In turn, the accuracy of the generated road information is improved.

进一步参考图3,作为对上述各图所示方法的实现,本公开提供了一种道路曲面信息生成装置的一些实施例,这些装置实施例与图2所示的那些方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 3 , as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides some embodiments of a road surface information generating device, which correspond to the method embodiments shown in FIG. 2 , and the device can be specifically applied to various electronic devices.

如图3所示,一些实施例的道路曲面信息生成装置300包括:提取单元301、构建单元302、更新单元303和确定单元304。其中,提取单元301,被配置成对预获取的道路图像序列中的每个道路图像进行关键点提取以生成障碍物关键点坐标序列组,得到障碍物关键点坐标序列组集合;构建单元302,被配置成基于上述障碍物关键点坐标序列组集合,构建直角约束方程;更新单元303,被配置成基于上述直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程;确定单元304,被配置成将上述目标道路曲面方程确定为道路曲面信息。As shown in FIG3 , the road surface information generating device 300 of some embodiments includes: an extracting unit 301, a constructing unit 302, an updating unit 303 and a determining unit 304. The extracting unit 301 is configured to extract key points from each road image in the pre-acquired road image sequence to generate an obstacle key point coordinate sequence group, and obtain an obstacle key point coordinate sequence group set; the constructing unit 302 is configured to construct a rectangular constraint equation based on the above obstacle key point coordinate sequence group set; the updating unit 303 is configured to update the initial road surface equation based on the above rectangular constraint equation to obtain a target road surface equation; the determining unit 304 is configured to determine the above target road surface equation as the road surface information.

可以理解的是,该装置300中记载的诸单元与参考图1描述的方法中的各个步骤相对应。由此,上文针对方法描述的操作、特征以及产生的有益效果同样适用于装置300及其中包含的单元,在此不再赘述。It is understandable that the units recorded in the device 300 correspond to the steps in the method described with reference to Figure 1. Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 300 and the units contained therein, and will not be repeated here.

下面参考图4,其示出了适于用来实现本公开的一些实施例的电子设备400的结构示意图。图4示出的电子设备仅仅是一个示例,不应对本公开的实施例的功能和使用范围带来任何限制。Referring to Fig. 4, a schematic diagram of the structure of an electronic device 400 suitable for implementing some embodiments of the present disclosure is shown. The electronic device shown in Fig. 4 is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

如图4所示,电子设备400可以包括处理装置(例如中央处理器、图形处理器等)401,其可以根据存储在只读存储器(ROM)402中的程序或者从存储装置408加载到随机访问存储器(RAM)403中的程序而执行各种适当的动作和处理。在RAM 403中,还存储有电子设备400操作所需的各种程序和数据。处理装置401、ROM 402以及RAM 403通过总线404彼此相连。输入/输出(I/O)接口405也连接至总线404。As shown in FIG4 , the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the electronic device 400 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to the bus 404.

通常,以下装置可以连接至I/O接口405:包括例如触摸屏、触摸板、键盘、鼠标、摄像头、麦克风、加速度计、陀螺仪等的输入装置406;包括例如液晶显示器(LCD)、扬声器、振动器等的输出装置407;包括例如磁带、硬盘等的存储装置408;以及通信装置409。通信装置409可以允许电子设备400与其他设备进行无线或有线通信以交换数据。虽然图4示出了具有各种装置的电子设备400,但是应理解的是,并不要求实施或具备所有示出的装置。可以替代地实施或具备更多或更少的装置。图4中示出的每个方框可以代表一个装置,也可以根据需要代表多个装置。Typically, the following devices can be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 408 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 409. The communication device 409 can allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 4 shows an electronic device 400 with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or provided alternatively. Each box shown in FIG. 4 may represent one device, or may represent multiple devices as needed.

特别地,根据本公开的一些实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的一些实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的一些实施例中,该计算机程序可以通过通信装置409从网络上被下载和安装,或者从存储装置408被安装,或者从ROM 402被安装。在该计算机程序被处理装置401执行时,执行本公开的一些实施例的方法中限定的上述功能。In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 409, or installed from the storage device 408, or installed from the ROM 402. When the computer program is executed by the processing device 401, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.

需要说明的是,本公开的一些实施例上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开的一些实施例中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开的一些实施例中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In some embodiments of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, the computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

在一些实施方式中,客户端、服务器可以利用诸如HTTP(HyperText TransferProtocol,超文本传输协议)之类的任何当前已知或未来研发的网络协议进行通信,并且可以与任意形式或介质的数字数据通信(例如,通信网络)互连。通信网络的示例包括局域网(“LAN”),广域网(“WAN”),网际网(例如,互联网)以及端对端网络(例如,ad hoc端对端网络),以及任何当前已知或未来研发的网络。In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

上述计算机可读介质可以是上述装置中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:对预获取的道路图像序列中的每个道路图像进行关键点提取以生成障碍物关键点坐标序列组,得到障碍物关键点坐标序列组集合;基于上述障碍物关键点坐标序列组集合,构建直角约束方程;基于上述直角约束方程,对初始道路曲面方程进行更新,得到目标道路曲面方程;将上述目标道路曲面方程确定为道路曲面信息。The computer-readable medium may be included in the device; or it may exist independently without being installed in the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: extracts key points from each road image in the pre-acquired road image sequence to generate an obstacle key point coordinate sequence group, and obtains an obstacle key point coordinate sequence group set; constructs a rectangular constraint equation based on the obstacle key point coordinate sequence group set; updates the initial road surface equation based on the rectangular constraint equation to obtain a target road surface equation; and determines the target road surface equation as the road surface information.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的一些实施例的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)——连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and/or flow chart, and the combination of the square boxes in the block diagram and/or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

描述于本公开的一些实施例中的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括提取单元、构建单元、更新单元和确定单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,提取单元还可以被描述为“提取障碍物关键点坐标序列组集合的单元”。The units described in some embodiments of the present disclosure may be implemented by software or hardware. The units described may also be provided in a processor, for example, may be described as: a processor including an extraction unit, a construction unit, an update unit, and a determination unit. The names of these units do not, in some cases, constitute limitations on the units themselves, for example, the extraction unit may also be described as a "unit for extracting a set of obstacle key point coordinate sequence groups".

本文中以上描述的功能可以至少部分地由一个或多个硬件逻辑部件来执行。例如,非限制性地,可以使用的示范类型的硬件逻辑部件包括:现场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、片上系统(SOC)、复杂可编程逻辑设备(CPLD)等等。The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.

以上描述仅为本公开的一些较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本公开的实施例中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本公开的实施例中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure.

Claims (5)

1. A road curved surface information generation method comprises the following steps:
extracting key points of each road image in the pre-acquired road image sequence to generate an obstacle key point coordinate sequence set, and obtaining an obstacle key point coordinate sequence set;
constructing a right-angle constraint equation based on the set of the coordinate series groups of the key points of the barrier;
updating the initial road surface equation based on the right-angle constraint equation to obtain a target road surface equation;
determining the target road surface equation as road surface information;
wherein, the constructing a right angle constraint equation based on the set of the coordinate series groups of the key points of the obstacles comprises:
screening each barrier key point coordinate sequence in the set of barrier key point coordinate sequences to obtain a set of target barrier key point coordinate sequences;
constructing a right-angle constraint equation based on the set of the target obstacle key point coordinate sequence group;
the screening processing is performed on each obstacle key point coordinate sequence in the set of obstacle key point coordinate sequences to obtain a set of target obstacle key point coordinate sequences, and the method includes:
for each obstacle key point coordinate sequence in the set of obstacle key point coordinate sequences, performing the following screening processing steps:
carrying out back projection on each barrier key point coordinate in the barrier key point coordinate sequence to obtain a three-dimensional barrier key point coordinate sequence;
constructing a unit vector sequence by utilizing each three-dimensional barrier key point coordinate in the three-dimensional barrier key point coordinate sequence;
in response to the fact that the coordinates of each barrier key point in the barrier key point coordinate sequence meet preset key point conditions and the unit vector sequence meets preset vector relation conditions, determining the three-dimensional barrier key point coordinate sequence as a target barrier key point coordinate sequence;
wherein the right angle constraint equation is constructed by the following steps:
Figure FDA0004048308650000011
wherein e is 1 The result, which represents the right angle constraint equation, i.e. the right angle relationship error,
Figure FDA0004048308650000021
representing the rectangular error, l, corresponding to the jth unit vector in the sequence of unit vectors j Represents the j unit vector, l, in the unit vector sequence j+1 Represents the j +1 th unit vector in the unit vector sequence;
wherein the initial road surface equation is generated by:
extracting lane line points of a preset target road image to obtain a lane line point coordinate set;
back projecting each lane line point coordinate in the lane line point coordinate set to a vehicle coordinate system to obtain a lane line point three-dimensional coordinate set;
generating the initial road surface equation based on the three-dimensional coordinate set of the lane line points; before updating the initial road surface equation based on the right-angle constraint equation to obtain the target road surface equation, the method further comprises:
generating a set of key point projection error sequence groups based on a preset camera internal reference matrix and a coordinate transformation matrix;
updating the initial road surface equation based on the right-angle constraint equation to obtain a target road surface equation, wherein the method comprises the following steps:
updating an initial road surface equation based on the set of the key point projection error sequence groups, the right-angle constraint equation and a preset covariance matrix to obtain a target road surface equation;
updating an initial road surface equation based on the set of the key point projection error sequence groups, the right-angle constraint equation and a preset covariance matrix to obtain a target road surface equation, wherein the method comprises the following steps:
determining an initial state vector of an initial state equation;
obtaining a target state vector sequence by the following formula:
Figure FDA0004048308650000022
wherein Z represents the initial state vector, Z 'represents a target state vector in a target state vector sequence, Z' i Representing the ith target state vector, P (m), in the sequence of target state vectors i,p,n ) Representing the ith target obstacle key point coordinate sequence in the target obstacle key point coordinate sequence setThe nth target obstacle key point coordinate in the pth target obstacle key point coordinate sequence in the group is input to the result of the initial state equation,
Figure FDA0004048308650000031
representing the result of a constraint equation corresponding to the jth target obstacle key point coordinate in the jth target obstacle key point coordinate sequence group in the ith target obstacle key point coordinate sequence group in the target obstacle key point coordinate sequence group, namely the orthogonal relation error, is/are>
Figure FDA0004048308650000032
A transpose matrix representing the nth keypoint projection error in the kth keypoint projection error sequence in the ith keypoint projection error sequence set in the set of keypoint projection error sequences, device for combining or screening>
Figure FDA0004048308650000033
The method comprises the steps of representing an inverse matrix of a preset projection error covariance matrix, representing a projection parameter in a preset projection parameter group, representing an ith projection parameter in the preset projection parameter group, and representing a conversion parameter for shortening the length of a formula;
and determining the last target state vector in the target state vector sequence as a parameter of the target road surface equation to complete the updating of the initial road surface equation to obtain the target road surface equation.
2. The method of claim 1, wherein the method further comprises:
extracting characteristic points of each road image in the road image sequence to obtain a road surface characteristic point coordinate set;
carrying out back projection on the coordinates of each road surface characteristic point in the road surface characteristic point coordinate set to a coordinate system where the target road curved surface equation is located to obtain a back projection characteristic point coordinate set;
and sending the back projection feature point coordinate set and the road curved surface information to a display terminal for display.
3. A road surface information generating apparatus comprising:
the extraction unit is configured to extract key points of each road image in the pre-acquired road image sequence to generate an obstacle key point coordinate sequence group to obtain an obstacle key point coordinate sequence group set;
the building unit is configured to build a right angle constraint equation based on the set of the barrier key point coordinate series groups;
the updating unit is configured to update the initial road surface equation based on the right-angle constraint equation to obtain a target road surface equation;
a determination unit configured to determine the target road surface equation as road surface information;
wherein, the constructing a right angle constraint equation based on the set of the coordinate series groups of the key points of the obstacles comprises:
screening each barrier key point coordinate sequence in the set of barrier key point coordinate sequences to obtain a set of target barrier key point coordinate sequences;
constructing a right-angle constraint equation based on the set of the key point coordinate series of the target barrier;
the screening of each obstacle key point coordinate sequence in the set of obstacle key point coordinate sequences to obtain a set of target obstacle key point coordinate sequences includes:
for each obstacle key point coordinate sequence in the set of obstacle key point coordinate sequences, performing the following screening process steps:
carrying out back projection on each barrier key point coordinate in the barrier key point coordinate sequence to obtain a three-dimensional barrier key point coordinate sequence;
constructing a unit vector sequence by utilizing each three-dimensional barrier key point coordinate in the three-dimensional barrier key point coordinate sequence;
in response to determining that the coordinates of each barrier key point in the barrier key point coordinate sequence meet a preset key point condition and the unit vector sequence meets a preset vector relationship condition, determining the three-dimensional barrier key point coordinate sequence as a target barrier key point coordinate sequence;
wherein the right angle constraint equation is constructed by the following steps:
Figure FDA0004048308650000041
wherein e is 1 The result, i.e. the right angle relation error,
Figure FDA0004048308650000042
representing a rectangular error, l, corresponding to a jth unit vector in the sequence of unit vectors j Representing the jth unit vector, l, in the sequence of unit vectors j+1 Represents the j +1 th unit vector in the unit vector sequence;
wherein the initial road surface equation is generated by:
extracting lane line points of a preset target road image to obtain a lane line point coordinate set;
back projecting each lane line point coordinate in the lane line point coordinate set to a vehicle coordinate system to obtain a lane line point three-dimensional coordinate set;
generating the initial road surface equation based on the three-dimensional coordinate set of the lane line points; before updating the initial road surface equation based on the right-angle constraint equation to obtain the target road surface equation, the method further comprises:
generating a set of key point projection error sequences based on a preset camera internal parameter matrix and a coordinate conversion matrix;
updating the initial road surface equation based on the right-angle constraint equation to obtain a target road surface equation, wherein the method comprises the following steps:
updating an initial road surface equation based on the set of the key point projection error sequence groups, the right-angle constraint equation and a preset covariance matrix to obtain a target road surface equation;
updating an initial road surface equation based on the set of the key point projection error sequence groups, the right-angle constraint equation and a preset covariance matrix to obtain a target road surface equation, wherein the method comprises the following steps:
determining an initial state vector of an initial state equation;
obtaining a target state vector sequence by the following formula:
Figure FDA0004048308650000051
wherein Z represents the initial state vector, Z 'represents a target state vector in a target state vector sequence, Z' i Representing the ith target state vector, P (m), in the sequence of target state vectors i,p,n ) Expressing the result of inputting the nth target obstacle key point coordinate in the pth target obstacle key point coordinate sequence in the ith target obstacle key point coordinate sequence group in the target obstacle key point coordinate sequence group set into the initial state equation,
Figure FDA0004048308650000061
representing the result of a constraint equation corresponding to the jth target obstacle key point coordinate in the jth target obstacle key point coordinate sequence group in the ith target obstacle key point coordinate sequence group in the target obstacle key point coordinate sequence group, namely the orthogonal relation error, is/are>
Figure FDA0004048308650000062
A transpose matrix representing the nth keypoint projection error in the kth keypoint projection error sequence in the ith keypoint projection error sequence set in the set of keypoint projection error sequences, device for selecting or keeping>
Figure FDA0004048308650000063
The method comprises the steps of representing an inverse matrix of a preset projection error covariance matrix, representing a projection parameter in a preset projection parameter group, representing an ith projection parameter in the preset projection parameter group, and representing a conversion parameter for shortening the length of a formula;
and determining the last target state vector in the target state vector sequence as a parameter of the target road surface equation to complete the updating of the initial road surface equation to obtain the target road surface equation.
4. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-2.
5. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-2.
CN202210290272.4A 2022-03-23 2022-03-23 Road curved surface information generation method, device, equipment and computer readable medium Active CN114863385B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210290272.4A CN114863385B (en) 2022-03-23 2022-03-23 Road curved surface information generation method, device, equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210290272.4A CN114863385B (en) 2022-03-23 2022-03-23 Road curved surface information generation method, device, equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN114863385A CN114863385A (en) 2022-08-05
CN114863385B true CN114863385B (en) 2023-04-07

Family

ID=82627771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210290272.4A Active CN114863385B (en) 2022-03-23 2022-03-23 Road curved surface information generation method, device, equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN114863385B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115471708B (en) * 2022-09-27 2023-09-12 禾多科技(北京)有限公司 Lane line type information generation method, device, equipment and computer-readable medium
CN116740382B (en) * 2023-05-08 2024-02-20 禾多科技(北京)有限公司 Obstacle information generation method, device, electronic equipment and computer-readable medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101469991A (en) * 2007-12-26 2009-07-01 南京理工大学 All-day structured road multi-lane line detection method
CN102155230A (en) * 2011-02-15 2011-08-17 龚晓斌 Tunnel curve segment lofting method based on circle coordinates
CN105005999A (en) * 2015-08-12 2015-10-28 北京航空航天大学 Obstacle detection method for blind guiding instrument based on computer stereo vision
CN106407506A (en) * 2016-08-24 2017-02-15 中南大学 Road three-dimensional linetype modeling method and system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103136341B (en) * 2013-02-04 2016-12-28 北京航空航天大学 A kind of lane line based on Bézier curve reconstruct device
CN103927418A (en) * 2014-04-12 2014-07-16 北京工业大学 Method for manufacturing meshed drainage channels of urban road drains on basis of DEM (digital elevation model)
CN109583271B (en) * 2017-09-29 2020-11-06 杭州海康威视数字技术股份有限公司 Method, device and terminal for fitting lane line
CN109829351B (en) * 2017-11-23 2021-06-01 华为技术有限公司 Lane information detection method, device and computer readable storage medium
CN109141911B (en) * 2018-06-26 2019-11-26 百度在线网络技术(北京)有限公司 The acquisition methods and device of the control amount of unmanned vehicle performance test
CN109034047B (en) * 2018-07-20 2021-01-22 京东方科技集团股份有限公司 Lane line detection method and device
CN113409583B (en) * 2020-03-16 2022-10-18 华为技术有限公司 A method and device for determining lane line information
CN113551664B (en) * 2021-08-02 2022-02-25 湖北亿咖通科技有限公司 Map construction method and device, electronic equipment and storage medium
CN114170275B (en) * 2021-11-30 2024-11-22 重庆长安汽车股份有限公司 A lane line processing method and system based on Kalman filtering
CN113869293B (en) * 2021-12-03 2022-03-11 禾多科技(北京)有限公司 Lane line recognition method and device, electronic equipment and computer readable medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101469991A (en) * 2007-12-26 2009-07-01 南京理工大学 All-day structured road multi-lane line detection method
CN102155230A (en) * 2011-02-15 2011-08-17 龚晓斌 Tunnel curve segment lofting method based on circle coordinates
CN105005999A (en) * 2015-08-12 2015-10-28 北京航空航天大学 Obstacle detection method for blind guiding instrument based on computer stereo vision
CN106407506A (en) * 2016-08-24 2017-02-15 中南大学 Road three-dimensional linetype modeling method and system

Also Published As

Publication number Publication date
CN114863385A (en) 2022-08-05

Similar Documents

Publication Publication Date Title
CN113869293B (en) Lane line recognition method and device, electronic equipment and computer readable medium
CN114419604B (en) Obstacle information generation method, apparatus, electronic device and computer readable medium
CN114863385B (en) Road curved surface information generation method, device, equipment and computer readable medium
CN114742958B (en) Three-dimensional lane information generation method, device, device and computer-readable medium
CN112348029B (en) Local map adjusting method, device, equipment and computer readable medium
CN114399589A (en) Three-dimensional lane line generation method, apparatus, electronic device and computer readable medium
CN114399588B (en) Three-dimensional lane line generation method and device, electronic device and computer readable medium
CN112328731B (en) Vehicle lane-level positioning method, apparatus, electronic device, and computer-readable medium
CN114993328B (en) Vehicle positioning evaluation method, device, device and computer readable medium
CN116182878B (en) Road curved surface information generation method, device, equipment and computer readable medium
CN113571122A (en) Electronic density map determining method and device, electronic equipment and storage medium
CN112561990A (en) Location information generation method, apparatus, device and computer readable medium
CN118228200B (en) Method, device and equipment for identifying abnormality of power equipment based on multimodal model
CN114842436A (en) Three-dimensional lane line generation method, apparatus, electronic device and computer readable medium
CN114842448A (en) Three-dimensional lane line generation method, apparatus, electronic device and computer readable medium
CN114445597A (en) Three-dimensional lane line generation method and device, electronic device and computer readable medium
CN116740382B (en) Obstacle information generation method, device, electronic equipment and computer-readable medium
CN114494428B (en) Vehicle pose correction method and device, electronic equipment and computer readable medium
CN115817515B (en) Vehicle control method, apparatus, electronic device, and computer-readable medium
CN117755312A (en) Lane line fitting method, electronic device and storage medium
WO2024164568A1 (en) Model training method and apparatus, data adjustment method and apparatus, and device and medium
CN114724116B (en) Vehicle traffic information generation method, device, equipment and computer readable medium
CN114723640B (en) Obstacle information generation method, apparatus, electronic device and computer readable medium
CN114399659B (en) Vehicle control information generation method, device, equipment and computer readable medium
CN116486230A (en) Image detection method based on semi-recursion characteristic pyramid structure and storage medium

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
CP03 Change of name, title or address

Address after: 201, 202, 301, No. 56-4 Fenghuang South Road, Huadu District, Guangzhou City, Guangdong Province, 510806

Patentee after: Heduo Technology (Guangzhou) Co.,Ltd.

Address before: 100099 101-15, 3rd floor, building 9, yard 55, zique Road, Haidian District, Beijing

Patentee before: HOLOMATIC TECHNOLOGY (BEIJING) Co.,Ltd.

CP03 Change of name, title or address
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Method, device, equipment, and computer-readable medium for generating road surface information

Granted publication date: 20230407

Pledgee: Bank of Shanghai Co.,Ltd. Beijing Branch

Pledgor: Heduo Technology (Guangzhou) Co.,Ltd.

Registration number: Y2024980009891

PE01 Entry into force of the registration of the contract for pledge of patent right
PP01 Preservation of patent right

Effective date of registration: 20250121

Granted publication date: 20230407

PP01 Preservation of patent right