An all terrain or straddle type vehicle is provided with an air intake system having an air intake pipe with reduced length thereby avoiding unnecessary vibration which may adversely affect the fuel-to-air ratio of the engine, thereby improving engine performance. Then, whole-range matching is performed on an image of a lower resolution to detect a two-dimensional displacement between the images. A second resistor is operatively coupled between the second node and a third node. To reduce manufacturing costs, the flange is molded onto the protective tube as one piece.