Chinese Optics, Volume. 16, Issue 3, 627(2023)

An improved algorithm for monocular camera edge spectrum based ranging by defocused images

Deng-fei JIE1,2、*, Hao WANG1, Hui-fang LV1, Bo-tao TIAN1, and Zhan-xiang ZHANG1
Author Affiliations
  • 1College of Mechanical and Electrical Engineering, Fujian Agriculture and Forestry University, Fuzhou 350002, China
  • 2Fujian Key Laboratory of Agricultural Information Sensoring Technology, Fuzhou 350002, China
  • show less
    Figures & Tables(17)
    Schematic diagram of camera calibration
    Experimental samples of duck eggs
    Images of duck eggs with different definitions
    Sharpness changes based on (a) the Laplacian operator and (b) spectrum
    (a) and (e) are egg images, (b) and (f) are original spectral images, (c) and (g) are frequency-intercepted spectral images, (d) and (h) are time-domain images corresponding to the spectral images after frequency interception
    (a) The definition change curve after the frequency interception; (b) the change of original definition
    The flow chart of ranging algorithm based on edge retaining defocus image
    The correlations between observed distance and calculated distance
    The process of image rotation. (a) Original image; (b) rotated image
    The correlation between observed distance and calculated distance for oblique duck eggs after rotation treatment
    Clarity change of group 10 of egg No. 4
    Relationship between natural logarithmic clarity and object distance of egg No. 4
    The relative error of the object distance from fitting model
    • Table 1. The results of observed distance and calculated distance

      View table
      View in Article

      Table 1. The results of observed distance and calculated distance

      序号鸭蛋特征最大误差 (mm) 均方根误差 (mm) 平均相对 误差(%)
      1绿壳、竖放10.906.591.63
      2白壳、竖放16.6010.222.87
      3白壳、竖放16.9910.652.98
      4白壳、横放13.928.302.24
      5白壳、斜放29.4416.934.31
      6绿壳、斜放24.7512.733.08
      总计29.4411.392.85
    • Table 2. The ranging results before and after image rotating

      View table
      View in Article

      Table 2. The ranging results before and after image rotating

      序号处理方式最大误差 (mm) 均方根误差 (mm) 平均相对 误差(%)
      5原始图像29.4416.934.31
      图像旋转后13.558.722.25
      6原始图像24.7512.733.08
      图像旋转后14.825.931.73
      总计原始图像29.4411.392.85
      图像旋转后16.998.762.28
    • Table 3. The results of fitting model

      View table
      View in Article

      Table 3. The results of fitting model

      序号实际距离/mm计算距离/mm误差/mm相对误差/%
      1250246.82−3.18−1.27
      2270273.413.411.26
      3290285.12−4.88−1.68
      4310310.620.620.20
      5330332.272.270.69
      6350354.304.301.23
      7370372.322.320.63
      8390390.980.980.25
      9410409.52−0.48−0.12
      10430424.64−5.36−1.25
    • Table 4. Parameters of fitting model

      View table
      View in Article

      Table 4. Parameters of fitting model

      αβSSER2RMSE
      −91.97 (−96.21,−87.74)1349 (1302,1395)104.90.99683.62
    Tools

    Get Citation

    Copy Citation Text

    Deng-fei JIE, Hao WANG, Hui-fang LV, Bo-tao TIAN, Zhan-xiang ZHANG. An improved algorithm for monocular camera edge spectrum based ranging by defocused images[J]. Chinese Optics, 2023, 16(3): 627

    Download Citation

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

    Category: Original Article

    Received: Jul. 23, 2022

    Accepted: Dec. 24, 2022

    Published Online: May. 31, 2023

    The Author Email:

    DOI:10.37188/CO.2022-0171

    Topics