Laser & Optoelectronics Progress, Volume. 56, Issue 5, 051001(2019)

Line Detection Algorithm Based on Improved Random Hough Transformation

Chao Xu* and Xueliang Ping
Author Affiliations
  • Jiangsu Key Laboratory of Advanced Food Manufacturing Equipment and Technology, School of Mechanical Engineering, Jiangnan University, Wuxi, Jiangsu 214122, China
  • show less
    Figures & Tables(9)
    Hough transformation diagram
    Flow chart of algorithmic detection
    8 neighborhoods of P0
    Linear edge detection based on gradient direction difference. (a) Experimental image; (b) 8 neighborhood edge group; (c) edges profile with straight line feature
    Linear edge detection of experimental image. (a) Standard Hough transform; (b) proposed algorithm
    Linear edge detection of building image. (a) Building image; (b) standard Hough transform; (c) proposed algorithm
    Linear edge detection based on gradient direction difference. (a) Road image; (b) edge detecting image; (c) standard Hough transform; (d) proposed algorithm
    • Table 1. Algorithm processing time contrast

      View table

      Table 1. Algorithm processing time contrast

      TestSize /(pixel×pixel)Time /s
      Standard HoughtransformProposedalgorithm
      Test 1512×3840.9680.389
      Test 2532×5722.2251.153
      Test 3983×6043.9431.075
    • Table 2. End point coordinates and line segment length

      View table

      Table 2. End point coordinates and line segment length

      LineEndpoint /pixelLength /pixel
      Line 1(193,158) (338,143)145.77
      Line 2(343,147) (352,255)108.37
      Line 3(351,257) (206,269)145.50
      Line 4(203,268) (192,161)107.56
    Tools

    Get Citation

    Copy Citation Text

    Chao Xu, Xueliang Ping. Line Detection Algorithm Based on Improved Random Hough Transformation[J]. Laser & Optoelectronics Progress, 2019, 56(5): 051001

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Image Processing

    Received: Aug. 23, 2018

    Accepted: Sep. 13, 2018

    Published Online: Jul. 31, 2019

    The Author Email: Xu Chao (2805791219@qq.com)

    DOI:10.3788/LOP56.051001

    Topics