摘要 |
A stereo camera device detecting a distance to a subject includes two cameras and a calculation unit that calculates a distance to the subject based on the images acquired by the two cameras. The calculation unit includes an image processing unit that searches for corresponding points of the images acquired by the two cameras and calculates two parallaxes based on differences in positional coordinates of the corresponding points on the images, an offset value calculation unit that calculates parallax offset values across the images based on the two parallaxes calculated by the image processing unit at least at two time points, and a statistical processing unit that performs a statistical analysis on a distribution of the parallax offset values and determines an optimum value of the parallax offset values, the optimum value being used as a correction parameter. |