摘要本系统研究的目的是设计一个车载的基于图像处理的交通信号灯识别提醒系统,辅助驾驶员在道路行驶的过程中,对前方的交通信号灯状态进行有效、准确的识别,并及时以声音或者更为直观的方式提醒驾驶员注意信号灯的变化,从而降低事故的发生率,保证行车安全。42783
本文主要针对圆形的交通信号灯进行检测,通过车载摄像头获取路口的实时数据,转化成一帧一帧的图像,经过灰度图二值图转换、腐蚀膨胀处理、边缘提取等一系列数学形态学操作,对进行图像预处理;用最小外接矩形提取特定长宽比的矩形区域获得可能的信号灯位置矩形,在进一步设定RGB像素点在所属矩形中所占比例的阈值,筛选出信号灯,完成信号灯定位;对已定位的信号灯的识别是通过将局部的原图像转换成HSV颜色空间,对比红绿黄各分量的大小来实现的。
通过matlab软件编写算法程序,并进行了图像处理的实验,实验结果验证了该方法的可行性。
关键词:辅助驾驶 交通信号灯检测 定位识别 图像处理
毕业论文设计说明书外文摘要
Title Research of Traffic Lights Identification and Reminder System
Abstract
In this paper, a vehicular reminder system based on image processing of the traffic light identification is designed, which assists the driver to drive more safely. The system is able to identify the traffic lights effectively and accurately,and reminds drivers to pay attention to the change of the traffic lights in intuitive way, thereby reducing the incidence of accidents and ensure traffic safety.
This article mainly aimed at the circular signal light for testing. We get real-time data of intersection into a frame image by on-board camera, then the image is converted to binary image after grayscale conversion. After erosion and dilation processing, edge detection and a series of mathematical morphology operations, traffic lights will be positioned in possible location by extracting specific aspect ratio of the minimum bounding rectangle area. In further, RGB pixel proportion threshold in the corresponding rectangle is set to filter out traffic lights. Identification of targeted traffic lights is realized by converting the partial original image into HSV color space, then comparing to the size of the red, green and yellow of each component.
Corresponding image processing experiment has been done in Matlab software, the experimental results show that this method is feasible.
Keywords driver assistance, traffic lights detected, location identification, image processing
目 录
1 绪论 1
1.1 研究背景 1
1.2 研究现状 1
2 交通信号灯检测的思路和算法 4
2.1 路况图像信息采集 4
2.2 图像预处理 5
2.3 信号灯的定位和颜色的识别 9
2.4 输出提醒 13
3 交通信号灯识别提醒系统的设计与实现 14
3.1 Matlab简介 14
3.2 基于Matlab的交通信号灯识别提醒系统 14
4 系统测试和结果分析 18
4.1 交通信号灯识别提醒算法测试 matlab基于图像处理交通信号灯识别提醒系统研究:http://www.751com.cn/tongxin/lunwen_43334.html