Research Article

Monocular Vision Ranging and Camera Focal Length Calibration

Algorithm 1

Error compensation.
Set
 Repeat
t = the number of greater than the training threshold in the training set,
 Repeat
  
 Until of all data in the training set is less than the threshold,
 Utilizing the first-order linear regression method to obtain the regression expression like:
  
 Until t = 0