CN108596146A - Road multi-target classification method - Google Patents
Road multi-target classification method Download PDFInfo
- Publication number
- CN108596146A CN108596146A CN201810438507.3A CN201810438507A CN108596146A CN 108596146 A CN108596146 A CN 108596146A CN 201810438507 A CN201810438507 A CN 201810438507A CN 108596146 A CN108596146 A CN 108596146A
- Authority
- CN
- China
- Prior art keywords
- target
- variable
- bayesian network
- discrete
- road
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/50—Context or environment of the image
- G06V20/56—Context or environment of the image exterior to a vehicle by using sensors mounted on the vehicle
- G06V20/588—Recognition of the road, e.g. of lane markings; Recognition of the vehicle driving pattern in relation to the road
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/241—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches
- G06F18/2415—Classification techniques relating to the classification model, e.g. parametric or non-parametric approaches based on parametric or probabilistic models, e.g. based on likelihood ratio or false acceptance rate versus a false rejection rate
- G06F18/24155—Bayesian classification
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/24—Classification techniques
- G06F18/243—Classification techniques relating to the number of classes
- G06F18/2431—Multiple classes
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Physics & Mathematics (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Bioinformatics & Computational Biology (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Probability & Statistics with Applications (AREA)
- Multimedia (AREA)
- Image Analysis (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本发明公开了一种道路多目标分类方法,通过导入训练样本应用基于约束的NPC算法对混合贝叶斯网络结构进行学习;然后对网络结构中的离散变量和连续变量分别进行参数学习来获得网络中每一个节点的分布,再将参数进行合并,最后将测试样本用于贝叶斯网络的推理并将道路目标分类。该方法一方面摒弃了对高分辨率及近景图像的需求,通过使用道路目标简单的低层次特征,大大减少了计算量。另一方面混合贝叶斯网络结构的构建避免了传统的贝叶斯网络分类器中将所有变量都视为离散变量易造成目标信息损失,同时在道路多目标数据的处理和分析中导致搜索空间的和计算量的急剧增加。本发明采用连续节点和离散节点共存的贝叶斯网络更符合实际。
The invention discloses a road multi-objective classification method, which learns a mixed Bayesian network structure by importing training samples and applying a constraint-based NPC algorithm; then performs parameter learning on discrete variables and continuous variables in the network structure to obtain a network The distribution of each node in the network, and then the parameters are combined, and finally the test sample is used for the inference of the Bayesian network and the classification of the road target. On the one hand, this method abandons the need for high-resolution and close-range images, and greatly reduces the amount of calculation by using simple low-level features of road targets. On the other hand, the construction of the hybrid Bayesian network structure avoids all variables in the traditional Bayesian network classifier as discrete variables, which is easy to cause the loss of target information, and at the same time leads to a search space in the processing and analysis of road multi-target data. and a sharp increase in the amount of computation. The present invention adopts a Bayesian network in which continuous nodes and discrete nodes coexist, which is more practical.
Description
技术领域technical field
本发明涉及一种智能视频监控技术,特别涉及一种道路多目标分类方法。The invention relates to an intelligent video monitoring technology, in particular to a road multi-target classification method.
背景技术Background technique
智能汽车的研究方兴未艾,环境辨识是智能汽车的基本模块,也是智能车开展自主驾驶的前提。环境辨识的一项基本任务是对障碍物的探测与辨识。现有的研究侧重于对单一类型障碍物的探测,而对多类型障碍物的探测并且识别的研究较少。而对于行驶在城区道路环境下的智能车来说,不仅要对前方目标进行探测,并且还要辨识它们的类型。The research on smart cars is in the ascendant. Environmental recognition is the basic module of smart cars and the prerequisite for autonomous driving of smart cars. A basic task of environment recognition is the detection and identification of obstacles. Existing research focuses on the detection of a single type of obstacle, but less research on the detection and recognition of multiple types of obstacles. For a smart car driving in an urban road environment, it is not only necessary to detect the targets ahead, but also to identify their types.
目前通用的分类器有决策树、神经网络、支持向量机、Adaboost等。其分类决策依据均来自于对样本数据的学习,故需以大量的类样本为支撑。考虑到目标种类的多样性、环境的复杂性以及外形的不确定性,仅依靠对样本学习得到的分类规则受样本容量及空间分布的影响较大。而贝叶斯网络则有着强大的不确定知识的表达能力,在分类决策过程中,可充分利用先验知识及统计学习两方面的信息,使推理规则更加灵活和有效,这也使得在数据缺失或没有样本数据的情况下依然可以建立有效的分类器。但是,传统的贝叶斯网络分类器是将所有变量都视为离散变量,可是变量的离散化处理不可避免地会存在信息缺失,且在道路多目标数据的处理和分析中,连续变量的离散化会导致搜索空间和计算量的急剧增加。因此道路多目标分类问题仍是智能汽车系统中的一个难题。The current general classifiers include decision tree, neural network, support vector machine, Adaboost, etc. The classification decision-making basis comes from the learning of sample data, so it needs to be supported by a large number of class samples. Considering the diversity of target types, the complexity of the environment and the uncertainty of the shape, the classification rules obtained only by learning from samples are greatly affected by the sample size and spatial distribution. The Bayesian network has a strong ability to express uncertain knowledge. In the process of classification decision-making, it can make full use of prior knowledge and statistical learning information to make the inference rules more flexible and effective. Or an effective classifier can still be built without sample data. However, the traditional Bayesian network classifier regards all variables as discrete variables, but the discretization of variables will inevitably lead to information loss, and in the processing and analysis of road multi-objective data, the discretization of continuous variables Optimization will lead to a sharp increase in the search space and the amount of computation. Therefore, the road multi-objective classification problem is still a difficult problem in the intelligent vehicle system.
发明内容Contents of the invention
为了解决上述难题,本发明提供了一种既存在离散节点又存在连续节点的混合贝叶斯网络的道路多目标分类方法。In order to solve the above problems, the present invention provides a road multi-objective classification method of a mixed Bayesian network with both discrete nodes and continuous nodes.
为实现上述目的,本发明采用了如下技术方案:To achieve the above object, the present invention adopts the following technical solutions:
一种道路多目标分类方法,该方法是:将训练样本应用基于约束的NPC算法对混合贝叶斯网络结构进行学习,对网络结构中的离散变量和连续变量分别进行参数学习获得网络中每一个节点的分布,将两类参数进行合并,最后将测试样本用于贝叶斯网络的推理并将道路多目标进行分类。A road multi-objective classification method, the method is: applying the constraint-based NPC algorithm to the training samples to learn the mixed Bayesian network structure, and performing parameter learning on the discrete variables and continuous variables in the network structure to obtain each The distribution of nodes, the two types of parameters are combined, and finally the test samples are used for Bayesian network inference and road multi-object classification.
具体包括如下步骤:Specifically include the following steps:
1)建立数据集,包括用于训练分类算法模型的训练数据集和用于对分类算法测试的测试数据集;1) Establish a data set, including a training data set for training the classification algorithm model and a test data set for testing the classification algorithm;
2)将待识别目标分类类别设为m类,提取目标的n个分类特征,将分类特征划分为离散变量和连续变量两类;2) Set the classification category of the target to be identified as m categories, extract n classification features of the target, and divide the classification features into two categories: discrete variables and continuous variables;
Amn是包含每个特征所有类别信息的二维矩阵:A mn is a two-dimensional matrix containing all category information for each feature:
其中ai,j为第i类目标第j个特征的值,将{A1,A2,…,An}作为混合贝叶斯网络中相应节点的取值;Where a i,j is the value of the jth feature of the i-th class target, and {A 1 ,A 2 ,…,A n } are taken as the values of the corresponding nodes in the hybrid Bayesian network;
3)导入训练数据集,应用基于约束的结构学习方法NPC算法对混合贝叶斯网络的结构进行学习;应用贝叶斯网络参数学习方法来获得每一个节点的分布P(Xi|C),对于离散变量和连续变量分别进行参数学习;3) Import the training data set, apply the constraint-based structure learning method NPC algorithm to learn the structure of the hybrid Bayesian network; apply the Bayesian network parameter learning method to obtain the distribution P(X i |C) of each node, Parameter learning is performed separately for discrete variables and continuous variables;
将上述获得的两类参数进行合并,获得混合贝叶斯网络;Combine the two types of parameters obtained above to obtain a hybrid Bayesian network;
4)将测试数据集导入获得的混合贝叶斯网络中,对城市道路目标进行分类。4) Import the test data set into the obtained hybrid Bayesian network to classify the urban road targets.
上述技术方案中,进一步的,所述的步骤2)中所述的分类特征为目标的遮挡情况(occlude)、长度(length)、宽度(width)、高度(height)和观测角度(alpha)五个特征,其中,目标的遮挡情况为离散变量,目标的长度、宽度、高度及观测角度为连续变量。In the above technical solution, further, the classification features described in step 2) are the occlusion, length (length), width (width), height (height) and observation angle (alpha) of the target. Among them, the occlusion of the target is a discrete variable, and the length, width, height and observation angle of the target are continuous variables.
进一步的,所述的步骤3)中通过依赖分析确定节点之间的关系,若节点间有依赖关系则保留此无向边,否则去掉节点之间的这条边;具体的,通过卡方统计量做假设检验来确定边的存在与否,从而确定贝叶斯网络的框架,然后再根据独立检验中产生的分割集确定边的方向;对于任何连接似乎有悖常理或解析模糊区域时可与用户交互进行,用户可以利用这个机会决定无向连接的方向性并解决它的模糊区域。Further, in the step 3), the relationship between the nodes is determined through dependency analysis, if there is a dependency relationship between the nodes, the undirected edge is retained, otherwise the edge between the nodes is removed; specifically, through chi-square statistics The framework of the Bayesian network is determined by doing hypothesis tests to determine the presence or absence of edges, and then the direction of edges is determined from the segmentation sets generated in independent tests; it can be used for any connections that seem counterintuitive or when resolving ambiguous regions. User interaction takes place, and the user can use this opportunity to determine the directionality of the undirected link and resolve its ambiguous regions.
进一步的,对于离散变量,其条件概率表CPT采用多维矩阵表示,为:E(θi,j,k|D,BS,ξ)Furthermore, for discrete variables, the conditional probability table CPT is represented by a multidimensional matrix, which is: E(θ i,j,k |D,B S ,ξ)
=(Ni,j,k+1)(Ni,j+ri-Ni,j,k-1)/(Ni,j+ri)2(Ni,j+ri+1)=(N i,j,k +1)(N i,j +r i -N i,j,k -1)/(N i,j +r i ) 2 (N i,j +r i +1 )
其中,θi,j,k表示条件概率表;ξ表示若干假设;D为数据集;BS为网络结构;ri为离散随机变量Xi所有可能的取值个数,如果用ωi,j表示变量Xi的第j个父节点,vi,k为变量Xi的取值,则Ni,j,k为数据集D中变量Xi取值为vi,k同时父节点为ωi,j的样本出现的次数,Ni,j的计算公式为 Among them, θ i , j, k represent the conditional probability table; ξ represents several hypotheses; D is the data set; B S is the network structure; j represents the jth parent node of the variable X i , v i,k is the value of the variable X i , then N i,j,k is the value of the variable X i in the data set D is v i,k and the parent node is The number of occurrences of samples of ω i,j , the calculation formula of N i,j is
对于离散变量的每个特征,参数学习的结果是一个m×k大小的的二维矩阵:M1=CPTm×k;For each feature of a discrete variable, the result of parameter learning is a two-dimensional matrix of m×k size: M 1 =CPT m×k ;
对于连续变量,其条件概率分布为:For continuous variables, the conditional probability distribution is:
其中,C代表类别标签,连续变量符合一元正态分布,即Xi~N(μi,σi),其正态分布的均值μi和方差σi两个重要参数从训练样本中直接计算得到;当样本数据不完备时,可以通过EM算法来解决混合贝叶斯网络参数的学习问题;Among them, C represents the category label, and the continuous variable conforms to the univariate normal distribution, that is, X i ~ N(μ i , σ i ), the two important parameters of the normal distribution, the mean value μ i and the variance σ i , are directly calculated from the training samples Obtained; when the sample data is incomplete, the EM algorithm can be used to solve the learning problem of the mixed Bayesian network parameters;
对于连续变量的每个特征,参数学习的结果是一个m×2大小的二维矩阵M2=CPDm×2=<μi,σi>,i∈{1,2,…,m}。For each feature of a continuous variable, the result of parameter learning is a two-dimensional matrix M 2 =CPD m×2 =<μ i , σ i >, i∈{1,2,...,m}.
对两类参数M1和M2进行合并,得到参数网络θ=<M1,M2>;其中,M1为m×k大小的条件概率表CPTm×k的二维矩阵;M2为m×2大小的条件概率分布CPDm×2的二维矩阵。Merge the two types of parameters M 1 and M 2 to obtain the parameter network θ=<M 1 , M 2 >; where M 1 is the two-dimensional matrix of the m×k conditional probability table CPT m×k ; M 2 is The conditional probability distribution CPD of size m×2 is an m×2 two-dimensional matrix.
本发明的有益效果是:The beneficial effects of the present invention are:
根据本发明涉及的基于混合贝叶斯网络的道路多目标分类方法,通过基于约束的NPC算法对混合贝叶斯网络的结构进行学习,再对离散变量和连续变量分别进行参数学习获得网络中每一个节点的分布,然后将参数进行合并,最后将测试样本用于该网络将城市道路目标进行分类。它一方面摒弃了对高分辨率及近景图像的需求,通过使用道路目标简单的低层次特征,例如:高度,宽度和观测角度等,大大减少了计算量,并能实时运行。另一方面混合贝叶斯网络结构的构建避免了传统的贝叶斯网络分类器中将所有变量都视为离散变量,这样将造成目标信息损失,同时在道路多目标数据的处理和分析中导致搜索空间的和计算量的急剧增加。而连续节点和离散节点共存的贝叶斯网络才更符合实际。According to the mixed Bayesian network-based road multi-objective classification method involved in the present invention, the structure of the mixed Bayesian network is learned through the NPC algorithm based on constraints, and then the parameters of the discrete variables and continuous variables are respectively learned to obtain each in the network. The distribution of a node, and then the parameters are combined, and finally the test sample is used in the network to classify the urban road target. On the one hand, it abandons the need for high-resolution and close-range images, and by using simple low-level features of road targets, such as height, width, and viewing angle, it greatly reduces the amount of calculation and can run in real time. On the other hand, the construction of the mixed Bayesian network structure avoids all variables being regarded as discrete variables in the traditional Bayesian network classifier, which will cause the loss of target information, and cause problems in the processing and analysis of road multi-target data. The search space and computational complexity increase dramatically. The Bayesian network in which continuous nodes and discrete nodes coexist is more realistic.
附图说明Description of drawings
图1为本发明实施例的逻辑原理图;Fig. 1 is a logical schematic diagram of an embodiment of the present invention;
图2为本发明实施例的混合贝叶斯网络结构示意图。FIG. 2 is a schematic diagram of a hybrid Bayesian network structure according to an embodiment of the present invention.
具体实施方式Detailed ways
为了进一步理解本发明,下面结合实施例对本发明优选实施方案进行描述,但是应当理解,这些描述只是为进一步说明本发明的特征和优点,而不是对本发明权利要求的限制。In order to further understand the present invention, the preferred embodiments of the present invention are described below in conjunction with examples, but it should be understood that these descriptions are only to further illustrate the features and advantages of the present invention, rather than limiting the claims of the present invention.
本实施例提供了一种道路多目标分类方法,如附图1所示,通过导入训练样本应用基于约束的NPC算法对混合贝叶斯网络结构进行学习;然后对网络结构中的离散变量和连续变量分别进行参数学习来获得网络中每一个节点的分布,再将参数进行合并,最后将测试样本用于贝叶斯网络的推理并将道路目标分成八类。具体实施步骤如下:The present embodiment provides a kind of road multi-target classification method, as shown in accompanying drawing 1, by importing training sample application based on constraint NPC algorithm, mixed Bayesian network structure is learned; Then discrete variable and continuous variable in network structure Variables are parameter learned separately to obtain the distribution of each node in the network, and then the parameters are combined. Finally, the test samples are used for Bayesian network inference and road targets are divided into eight categories. The specific implementation steps are as follows:
1)使用KITTI的3D目标检测基准数据集对本分类方法进行测试。该数据集全部为真实路面场景,数据采集场景丰富,每帧点云中通过专业标注人员标注出八类障碍物,:Pedestrian、Car、Van、Truck、Cyclist、Person_sitting、Tram和Misc。而且还有各种程度的遮挡与截断。经整理将整个数据集分为两个部分——1个训练数据集和1个测试数据集。其中训练数据集用于算法模型的训练,含目标障碍物共约20000个;测试数据集用于分类算法的测试,含目标障碍物共约20570个。1) Use KITTI's 3D object detection benchmark dataset to test this classification method. The data set is all real road scenes, and the data collection scenes are rich. Eight types of obstacles are marked in each frame point cloud by professional annotators: Pedestrian, Car, Van, Truck, Cyclist, Person_sitting, Tram, and Misc. And there are various degrees of occlusion and truncation. After finishing, the whole data set is divided into two parts—one training data set and one testing data set. Among them, the training data set is used for the training of the algorithm model, including a total of about 20,000 target obstacles; the test data set is used for the test of the classification algorithm, including a total of about 20,570 target obstacles.
2)辨识目标设计了两套方案如表1所示,方案一将目标细分为8类,分别为行人、坐着的人、小汽车、卡车、货车、骑行者、电车及混合车。方案二将目标粗分为3类,即将方案一中的坐着的人合并到行人类别中,货车、卡车合并到小汽车类别中,有轨电车和混合型车忽略。2) Two sets of schemes are designed for target identification, as shown in Table 1. Scheme 1 subdivides the target into 8 categories, namely pedestrians, sitting people, cars, trucks, vans, cyclists, trams and hybrid vehicles. Plan 2 roughly divides the target into three categories, that is, the sitting person in Plan 1 is merged into the pedestrian category, and the truck and truck are merged into the car category, and trams and hybrid vehicles are ignored.
表1辨识目标方案Table 1 Identification target scheme
3)实验是在Hugin expert平台下进行,选取训练数据集中20000个道路目标信息数据作为贝叶斯分类器的训练样本。其中包括有14035个小汽车(Car),2263行人(Pedestrian),1461个货车(Van),528个卡车(Truck)、834个骑行者(Cyclist),117个坐着的人(Person_sitting),265个电车(Tram)和497个混合车(Misc)。3) The experiment is carried out under the Hugin expert platform, and 20,000 road target information data in the training data set are selected as the training samples of the Bayesian classifier. Including 14035 cars (Car), 2263 pedestrians (Pedestrian), 1461 trucks (Van), 528 trucks (Truck), 834 cyclists (Cyclist), 117 sitting people (Person_sitting), 265 trams (Tram) and 497 mixed cars (Misc).
3)贝叶斯网络的结构在模型的精确程度上是至关重要的。学习贝叶斯网络的最佳结构需要指数时间,因为一组给定节点的大量可能结构的数目在节点的数目上是超指数的。我们采用基于约束的结构学习方法NPC算法对网络结构进行学习,设置所有变量的先验概率分布随机产生,利用卡方分布构造条件独立检验的统计量,显著性水平设置为0.05。EM参数学习迭代次数设为10,使用贝叶斯信息准则(BIC)函数作为打分函数。生成的混合贝叶斯网络结构如图2所示:为一个五层六个节点组成的混合贝叶斯网络模型。图中每个节点详细描述如下:假定变量C为离散变量,其取值为所有可能的目标类型,用根节点表示,待识别的目标类型如表1所示,观测变量为激光雷达和视觉传感器观测到的运动目标的特征,用子节点来表示。分别为离散变量occlude(目标是否遮挡)、连续变量length(目标长度)、width(目标宽度)、height(目标高度)及alpha(目标观测角度,范围:-π~π)。3) The structure of the Bayesian network is crucial to the accuracy of the model. Learning the optimal structure of a Bayesian network takes exponential time because the number of large possible structures for a given set of nodes is superexponential in the number of nodes. We use the constraint-based structural learning method NPC algorithm to learn the network structure, set the prior probability distribution of all variables to be randomly generated, and use the chi-square distribution to construct the statistics of the conditional independent test, and set the significance level to 0.05. The number of EM parameter learning iterations is set to 10, and the Bayesian Information Criterion (BIC) function is used as the scoring function. The generated hybrid Bayesian network structure is shown in Figure 2: it is a hybrid Bayesian network model composed of five layers and six nodes. Each node in the figure is described in detail as follows: Assume that the variable C is a discrete variable, and its values are all possible target types, represented by the root node. The target types to be identified are shown in Table 1, and the observed variables are lidar and visual sensors The characteristics of the observed moving target are represented by sub-nodes. They are discrete variable occlude (whether the target is occluded), continuous variables length (target length), width (target width), height (target height) and alpha (target observation angle, range: -π~π).
3)混合贝叶斯网络参数学习的步骤如下:3) The steps of hybrid Bayesian network parameter learning are as follows:
(1)从训练样本集D={D1,D2,…,Dm}中获得道路目标的特征子集X={X1,X2,…,Xn};(1) Obtain the feature subset X={X1, X2,...,Xn} of the road target from the training sample set D={D 1 , D 2 ,...,D m };
(2)提取目标特征:Amn是包含每个特征所有类别信息的二维矩阵:(2) Extract target features: A mn is a two-dimensional matrix containing all category information of each feature:
其中ai,j为第i类目标第j个特征的值,一般将{A1,A2,…,An}作为网络中相应节点的取值;Where a i,j is the value of the jth feature of the i-th type of target, and generally {A 1 ,A 2 ,…,A n } is used as the value of the corresponding node in the network;
(3)获取各类样本的类别标签C={C1,C2,…,Cm};(3) Obtain the category labels C={C 1 ,C 2 ,...,C m } of various samples;
(4)确认每个节点的变量类型,即将X划分为离散节点集Xdiscrete和连续节点集Xcontinual两个子集;(4) Confirm the variable type of each node, that is, divide X into two subsets of discrete node set X discrete and continuous node set X continual ;
(5)对Xdiscrete按离散贝叶斯网络的方法做离散化处理;(5) Discretize X discrete by the method of discrete Bayesian network;
(6)分别进行离散节点和连续节点的参数学习,对Xdiscrete中的每个特征,参数学习的结果是一个m×k大小的二维矩阵M1=CPTmk(条件概率表)。对Xcontinual中的每个特征,参数学习的结果是一个m×2大小的二维矩阵M2=CPD=<μi,σi>,i∈{1,2,…,m}(条件概率分布)。(6) Carry out parameter learning for discrete nodes and continuous nodes respectively. For each feature in X discrete , the result of parameter learning is a two-dimensional matrix M 1 =CPT mk (conditional probability table) of size m×k. For each feature in X continual , the result of parameter learning is a m×2 two-dimensional matrix M 2 =CPD=<μ i ,σ i >,i∈{1,2,…,m} (conditional probability distributed).
(7)将参数M1和M2合并,得到参数网络θ=<M1,M2>。(7) Combine parameters M 1 and M 2 to obtain a parameter network θ=<M 1 , M 2 >.
4)统计得到训练样本中连续变量特征值的均值和方差以及离散变量的条件概率表。4) Statistically obtain the mean and variance of the eigenvalues of the continuous variables and the conditional probability table of the discrete variables in the training samples.
5)将测试样本输入到训练好的网络结构中对测试目标进行分类。5) Input the test sample into the trained network structure to classify the test target.
测试数据集是由20570个测试目标组成,其中包括表1方案一中8个目标,分别由14707个小汽车,2224个行人,1453个货车,566个卡车、793个骑行者,105个坐着的人,246个电车和476个混合车组成。产生的混淆矩阵如表2所示,它显示了观测到的状态与预测的匹配程度,误差率为4.08%。第一行说明2224个行人样本有2213个被正确分类,6个错分为混合车,5个错分为坐着的人。分类目标的准确率与其他方法的比较如表3所示。可以看出本方法对行人、汽车、电车以及骑行者的分类效果较好,而对货车、卡车及混合车的分类准确率相对较低。而将本方法应用于表1方案二中3个目标,产生的混淆矩阵如表4所示,误差率为0.08%,汽车类的16727个样本全部被正确分类。这样分类特征明显,所以分类精度明显提高。The test data set is composed of 20,570 test targets, including 8 targets in Scheme 1 in Table 1, consisting of 14,707 cars, 2,224 pedestrians, 1,453 trucks, 566 trucks, 793 cyclists, and 105 sitting people, 246 trams and 476 mixed cars. The resulting confusion matrix is shown in Table 2, which shows how well the observed state matches the prediction with an error rate of 4.08%. The first line shows that 2213 of the 2224 pedestrian samples were correctly classified, 6 were misclassified as mixed vehicles, and 5 were misclassified as sitting people. The accuracy of the classification target is compared with other methods as shown in Table 3. It can be seen that this method has a good classification effect on pedestrians, cars, trams and cyclists, but the classification accuracy on vans, trucks and hybrid vehicles is relatively low. However, when this method is applied to the three targets in Scheme 2 of Table 1, the resulting confusion matrix is shown in Table 4, with an error rate of 0.08%, and all 16,727 samples of the car class are correctly classified. In this way, the classification features are obvious, so the classification accuracy is significantly improved.
表2八类目标的混淆矩阵Table 2 Confusion matrix of eight types of targets
表3准确率(Precision)与其他方法的比较Table 3 Comparison of accuracy rate (Precision) with other methods
本表中所涉及的其他方法具体参见后续文献。For other methods involved in this table, please refer to the follow-up literature for details.
表4三类目标的混淆矩阵Table 4 Confusion matrix of three types of targets
[1]沈志熙,黄席樾等.基于Boosting的智能车辆多类障碍识别[J].计算机工程.2009,35(14):241-242[1] Shen Zhixi, Huang Xiyue, etc. Multi-type obstacle recognition of intelligent vehicles based on Boosting [J]. Computer Engineering. 2009,35(14):241-242
[2]Silviu Bota,Sergiu Nedevschi.Matthias Konig.A Framework for ObjectDetection,Tracking and Classification in Urban Traffic Scenarios UsingStereovision[J].IEEE International Conference on Intelligent ComputerCommunication&Processing,2009:153-156.[2] Silviu Bota, Sergiu Nedevschi. Matthias Konig. A Framework for Object Detection, Tracking and Classification in Urban Traffic Scenarios Using Stereovision [J]. IEEE International Conference on Intelligent Computer Communication & Processing, 2009: 153-156.
[3]Chug-Wei Liang and Chia-Feng Juang.Moving Object ClassificationUsing a Combination of Static Appearance Features and Spatial and TemporalEntropy Values of Optical Flows[J].IEEE TRANSACTIONS OF INTELLIGENTTRANSPORTATION SYSTEMS,2015,16(6):3453-3464.[3]Chug-Wei Liang and Chia-Feng Juang. Moving Object Classification Using a Combination of Static Appearance Features and Spatial and Temporal Entropy Values of Optical Flows[J].IEEE TRANSACTIONS OF INTELLIGENTTRANSPORTATION SYSTEMS,2015,16(6):3453-3464 .
[4]Mehran Kafai and Bir Bhanu.Dynamic Bayesian Networks for VehicleClassification in Video[C].IEEE transactions on industrial informatics,2012,VOL.8,NO.1:100-109.[4] Mehran Kafai and Bir Bhanu. Dynamic Bayesian Networks for Vehicle Classification in Video [C]. IEEE transactions on industrial informatics, 2012, VOL.8, NO.1:100-109.
以上实施例的说明只是用于帮助理解本发明的方法及其核心思想。应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以对本发明进行若干改进和修饰,这些改进和修饰也落入本发明权利要求的保护范围内。The descriptions of the above embodiments are only used to help understand the method and core idea of the present invention. It should be pointed out that for those skilled in the art, without departing from the principle of the present invention, some improvements and modifications can be made to the present invention, and these improvements and modifications also fall within the protection scope of the claims of the present invention.
Claims (7)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810438507.3A CN108596146A (en) | 2018-05-09 | 2018-05-09 | Road multi-target classification method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201810438507.3A CN108596146A (en) | 2018-05-09 | 2018-05-09 | Road multi-target classification method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108596146A true CN108596146A (en) | 2018-09-28 |
Family
ID=63636578
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201810438507.3A Pending CN108596146A (en) | 2018-05-09 | 2018-05-09 | Road multi-target classification method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108596146A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112721935A (en) * | 2021-01-19 | 2021-04-30 | 西人马帝言(北京)科技有限公司 | Vehicle control model training method, vehicle control method and device |
| CN114008682A (en) * | 2019-06-28 | 2022-02-01 | 宝马股份公司 | Method and system for identifying objects |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6336108B1 (en) * | 1997-12-04 | 2002-01-01 | Microsoft Corporation | Speech recognition with mixtures of bayesian networks |
| CN106124175A (en) * | 2016-06-14 | 2016-11-16 | 电子科技大学 | A kind of compressor valve method for diagnosing faults based on Bayesian network |
-
2018
- 2018-05-09 CN CN201810438507.3A patent/CN108596146A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6336108B1 (en) * | 1997-12-04 | 2002-01-01 | Microsoft Corporation | Speech recognition with mixtures of bayesian networks |
| CN106124175A (en) * | 2016-06-14 | 2016-11-16 | 电子科技大学 | A kind of compressor valve method for diagnosing faults based on Bayesian network |
Non-Patent Citations (4)
| Title |
|---|
| HARALD. STECK: "Constraint-Based Structural Learning in Bayesian Networks using Finite Data Sets", 《INSTITUT FÜR INFORMATIK DER TECHNISCHEN UNIVERSITAT MÜNCHEN》 * |
| 刘洋: "贝叶斯网络在民航飞行安全评价中的应用", 《中国优秀博硕士学位论文全文数据库(硕士)工程科技Ⅱ辑》 * |
| 李凤等: "面向土地利用分类的多源遥感数据混合贝叶斯网络分类器", 《国土资源遥感》 * |
| 陶旭东等: "基于机器视觉的汽车仪表盘功能测试方法的研究", 《科技创新与应用》 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114008682A (en) * | 2019-06-28 | 2022-02-01 | 宝马股份公司 | Method and system for identifying objects |
| CN114008682B (en) * | 2019-06-28 | 2025-04-01 | 宝马股份公司 | Method and system for identifying an object |
| CN112721935A (en) * | 2021-01-19 | 2021-04-30 | 西人马帝言(北京)科技有限公司 | Vehicle control model training method, vehicle control method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| Huttunen et al. | Car type recognition with deep neural networks | |
| Capellier et al. | Evidential deep learning for arbitrary LIDAR object classification in the context of autonomous driving | |
| Guo et al. | Context-aware object detection for vehicular networks based on edge-cloud cooperation | |
| Huo et al. | Vehicle type classification and attribute prediction using multi-task RCNN | |
| Bhagya et al. | An overview of deep learning based object detection techniques | |
| CN104077613A (en) | Crowd density estimation method based on cascaded multilevel convolution neural network | |
| CN114973199A (en) | Rail transit train obstacle detection method based on convolutional neural network | |
| Xiong et al. | Contrastive learning for automotive mmWave radar detection points based instance segmentation | |
| Al Mamun et al. | Lane marking detection using simple encode decode deep learning technique: SegNet | |
| CN115984537A (en) | Image processing method and device and related equipment | |
| Tsintotas et al. | Appearance-based loop closure detection with scale-restrictive visual features | |
| Fu et al. | Summary and reflections on pedestrian trajectory prediction in the field of autonomous driving | |
| Wang et al. | Self-attentive local aggregation learning with prototype guided regularization for point cloud semantic segmentation of high-speed railways | |
| Tian et al. | RSG-GCN: Predicting semantic relationships in urban traffic scene with map geometric prior | |
| Sirohi et al. | Uncertainty-aware lidar panoptic segmentation | |
| Zhang et al. | A comparative analysis of object detection algorithms in naturalistic driving videos | |
| Nguyen et al. | Lane detection and tracking based on fully convolutional networks and probabilistic graphical models | |
| Bewley et al. | Background Appearance Modeling with Applications to Visual Object Detection in an Open‐Pit Mine | |
| CN108596146A (en) | Road multi-target classification method | |
| Zhang et al. | More persuasive explanation method for end-to-end driving models | |
| Xiao et al. | VRSTNN: Visual-Relational Spatio-Temporal Neural Network for Early Hazardous Event Detection in Automated Driving Systems | |
| Kumar et al. | A deep transfer learning approach for enhanced traffic sign recognition in autonomous vehicles with nvidia jetson nano | |
| Nadarajan et al. | Predicted-occupancy grids for vehicle safety applications based on autoencoders and the random forest algorithm | |
| Huang et al. | A multiclass boosting approach for integrating weak classifiers in parking space detection | |
| CN113095235B (en) | An image target detection method, system and device based on weakly supervised discrimination mechanism |
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 | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180928 |
|
| RJ01 | Rejection of invention patent application after publication |