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

    In order to achieve accurate target ranging of weak or non surface texture features using a monocular camera, an improved defocused image ranging algorithm based on preserving edge spectral information is presented. By comparing two classical defocal ranging theories with Fourier transform and Laplace transform as the foundational principals of calculation, a corresponding definition evaluation function is constructed. We select the method based on the spectrum definition function with better sensitivity, and select the calculation range of the frequency domain by retaining the information on the target edge. To verify the feasibility of the algorithm, 6 sets of different duck egg samples are used to obtain scattered focus images of different apertures and distances, and the improved algorithm was used to solve the distance of the duck eggs from the camera lens. The experimental results show that the improved algorithm based on the edge spectrum preservation has a good ranging effect with a correlation coefficient of 0.986 and Root Mean Square Error (RMSE) of 11.39 mm. It is found that the range ability can be effectively improved after the image rotation processing of the duck egg image taken at an oblique angle, with the RMSE is reduced from 11.39 mm to 8.76 mm, the average relative error is reduced from 2.85% to 2.28% and the correlation coefficient reaches 0.99. The proposed algorithm fundamentally meets the requirements of stability and high accuracy in ranging targets with weak or non surface texture features.

    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