计算机工程与应用 ›› 2011, Vol. 47 ›› Issue (18): 166-169.

• 图形、图像、模式识别 • 上一篇    下一篇

结合Canny和距离变换的矩形模式特征提取方法

李慧平,李 映,张秀伟   

  1. 西北工业大学 计算机学院,西安 710129
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2011-06-21 发布日期:2011-06-21

Rectangle pattern extracting combined with Canny and distance transform

LI Huiping,LI Ying,ZHANG Xiuwei   

  1. College of Computer,Northwestern Polytechnical University,Xi’an 710129,China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-06-21 Published:2011-06-21

摘要: 提出了一种图像矩形模式特征提取算法。首先利用Canny算子对图像纹理敏感特性求取图像的Canny边缘;对Canny边缘结果计算其距离变换图,可有效减小纹理复杂区域对后续矩形模式特征提取的影响;然后对距离变换图进行掩膜卷积,对其结果进行聚类,获得矩形模式特征的中心;最后利用几何约束求解出矩形模式特征的四个顶点。实验证明了该算法有效可行,特征定位精度在真实图像上可达1.3像素。

关键词: 特征提取, Canny边缘检测, 距离变换, 矩形模式

Abstract: A rectangle feature extracting method is proposed.The Canny edge detecting is used to get the images’ edge for its sensitive performance on images’ texture.Then distance transform on the result of Canny edge detecting is applied,which can reduce the interference caused by the complex texture region on rectangle pattern feature extracting.By consequence,the convolution image between distance transform result and mask image is computed,then the convolution image is classified and the rectangle pattern features’ control coordinate is got.Finally the rectangles’ four vertexes coordinate through geometric constraints are solved.The method is proved to be effective and workable by experiments,and can achieve 1.3 pixels on features’ location on real images.

Key words: feature extracting, Canny edge detecting, distance transform, rectangle pattern