摘要 |
A displacement magnitude calculation device for a vehicle-mounted camera includes a reference value calculating unit 12 which divides, a region for measurement Ea into a plurality of measurement unit regions D0 to DN, calculates an average of a luminance value of pixels inside each measurement unit region as reference values re(0,t), re(1,t), . . . , re(N,1) of each measurement unit region, and sets a luminance vector VEC(t) indicating a distribution manner in a vertical direction of each reference value, and a camera displacement magnitude calculating unit 13 which calculates a degree of correlation between a luminance vector VEC(t1) at t1 and a luminance vector VEC(t2) at t2 by shifting the vertical luminance vector VEC(t2) in a vertical direction (y direction), and obtains the displacement magnitude of the camera 20 from t1 to t2, on the basis of a shift amount in which the degree of correlation became the highest.
|