Journal of Frontiers of Computer Science and Technology ›› 2022, Vol. 16 ›› Issue (1): 205-216.DOI: 10.3778/j.issn.1673-9418.2008003

• Graphics and Image • Previous Articles     Next Articles

Method of Rail Surface Extraction Based on Greedy Selection and Slope Detection Expansion

CAO Yiqin, LIU Longbiao+(), HE Tian, DING Yaonan   

  1. School of Software, East China Jiaotong University, Nanchang 330013, China
  • Received:2020-08-03 Revised:2020-09-30 Online:2022-01-01 Published:2020-10-23
  • About author:CAO Yiqin, born in 1964, M.S., professor, M.S. supervisor, member of CCF. His research interests include image processing and pattern recognition.
    LIU Longbiao, born in 1995, M.S. candidate. His research interest is image processing.
    HE Tian, born in 1996, M.S. candidate. Her research interest is image processing.
    DING Yaonan, born in 1996, M.S. candidate. His research interest is image processing.
  • Supported by:
    National Natural Science Foundation of China(61663009);Key Project of Science and Technology Support Plan of Jiangxi Province(20161BBE50081)

基于贪心选择及斜率探测扩充的轨面提取方法

曹义亲, 刘龙标+(), 何恬, 丁要男   

  1. 华东交通大学 软件学院,南昌 330013
  • 通讯作者: + E-mail: 569144312@qq.com
  • 作者简介:曹义亲(1964—),男,江西九江人,硕士,教授,硕士生导师,CCF会员,主要研究方向为图像处理、模式识别。
    刘龙标(1995—),男,江西赣州人,硕士研究生,主要研究方向为图像处理。
    何恬(1996—),女,江西南昌人,硕士研究生,主要研究方向为图像处理。
    丁要男(1996—),男,江西上饶人,硕士研究生,主要研究方向为图像处理。
  • 基金资助:
    国家自然科学基金(61663009);江西省科技支撑计划重点项目(20161BBE50081)

Abstract:

The traditional rail surface area extraction method has some preconditions, for instance, the width of rail surface should be given in advance, the rail surface should be assumed to be in the center of the rail image and the boundary should be selected manually. Besides, it also has some problems, such as poor self-adaptability, light sensitivity, and the inability to extract the rail surface completely when there are noises such as dust and mud at the rounded corners of the rail head. Aiming at the above problems, a method of extracting rail surface area based on YUV space greedy algorithm selection and slope detection expansion is proposed. Firstly, the RGB rail image is converted to YUV space, and its V component is extracted to reduce the interference of ambient light and noise. Secondly, the grayscale projection inversion curve of the V component is drawn, and the gray mean and median of the curve are used to divide the candidate orbital intervals. Then, greedy algorithm is used to calculate the interval of the maximum suborder sum in the divided curve for rough extraction of rail surface. At last, the slope detection expansion method is used to accurately extract the rail surface, the slope detection at a certain distance is carried out on both sides of the coarse-extracted boundary, and the rail surface boundary is updated with the middle position where the deflection angle is greater than the set threshold. Experimental results show that the proposed method can accurately and rapidly extract the rail surface area, with an average precision of 0.9296, an average accuracy of 96.67%, and an average time of 25.96 ms, which is of certain practical value.

Key words: rail surface area, YUV space, grayscale projection, greedy algorithm, slope detection expansion

摘要:

传统的钢轨表面区域提取方法不同程度存在需要预先给定轨面宽度、假定轨面在轨道图像中央和手动选取边界等前提条件,且存在自适应性差,光照敏感,无法在轨头圆角处存在尘泥等噪声时将轨面完整提取等问题。针对上述问题,提出了一种基于YUV空间的贪心算法选择及斜率探测扩充的轨面区域提取方法。首先将RGB轨道图像转化到YUV空间,提取其V分量,减弱环境光照以及噪声的干扰;其次绘制V分量的灰度投影反转曲线,利用该曲线灰度均值和中值进行候选轨面区间划分;随后利用贪心算法求出划分后曲线中的最大子序和区间,进行轨面粗提取;最后利用斜率探测扩充法进行轨面精提取,在粗提取的边界两侧进行一定距离的斜率探测,用偏转角大于设定阈值的中间位置更新轨面边界。实验结果表明,该方法可以精准快速地提取轨面区域,平均精度达0.929 6,准确率达96.67%,平均时间为25.96 ms,具有一定实用价值。

关键词: 钢轨表面区域, YUV色彩空间, 灰度投影, 贪心算法, 斜率探测扩充

CLC Number: