Laser & Optoelectronics Progress, Volume. 57, Issue 18, 181002(2020)

Fast and High-Precision Rectangle Detection Algorithm

Lu Lu, Jiong Yang*, Jie Liang, and Yulin Jiang
Author Affiliations
  • School of Mechanical Engineering, Zhengzhou University, Zhengzhou, Henan 450000, China
  • show less
    Figures & Tables(12)
    Rectangular diagram
    Function image of similar slope
    Function image of similar length
    Function image of orthogonality
    Function image of center position relationship
    Selection of ring regions
    Results of composite image and rectangle detection. (a) Composite image 1; (b) composite image 2; (c) detection result of composite image 1; (d) detection result of composite image 2
    Detection results of rectangular part 1 by different algorithms. (a) Rectangular part 1; (b) Ref. [2]; (c) proposed algorithm
    Detection results of rectangular part 2 by different algorithms. (a) Rectangular part 2; (b) Ref. [2]; (c) proposed algorithm
    Detection results of rectangular part 3 by different algorithms. (a) Rectangular part 3; (b) Ref. [8]; (c) proposed algorithm
    • Table 1. Comparison of detection results of composite images

      View table

      Table 1. Comparison of detection results of composite images

      ImageImagesize /(pixel×pixel)Timeconsuming /msNumber ofrectanglesobtained
      Synthetic image 1404×570166
      Synthetic image 2782×512928
    • Table 2. Comparison of detection results of proposed algorithm and Ref. [2]

      View table

      Table 2. Comparison of detection results of proposed algorithm and Ref. [2]

      ResultRef. [2]Proposed algorithmActual information
      Image size /(pixel×pixel)3072×20483072×2048
      Time /ms2600352
      Center coordinates of 1st rectangle(214.000,476.000)(213.507,474.272)(213.000,474.000)
      Length /pixel145.278145.729145.000
      Width /pixel129.817131.833131.000
      Inclination /(°)5.9625.9166.000
      Center coordinates of 2nd rectangle(233.000,314.000)(232.308,313.049)(232.000,313.000)
      Length /pixel76.03879.72379.000
      Width /pixel60.37366.15965.000
      Inclination /(°)-29.620-29.144-29.000
      Center coordinates of 3rd rectangle(361.000,505.000)(359.962,505.074)(360.000,505.000)
      Length /pixel125.536129.721128.000
      Width /pixel73.17679.11978.000
      Inclination /(°)22.68022.50422.000
      Center coordinates of 4th rectangle(395.000,373.000)(394.437,373.050)(394,373)
      Length /pixel123.136142.962142.000
      Width /pixel111.945135.127133.000
      Inclination /(°)37.38034.48534.000
    Tools

    Get Citation

    Copy Citation Text

    Lu Lu, Jiong Yang, Jie Liang, Yulin Jiang. Fast and High-Precision Rectangle Detection Algorithm[J]. Laser & Optoelectronics Progress, 2020, 57(18): 181002

    Download Citation

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

    Category: Image Processing

    Received: Nov. 13, 2019

    Accepted: Feb. 10, 2020

    Published Online: Sep. 2, 2020

    The Author Email: Yang Jiong (jiong_yang@foxmail.com)

    DOI:10.3788/LOP57.181002

    Topics