CPC H04N 23/959 (2023.01) [H04N 13/239 (2018.05)] | 7 Claims |
1. A method for calculating a focusing parameter of a binocular stereo camera, comprising:
calculating a lower limit value and an upper limit value of a distance measurement range;
acquiring a depth-of-field range in accordance with the lower limit value and the upper limit value;
calculating a maximum value and a minimum value of an image distance gain corresponding to a real object distance within the depth-of-field range, and calculating an optimal image distance gain in accordance with the maximum value and the minimum value;
acquiring an optimal object distance of a focused target in accordance with the optimal image distance gain; and
calculating an optimal size of the focused target in accordance with the optimal object distance, wherein the step of calculating the optimal image distance gain in accordance with the maximum value and the minimum value according to ΔVbest=(ΔVmax−ΔVmin)/2+ΔVmin, wherein ΔVbest represents the optimal image distance gain, ΔVmax represents a maximum value of the image distance gain, and ΔVmin represents the minimum value of the image distance gain.
|