Consequently, according to the formula (6), when Z is small, i.e. a distance between one's own vehicle and the overtaking vehicle 200 traveling the same lane or the adjacent lane is short, or when a is large, i.e. the difference in velocity between one's own vehicle and the overtaking vehicle 200 is large, an x-component of the optical flow becomes large.