APP下载

Canny算子与小波变换相结合的道路边缘特征提取算法

2015-05-30张永梅王世伟许静

计算机时代 2015年8期

张永梅 王世伟 许静

摘 要: 提出了Canny算子与小波变换相结合的道路边缘特征提取算法。首先用Canny算子对原图像提取边缘,与原图像进行叠加,再用小波变换对此图像进行二次边缘提取,有效地提取道路边缘特征,避免了Canny算子提取道路边缘不连续现象和小波变换提取边缘时出现的虚假边缘信息。

关键词: 边缘特征; 阈值; Canny算子; 小波变换

中图分类号:TP751.1 文献标志码:A 文章编号:1006-8228(2015)08-44-03

Road edge feature extraction algorithm with Canny operator and wavelet transform

Zhang Yongmei1,2,3, Wang Shiwei1, Xu Jing1

(1. School of Computer Science, North China University of Technology, Beijing 100144; 2. Guangdong Key Laboratory of Popular High Performance Computers;

3. Shenzhen Key Laboratory of Service Computing and Applications)

Abstract: A road edge feature extraction algorithm based on Canny operator and wavelet transform is proposed in this paper, the edge of the original image is extracted by using Canny operator, overlay??it on the original image, and then extract edge of the overlaid image by using wavelet transform. This algorithm can effectively extract the edge features of the road , and avoid the road edge discontinuity phenomena of Canny operator and the false edge information of wavelet transform.

Key words: edge character; threshold; Canny operator; wavelet transform

0 引言

图像的边缘特征是图像局部特性不连续性的反映,它是一个区域和另一个区域的分界线。由于噪声和模糊的存在,检测到的边界可能会在某些边缘处变宽或在某些点处发生间断,因此边缘提取的首要任务是检出图像局部特性的不连续性,然后剔出某些边界点或填补一些边界间断点,并将这些边缘像素连成完整的边界[1]。在边缘方向上,边缘的像素变化比较模糊,但是与边缘相垂直的方向,像素值变化很明显。因此,某种意义上来说,提取边缘的算法就是找出像素的一种微分算子。各种边缘检测技术的基本思想都是计算出局部的微分算子,然后根据微分算子检测出边缘[2]。

1 Canny边缘特征提取方法

从定位的可靠性和检测边缘的有效性出发,John Canny对最优边缘检测器所需要的所有特性进行了研究,他在1986年写的一篇论文中推导出了最优边缘检测的数学表达式。对于不同类型的图像边缘,Canny边缘检测的最优形式也不一样,但是他推导的一维M-H边缘检测器与一维边缘检测器基本上是相同的,这是因为在一阶导数算子中,其最大值和M-H 算子的零交叉点在理论上是一致的。……

登录APP查看全文