华南理工大学学报(自然科学版) ›› 2007, Vol. 35 ›› Issue (5): 35-40.

• 电子、通信与自动控制 • 上一篇    下一篇

基于Hough 变换的列车客运票图像倾斜校正

梁添才 皮佑国 彭晶 朱朝华   

  1. 华南理工大学 自动化科学与工程学院,广东 广州 510640
  • 收稿日期:2006-06-08 出版日期:2007-05-25 发布日期:2007-05-25
  • 通信作者: 梁添才(1980-),男,博士生,主要从事模式识别与智能系统、数字图像处理方面的研究. E-mail:liangtiancai05@126.com
  • 作者简介:梁添才(1980-),男,博士生,主要从事模式识别与智能系统、数字图像处理方面的研究.

Skew Correction of Railway Ticket Images Based on Hough Transform

Liang Tian-cai  Pi You-guo  Peng Jing  Zhu Zhao-hua   

  1. School of AutornatÍon Science and Engineering , South China Univ. of Tech. , Guanzhou 510640 , Guangdong , China
  • Received:2006-06-08 Online:2007-05-25 Published:2007-05-25
  • Contact: 梁添才(1980-),男,博士生,主要从事模式识别与智能系统、数字图像处理方面的研究. E-mail:liangtiancai05@126.com
  • About author:梁添才(1980-),男,博士生,主要从事模式识别与智能系统、数字图像处理方面的研究.

摘要: 为解决列车客运票防伪和自动验票中的列车客运票图像倾斜校正的问题,提出了一种基于Hough 变换的列车客运票图像倾斜校正方法.该方法根据现有倾角检测算法及列车客运票图像的特点,将列车客运票图像的前景与背景分离,在对图像前景进行水平轨迹线平滑的基础上提取文本行特征线,然后采用分级Hough 变换的思想实现倾角的检测,最后用直线拟合的方法实现图像的校正.实验结果表明了所提出的算法的有效性和可靠性.

关键词: 列车客运票, 图像处理, Hough 变换, 倾斜校正, 直线拟合

Abstract:

In order to implement the skew correction of images in the anti-false and auto-checking system for railway ticket , a method of the skew correction is proposed based on Hough transform. In the proposed method , the objective information of the ticket images is extracted from the background according to the attribute of railway ticket images and the existing algorithm of skew detection , and the horizontal trajectories are smoothed before picking up the characteristic line of text. Theh , multi-stage Hough transform is adopted to determine the skew angle , and the line fitting technique is used to correct the skew images. Experimental results verify the effectiveness and reliability of the proposed algorithm.

Key words: railway ticket, image processing, Hough transform, skew correction, line fitting