计算机与现代化 ›› 2013, Vol. 1 ›› Issue (2): 9-14.doi: 10.3969/j.issn.1006-2475.2013.02.003

• 图像处理 • 上一篇    下一篇

一种基于局部梯度矢量的车辆检测方法

杨小伟1,徐贵力1,王 彪1,郭瑞鹏1,田裕鹏1,何银南2   

  1. 1.南京航空航天大学自动化学院,江苏南京210016; 2.康佳集团股份有限公司,广东深圳518053
  • 收稿日期:2012-12-20 修回日期:1900-01-01 出版日期:2013-02-27 发布日期:2013-02-27

A Method for Vehicle Detection Based on Local Gradients Vector

YANG Xiao-wei1, XU Gui-li1, WANG Biao1, GUO Rui-peng1, TIAN Yu-peng1, HE Yin-nan2   

  1. 1. College of Automation Engineering, Nanjing University of Aeronautics and Astronautics, Nanjing 210016, China;2. Konka Group Co., Ltd., Shenzhen 518053, China
  • Received:2012-12-20 Revised:1900-01-01 Online:2013-02-27 Published:2013-02-27

摘要: 在物联网智能交通的车辆检测中,实时性极其重要。针对梯度方向直方图特征中特征矢量维数较多、计算量大的问题,分别对车辆梯度分布特点及支持向量机分类耗时与特征向量维数的关系进行分析,提出一种结合局部梯度矢量均值、散布矩阵特征和支持向量机进行车辆检测与提取的方法。首先,将样本图像均匀地分为若干小块;然后,分别计算块内的梯度矢量均值和散布矩阵作为样本的特征向量;最后,利用支持向量机进行分类训练与识别,其中又通过变步长法进一步减少计算量。实验结果表明,该方法的检测效果与基于梯度方向直方图特征的方法相当,但平均识别时间减少为51%。

关键词: 梯度矢量均值, 散布矩阵, 梯度方向直方图, 车辆检测

Abstract: The real-time performance of vehicle detection is very important in an intelligent transportation system. Conventional Histogram of Oriented Gradients (HOG) method has problems of lots of dimensions of feature vector and huge calculation. Therefore, this paper studies the characteristics of gradient distribution of vehicles and the influence of feature’s dimension to Support Vector Machine (SVM)’s time performance. Therefore, the paper proposes a vehicle detection method, which combines local gradient vector’s mean and scatter matrix with SVM. First of all, the sampled image is divided into a number of blocks uniformly. Then the gradient vector’s mean and scatter matrix are calculated as feature vectors in each block. At last, the classification and identification are performed by SVM, which further reduces the calculation by variable step size. The experimental results show that the method’s accuracy is equal to conventional method, but the average recognition time is reduced to 51% of conventional method.

Key words: gradient vector’s mean, scatter matrix, Histogram of Oriented Gradients (HOG), vehicle detection