• Laser & Optoelectronics Progress
  • Vol. 57, Issue 18, 181002 (2020)
Lu Lu, Jiong Yang*, Jie Liang, and Yulin Jiang
Author Affiliations
  • School of Mechanical Engineering, Zhengzhou University, Zhengzhou, Henan 450000, China
  • show less
    DOI: 10.3788/LOP57.181002 Cite this Article Set citation alerts
    Lu Lu, Jiong Yang, Jie Liang, Yulin Jiang. Fast and High-Precision Rectangle Detection Algorithm[J]. Laser & Optoelectronics Progress, 2020, 57(18): 181002 Copy Citation Text show less
    Rectangular diagram
    Fig. 1. Rectangular diagram
    Function image of similar slope
    Fig. 2. Function image of similar slope
    Function image of similar length
    Fig. 3. Function image of similar length
    Function image of orthogonality
    Fig. 4. Function image of orthogonality
    Function image of center position relationship
    Fig. 5. Function image of center position relationship
    Selection of ring regions
    Fig. 6. 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
    Fig. 7. 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
    Fig. 8. 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
    Fig. 9. 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
    Fig. 10. Detection results of rectangular part 3 by different algorithms. (a) Rectangular part 3; (b) Ref. [8]; (c) proposed algorithm
    ImageImagesize /(pixel×pixel)Timeconsuming /msNumber ofrectanglesobtained
    Synthetic image 1404×570166
    Synthetic image 2782×512928
    Table 1. Comparison of detection results of composite images
    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
    Table 2. Comparison of detection results of proposed algorithm and Ref. [2]
    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